server/src/app/Libraries/Mappers/CocoonContentRdfMapper.php
changeset 122 b37fde30dd4a
parent 116 e60c55988ed4
child 145 49b75287c30b
equal deleted inserted replaced
121:08c99d286e7c 122:b37fde30dd4a
    97 
    97 
    98         $providedCHOResource = $outputGraph->resource($this->getResourceBaseId($res), 'edm:ProvidedCHO');
    98         $providedCHOResource = $outputGraph->resource($this->getResourceBaseId($res), 'edm:ProvidedCHO');
    99 
    99 
   100         // add identifier
   100         // add identifier
   101         $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res));
   101         $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res));
   102         $providedCHOResource->add('http://purl.org/dc/terms/identifier', $resId);
   102         $providedCHOResource->add('http://purl.org/dc/elements/1.1/identifier', $resId);
   103 
   103 
   104         $this->addCHOResourceProperties($providedCHOResource, $res, $outputGraph);
   104         $this->addCHOResourceProperties($providedCHOResource, $res, $outputGraph);
   105 
   105 
   106         $this->addDateProperties($providedCHOResource, $res, $outputGraph);
   106         $this->addDateProperties($providedCHOResource, $res, $outputGraph);
   107         $this->addSpatialProperties($providedCHOResource, $res, $outputGraph);
   107         $this->addSpatialProperties($providedCHOResource, $res, $outputGraph);