function ARC_rdfxml_parser::reify in Taxonomy import/export via XML 6
Same name and namespace in other branches
- 5.2 arc/ARC_rdfxml_parser.php \ARC_rdfxml_parser::reify()
- 5 arc/ARC_rdfxml_parser.php \ARC_rdfxml_parser::reify()
- 6.2 arc/ARC_rdfxml_parser.php \ARC_rdfxml_parser::reify()
2 calls to ARC_rdfxml_parser::reify()
File
- arc/
ARC_rdfxml_parser.php, line 299
Class
Code
function reify($statement, &$s, $p, $o) {
$this
->add_triple($statement, "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", array(
"type" => "uri",
"uri" => "http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement",
));
$this
->add_triple($statement, "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject", $s);
$this
->add_triple($statement, "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate", $p);
$this
->add_triple($statement, "http://www.w3.org/1999/02/22-rdf-syntax-ns#object", $o);
}