Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 667bd40ddf
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.429 kB
<?php
function triple($subject, $predicate, $object) {
return "<" . $subject . "> <" . $predicate . "> <" . $object . "> .\n";
}
function data_triple($subject, $predicate, $object) {
return "<" . $subject . "> <" . $predicate . "> \"" . $object . "\" .\n";
}
function typeddata_triple($subject, $predicate, $object, $type) {
return "<" . $subject . "> <" . $predicate . "> \"" . $object . "\"^^<" . $type . "> .\n";
}
?>
Jump to Line
Something went wrong with that request. Please try again.