Feature #318
Updated by Alexander Watzinger almost 10 years ago
Onsite documentation for CIDOC classes, properties, ...
e.g. with EasyRdf
http://www.easyrdf.org/docs/api/EasyRdf_Graph.html
<pre>
require 'vendor/autoload.php';
$graph = EasyRdf_Graph::newAndLoad("http://localhost/net/parser/cidoc.rdfs", 'rdfxml');
$array = $graph->toRdfPhp();
foreach ($array as $key => $value) {
if (strpos($key, 'E21_Person') !== false) {
$entity = str_replace('http://www.cidoc-crm.org/cidoc-crm/', '', $key);
echo $entity . "<br/>";
//var_dump($value);
}
}
</pre>