92 $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res)); |
92 $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res)); |
93 $providedCHOResource->add('http://purl.org/dc/elements/1.1/identifier', $resId); |
93 $providedCHOResource->add('http://purl.org/dc/elements/1.1/identifier', $resId); |
94 |
94 |
95 $this->addCHOResourceProperties($providedCHOResource, $res, $outputGraph); |
95 $this->addCHOResourceProperties($providedCHOResource, $res, $outputGraph); |
96 |
96 |
97 $this->addDateProperties($providedCHOResource, $res, $outputGraph); |
97 $this->addProvidedCHODateProperties($providedCHOResource, $res, $outputGraph); |
98 $this->addSpatialProperties($providedCHOResource, $res, $outputGraph); |
98 $this->addSpatialProperties($providedCHOResource, $res, $outputGraph); |
99 |
99 |
|
100 } |
|
101 |
|
102 protected function addProvidedCHODateProperties($targetRes, $res, $outputGraph) { |
|
103 $this->addDateProperties($targetRes, $res, $outputGraph); |
100 } |
104 } |
101 |
105 |
102 protected function addResourceRightProperties($resource, $res) { |
106 protected function addResourceRightProperties($resource, $res) { |
103 $this->applyPropertiesToRes($res, $resource, [ |
107 $this->applyPropertiesToRes($res, $resource, [ |
104 ['http://purl.org/dc/elements/1.1/rights', null], |
108 ['http://purl.org/dc/elements/1.1/rights', null], |