--- a/server/src/app/Libraries/Mappers/CocoonSoundRdfMapper.php Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/app/Libraries/Mappers/CocoonSoundRdfMapper.php Wed Jan 20 16:21:40 2016 +0100
@@ -89,7 +89,7 @@
}
/**
- * Build teh webresources
+ * Build the webresource
*/
protected function mapWebResources($res, $outputGraph) {
@@ -105,7 +105,7 @@
// build master webresources
$masterReprUrl = $res->get($this->inputGraph->resource('http://crdo.risc.cnrs.fr/schemas/master'));
if(! is_null($masterReprUrl)) {
- $masterWebResource = $outputGraph->resource($masterReprUrl, 'edm:WebResources');
+ $masterWebResource = $outputGraph->resource($masterReprUrl, 'edm:WebResource');
if(!is_null($extent)) {
$masterWebResource->addLiteral($outputGraph->resource('http://purl.org/dc/terms/extent'),$extent);
}
@@ -125,7 +125,7 @@
// build others
foreach($res->all($this->inputGraph->resource('http://purl.org/dc/terms/isFormatOf')) as $reprUrl) {
- $webResource = $outputGraph->resource($reprUrl, 'edm:WebResources');
+ $webResource = $outputGraph->resource($reprUrl, 'edm:WebResource');
if(!is_null($extent)) {
$webResource->addLiteral($outputGraph->resource('http://purl.org/dc/terms/extent'),$extent);
}