We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dbbc1b8 + 0e19fd4 commit f4f8034Copy full SHA for f4f8034
index.php
@@ -120,7 +120,7 @@ public function get_rdf() {
120
121
122
// add a triple for a resource
123
- $this->graph->add_resource_triple($this->uri->get_thing_uri(1), RDF_TYPE, "foaf:Person");
+ $this->graph->add_resource_triple($this->uri->get_thing_uri(1), RDF_TYPE, FOAF_PREFIX."Person");
124
125
// add a triple for a literal
126
$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() {
156
$mySponge = new MySpecialSponge();
157
158
159
-?>
+?>
0 commit comments