equal
deleted
inserted
replaced
95 */ |
95 */ |
96 private function mapProvidedCHO($res, $outputGraph) { |
96 private function mapProvidedCHO($res, $outputGraph) { |
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 |
|
101 $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res)); |
|
102 $providedCHOResource->add('http://purl.org/dc/terms/identifier', $resId); |
|
103 |
100 $this->addCHOResourceProperties($providedCHOResource, $res, $outputGraph); |
104 $this->addCHOResourceProperties($providedCHOResource, $res, $outputGraph); |
101 |
105 |
102 $this->addDateProperties($providedCHOResource, $res, $outputGraph); |
106 $this->addDateProperties($providedCHOResource, $res, $outputGraph); |
103 $this->addSpatialProperties($providedCHOResource, $res, $outputGraph); |
107 $this->addSpatialProperties($providedCHOResource, $res, $outputGraph); |
104 |
108 |