EasyRdf_Namespace definition
EasyRdf_Namespace set('edm','▇▇▇▇://▇▇▇.▇▇▇▇▇▇▇▇▇.▇▇/schemas/edm/'); EasyRdf_Namespace::set('dm2e','▇▇▇▇://▇▇▇▇.▇▇▇▇.▇▇/schemas/dm2e/1.1/'); $this->nsDc = EasyRdf_Namespace::prefixOfUri('▇▇▇▇://▇▇▇▇.▇▇▇/dc/elements/1.1/'); $this->nsDct = EasyRdf_Namespace::prefixOfUri('▇▇▇▇://▇▇▇▇.▇▇▇/dc/terms/'); $this->nsSpar = EasyRdf_Namespace::prefixOfUri('▇▇▇▇://▇▇▇▇.▇▇▇/spar/pro/'); At this point we can extract relevant values from RDF triples, for example the following code looks up the dm2e:hasAnnotatableVersionAt property, which is used to link to a representation annotatable with Pundit. private function extractDm2eAnnotableFormatByDom() { $aggs = $this->dm2eGraph->resourcesMatching('edm:aggregatedCHO'); return $aggs[0]->get('dm2e:hasAnnotatableVersionAt'); }