Feature #318
Updated by Alexander Watzinger almost 10 years ago
Definitions for CIDOC classes, properties, ...
*To do*
- classes
- classes description
- classes sub and super
- properties
- properties description
- add script to application/install
*Info*
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>