Skip to content

Commit f4f8034

Browse files
committed
Merge branch 'master' of github.com:timhodson/Sponge2RDF
2 parents dbbc1b8 + 0e19fd4 commit f4f8034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function get_rdf() {
120120

121121

122122
// add a triple for a resource
123-
$this->graph->add_resource_triple($this->uri->get_thing_uri(1), RDF_TYPE, "foaf:Person");
123+
$this->graph->add_resource_triple($this->uri->get_thing_uri(1), RDF_TYPE, FOAF_PREFIX."Person");
124124

125125
// add a triple for a literal
126126
$this->graph->add_literal_triple($this->uri->get_thing_uri(1), FOAF_PREFIX."family_name", $data['surname']);
@@ -156,4 +156,4 @@ public function get_rdf() {
156156
$mySponge = new MySpecialSponge();
157157

158158

159-
?>
159+
?>

0 commit comments

Comments
 (0)