change edm:WebResources to edm:WebResources
authorymh <ymh.work@gmail.com>
Wed, 20 Jan 2016 16:21:40 +0100
changeset 111 af85c436048f
parent 110 8e5fcebb9018
child 112 7a542145832c
change edm:WebResources to edm:WebResources
server/src/app/Libraries/Mappers/CocoonSoundRdfMapper.php
server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php
server/src/app/Libraries/Mergers/CocoonSoundRdfMerger.php
server/src/app/Models/Document.php
server/src/tests/Controllers/DocumentListControllerTest.php
server/src/tests/Models/DocumentTest.php
server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php
server/src/tests/Repositories/DocumentRepositoryTest.php
server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php
server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php
server/src/tests/libraries/Mergers/CocoonSoundRdfMergerTest.php
--- 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);
             }
--- a/server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php	Wed Jan 20 16:21:40 2016 +0100
@@ -150,7 +150,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');
             $mimetype = Utils::getMimetype($reprUrl);
 
             $webResource->addLiteral('http://purl.org/dc/elements/1.1/format', Literal::create($mimetype, null, $outputGraph->resource('http://purl.org/dc/terms/IMT')));
--- a/server/src/app/Libraries/Mergers/CocoonSoundRdfMerger.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/app/Libraries/Mergers/CocoonSoundRdfMerger.php	Wed Jan 20 16:21:40 2016 +0100
@@ -12,7 +12,7 @@
 // @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
 // @prefix owl: <http://www.w3.org/2002/07/owl#> .
 //
-// <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ESLO1_ENT_019>
+// <http://corpusdelaparole.huma-num.fr/corpus/res/crdo-ESLO1_ENT_019>
 //   a ore:Aggregation ;
 //   edm:aggregatedCHO <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-ESLO1_ENT_019> ;
 //   edm:provider "Corpus de la Parole"@fr ;
@@ -63,14 +63,14 @@
 //   ] .
 //
 // <http://cocoon.huma-num.fr/data/eslo/masters/ESLO1_ENT_019.wav>
-//   a edm:WebResources ;
+//   a edm:WebResource ;
 //   dc:extent "PT0H47M16S" ;
 //   dc11:format "audio/x-wav"^^dc:IMT ;
 //   dc:created "1969-04-11"^^dc:W3CDTF ;
 //   dc:issued "2014-12-05T15:00:19+01:00"^^dc:W3CDTF .
 //
 // <http://cocoon.huma-num.fr/data/eslo/ESLO1_ENT_019_22km.wav>
-//   a edm:WebResources ;
+//   a edm:WebResource ;
 //   dc:extent "PT0H47M16S" ;
 //   dc11:format "audio/x-wav"^^dc:IMT ;
 //   edm:isDerivativeOf <http://cocoon.huma-num.fr/data/eslo/masters/ESLO1_ENT_019.wav> ;
@@ -78,7 +78,7 @@
 //   dc:issued "2014-12-05T15:00:19+01:00"^^dc:W3CDTF .
 //
 // <http://cocoon.huma-num.fr/data/eslo/ESLO1_ENT_019.mp3>
-//   a edm:WebResources ;
+//   a edm:WebResource ;
 //   dc:extent "PT0H47M16S" ;
 //   dc11:format "audio/mpeg"^^dc:IMT ;
 //   edm:isDerivativeOf <http://cocoon.huma-num.fr/data/eslo/masters/ESLO1_ENT_019.wav> ;
@@ -91,7 +91,7 @@
         return [
             'http://www.openarchives.org/ore/terms/Aggregation' => 'mergeOreAggregation',
             'http://www.europeana.eu/schemas/edm/ProvidedCHO' => 'mergeEdmProvidedCHO',
-            'http://www.europeana.eu/schemas/edm/WebResources' => 'mergeEdmWebResources',
+            'http://www.europeana.eu/schemas/edm/WebResource' => 'mergeEdmWebResources',
             'http://www.europeana.eu/schemas/edm/Place' => 'mergeDcSpatialBlankNode'
         ];
     }
--- a/server/src/app/Models/Document.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/app/Models/Document.php	Wed Jan 20 16:21:40 2016 +0100
@@ -176,7 +176,7 @@
             $master = $this->get('<http://www.europeana.eu/schemas/edm/isShownBy>');
             $masterUrl = is_null($master)?null:$master->getUri();
 
-            foreach($this->graph->allOfType("<http://www.europeana.eu/schemas/edm/WebResources>") as $webResource) {
+            foreach($this->graph->allOfType("<http://www.europeana.eu/schemas/edm/WebResource>") as $webResource) {
                 $extent = $webResource->getLiteral("<http://purl.org/dc/terms/extent>");
                 $extent = is_null($extent)?null:$extent->getValue();
                 $extent_ms = Utils::iso8601IntervalToMillis($extent);
--- a/server/src/tests/Controllers/DocumentListControllerTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/Controllers/DocumentListControllerTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -24,7 +24,7 @@
     	<http://www.w3.org/2003/01/geo/wgs84_pos#lat> "-15.77972"^^xsd:float ;
     	<http://www.w3.org/2003/01/geo/wgs84_pos#long> "-47.92972"^^xsd:float .
 
-    <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-BOD092_SOUND> a <http://www.openarchives.org/ore/terms/Aggregation> ;
+    <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-BOD092_SOUND> a <http://www.openarchives.org/ore/terms/Aggregation> ;
     	<http://www.europeana.eu/schemas/edm/aggregatedCHO> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-BOD092_SOUND> ;
     	<http://www.europeana.eu/schemas/edm/dataProvider> "Corpus de la Parole"@fr ;
     	<http://www.europeana.eu/schemas/edm/hasView> <http://cocoon.huma-num.fr/data/boutet/BOD092_low.mp4> , <http://cocoon.huma-num.fr/data/boutet/BOD092_low.ogg> ;
@@ -33,20 +33,20 @@
     	<http://www.europeana.eu/schemas/edm/provider> "Corpus de la Parole"@fr ;
     	<http://www.europeana.eu/schemas/edm/rights> <http://creativecommons.org/licenses/by-nc-nd/4.0/> .
 
-    <http://cocoon.huma-num.fr/data/archi/masters/350801.mp4> a <http://www.europeana.eu/schemas/edm/WebResources> ;
+    <http://cocoon.huma-num.fr/data/archi/masters/350801.mp4> a <http://www.europeana.eu/schemas/edm/WebResource> ;
     	<http://purl.org/dc/elements/1.1/format> "video/mp4"^^<http://purl.org/dc/terms/IMT> ;
     	<http://purl.org/dc/terms/created> "2001-03"^^<http://purl.org/dc/terms/W3CDTF> ;
     	<http://purl.org/dc/terms/extent> "PT00H01M54S" ;
     	<http://purl.org/dc/terms/issued> "2013-06-04T22:39:21+02:00"^^<http://purl.org/dc/terms/W3CDTF> .
 
-    <http://cocoon.huma-num.fr/data/boutet/BOD092_low.mp4> a <http://www.europeana.eu/schemas/edm/WebResources> ;
+    <http://cocoon.huma-num.fr/data/boutet/BOD092_low.mp4> a <http://www.europeana.eu/schemas/edm/WebResource> ;
     	<http://purl.org/dc/elements/1.1/format> "video/mp4"^^<http://purl.org/dc/terms/IMT> ;
     	<http://purl.org/dc/terms/created> "2001-03"^^<http://purl.org/dc/terms/W3CDTF> ;
     	<http://purl.org/dc/terms/extent> "PT00H01M54S" ;
     	<http://purl.org/dc/terms/issued> "2013-06-04T22:39:21+02:00"^^<http://purl.org/dc/terms/W3CDTF> ;
     	<http://www.europeana.eu/schemas/edm/isDerivativeOf> <http://cocoon.huma-num.fr/data/archi/masters/350801.mp4> .
 
-    <http://cocoon.huma-num.fr/data/boutet/BOD092_low.ogg> a <http://www.europeana.eu/schemas/edm/WebResources> ;
+    <http://cocoon.huma-num.fr/data/boutet/BOD092_low.ogg> a <http://www.europeana.eu/schemas/edm/WebResource> ;
     	<http://purl.org/dc/elements/1.1/format> "video/ogg"^^<http://purl.org/dc/terms/IMT> ;
     	<http://purl.org/dc/terms/created> "2001-03"^^<http://purl.org/dc/terms/W3CDTF> ;
     	<http://purl.org/dc/terms/extent> "PT00H01M54S" ;
--- a/server/src/tests/Models/DocumentTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/Models/DocumentTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -19,7 +19,7 @@
     @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
     @prefix owl: <http://www.w3.org/2002/07/owl#> .
 
-    <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-CFPP2000_35_SOUND>
+    <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-CFPP2000_35_SOUND>
       a ore:Aggregation ;
       edm:aggregatedCHO <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-CFPP2000_35_SOUND> ;
       edm:provider "Corpus de la Parole"@fr ;
@@ -60,14 +60,14 @@
       ] .
 
     <http://cocoon.huma-num.fr/data/archi/masters/372593.wav>
-      a edm:WebResources ;
+      a edm:WebResource ;
       dc:extent "PT48M26S" ;
       dc11:format "audio/x-wav"^^dc:IMT ;
       dc:created "2010-11-17"^^dc:W3CDTF ;
       dc:issued "2013-10-12T14:35:57+02:00"^^dc:W3CDTF .
 
     <http://cocoon.huma-num.fr/data/cfpp2000/Ozgur_Kilic_H_32_alii_3e-2.wav>
-      a edm:WebResources ;
+      a edm:WebResource ;
       dc:extent "PT48M26S" ;
       dc11:format "audio/x-wav"^^dc:IMT ;
       edm:isDerivativeOf <http://cocoon.huma-num.fr/data/archi/masters/372593.wav> ;
@@ -75,7 +75,7 @@
       dc:issued "2013-10-12T14:35:57+02:00"^^dc:W3CDTF .
 
     <http://cocoon.huma-num.fr/data/cfpp2000/Ozgur_Kilic_H_32_alii_3e-2.mp3>
-      a edm:WebResources ;
+      a edm:WebResource ;
       dc:extent "PT48M26S" ;
       dc11:format "audio/mpeg"^^dc:IMT ;
       edm:isDerivativeOf <http://cocoon.huma-num.fr/data/archi/masters/372593.wav> ;
@@ -83,13 +83,13 @@
       dc:issued "2013-10-12T14:35:57+02:00"^^dc:W3CDTF .
 
     <http://cocoon.huma-num.fr/exist/crdo/cfpp2000/fra/Ozgur_Kilic_H_32_alii_3e-2.xml>
-        a edm:WebResources ;
+        a edm:WebResource ;
         dc11:format "application/xml"^^dc:IMT ;
         dc:created "2010-11-17"^^dc:W3CDTF ;
         dc:issued "2013-11-04T22:20:07+01:00"^^dc:W3CDTF .
 
     <http://cocoon.huma-num.fr/exist/crdo/cfpp2000/fra/Ozgur_Kilic_H_32_alii_3e-2.xhtml>
-        a edm:WebResources ;
+        a edm:WebResource ;
         dc11:format "application/xhtml+xml"^^dc:IMT ;
         dc:created "2010-11-17"^^dc:W3CDTF ;
         dc:issued "2013-11-04T22:20:07+01:00"^^dc:W3CDTF .
--- a/server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/Repositories/DocumentRepositoryIntegrationTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -45,7 +45,7 @@
     	owl:sameAs <http://sws.geonames.org/3038033/> ;
     	<http://www.w3.org/2004/02/skos/core#note> "northlimit=47.431892250000033; southlimit=49.053971250000046;westlimit=6.846186050000028; eastlimit=8.232571550000074;"^^<http://purl.org/dc/terms/Box> , "FR"^^<http://purl.org/dc/terms/ISO3166> , "France, Alsace"@fr .
 
-    <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ALA_738> a <http://www.openarchives.org/ore/terms/Aggregation> ;
+    <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ALA_738> a <http://www.openarchives.org/ore/terms/Aggregation> ;
     	<http://www.europeana.eu/schemas/edm/aggregatedCHO> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-ALA_738> ;
     	<http://www.europeana.eu/schemas/edm/dataProvider> "Atlas linguistiques, cultures et parlers régionaux de France" ;
     	<http://www.europeana.eu/schemas/edm/hasView> <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> , <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> ;
@@ -54,20 +54,20 @@
     	<http://www.europeana.eu/schemas/edm/provider> "Corpus de la Parole"@fr ;
     	<http://www.europeana.eu/schemas/edm/rights> <http://creativecommons.org/licenses/by-nc-nd/4.0/> .
 
-    <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> a <http://www.europeana.eu/schemas/edm/WebResources> ;
+    <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> a <http://www.europeana.eu/schemas/edm/WebResource> ;
     	<http://purl.org/dc/elements/1.1/format> "audio/mpeg"^^<http://purl.org/dc/terms/IMT> ;
     	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
     	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
     	<http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
     	<http://www.europeana.eu/schemas/edm/isDerivativeOf> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> .
 
-    <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> a <http://www.europeana.eu/schemas/edm/WebResources> ;
+    <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> a <http://www.europeana.eu/schemas/edm/WebResource> ;
     	<http://purl.org/dc/elements/1.1/format> "audio/x-wav"^^<http://purl.org/dc/terms/IMT> ;
     	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
     	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
     	<http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> .
 
-    <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> a <http://www.europeana.eu/schemas/edm/WebResources> ;
+    <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> a <http://www.europeana.eu/schemas/edm/WebResource> ;
     	<http://purl.org/dc/elements/1.1/format> "audio/x-wav"^^<http://purl.org/dc/terms/IMT> ;
     	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
     	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
--- a/server/src/tests/Repositories/DocumentRepositoryTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/Repositories/DocumentRepositoryTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -19,57 +19,57 @@
     @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
 
     _:genid-2267740936ad4d04a567e6787732f0dd-genid1 a <http://www.europeana.eu/schemas/edm/Place> ;
-    	owl:sameAs <http://sws.geonames.org/3038033/> ;
-    	<http://www.w3.org/2004/02/skos/core#note> "northlimit=47.431892250000033; southlimit=49.053971250000046;westlimit=6.846186050000028; eastlimit=8.232571550000074;"^^<http://purl.org/dc/terms/Box> , "FR"^^<http://purl.org/dc/terms/ISO3166> , "France, Alsace"@fr .
+        owl:sameAs <http://sws.geonames.org/3038033/> ;
+        <http://www.w3.org/2004/02/skos/core#note> "northlimit=47.431892250000033; southlimit=49.053971250000046;westlimit=6.846186050000028; eastlimit=8.232571550000074;"^^<http://purl.org/dc/terms/Box> , "FR"^^<http://purl.org/dc/terms/ISO3166> , "France, Alsace"@fr .
 
-    <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ALA_738> a <http://www.openarchives.org/ore/terms/Aggregation> ;
-    	<http://www.europeana.eu/schemas/edm/aggregatedCHO> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-ALA_738> ;
-    	<http://www.europeana.eu/schemas/edm/dataProvider> "Atlas linguistiques, cultures et parlers régionaux de France" ;
-    	<http://www.europeana.eu/schemas/edm/hasView> <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> , <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> ;
-    	<http://www.europeana.eu/schemas/edm/isShownAt> <http://cocoon.huma-num.fr/exist/crdo/meta/crdo-ALA_738> ;
-    	<http://www.europeana.eu/schemas/edm/isShownBy> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> ;
-    	<http://www.europeana.eu/schemas/edm/provider> "Corpus de la Parole"@fr ;
-    	<http://www.europeana.eu/schemas/edm/rights> <http://creativecommons.org/licenses/by-nc-nd/4.0/> .
+    <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-ALA_738> a <http://www.openarchives.org/ore/terms/Aggregation> ;
+        <http://www.europeana.eu/schemas/edm/aggregatedCHO> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-ALA_738> ;
+        <http://www.europeana.eu/schemas/edm/dataProvider> "Atlas linguistiques, cultures et parlers régionaux de France" ;
+        <http://www.europeana.eu/schemas/edm/hasView> <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> , <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> ;
+        <http://www.europeana.eu/schemas/edm/isShownAt> <http://cocoon.huma-num.fr/exist/crdo/meta/crdo-ALA_738> ;
+        <http://www.europeana.eu/schemas/edm/isShownBy> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> ;
+        <http://www.europeana.eu/schemas/edm/provider> "Corpus de la Parole"@fr ;
+        <http://www.europeana.eu/schemas/edm/rights> <http://creativecommons.org/licenses/by-nc-nd/4.0/> .
 
-    <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> a <http://www.europeana.eu/schemas/edm/WebResources> ;
-    	<http://purl.org/dc/elements/1.1/format> "audio/mpeg"^^<http://purl.org/dc/terms/IMT> ;
-    	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
-    	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
-    	<http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
-    	<http://www.europeana.eu/schemas/edm/isDerivativeOf> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> .
+    <http://cocoon.huma-num.fr/data/ala/ALA_738.mp3> a <http://www.europeana.eu/schemas/edm/WebResource> ;
+        <http://purl.org/dc/elements/1.1/format> "audio/mpeg"^^<http://purl.org/dc/terms/IMT> ;
+        <http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
+        <http://purl.org/dc/terms/extent> "PT01H11M29S" ;
+        <http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
+        <http://www.europeana.eu/schemas/edm/isDerivativeOf> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> .
 
-    <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> a <http://www.europeana.eu/schemas/edm/WebResources> ;
-    	<http://purl.org/dc/elements/1.1/format> "audio/x-wav"^^<http://purl.org/dc/terms/IMT> ;
-    	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
-    	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
-    	<http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> .
+    <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> a <http://www.europeana.eu/schemas/edm/WebResource> ;
+        <http://purl.org/dc/elements/1.1/format> "audio/x-wav"^^<http://purl.org/dc/terms/IMT> ;
+        <http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
+        <http://purl.org/dc/terms/extent> "PT01H11M29S" ;
+        <http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> .
 
-    <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> a <http://www.europeana.eu/schemas/edm/WebResources> ;
-    	<http://purl.org/dc/elements/1.1/format> "audio/x-wav"^^<http://purl.org/dc/terms/IMT> ;
-    	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
-    	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
-    	<http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
-    	<http://www.europeana.eu/schemas/edm/isDerivativeOf> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> .
+    <http://cocoon.huma-num.fr/data/ala/ALA_738_22km.wav> a <http://www.europeana.eu/schemas/edm/WebResource> ;
+        <http://purl.org/dc/elements/1.1/format> "audio/x-wav"^^<http://purl.org/dc/terms/IMT> ;
+        <http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
+        <http://purl.org/dc/terms/extent> "PT01H11M29S" ;
+        <http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
+        <http://www.europeana.eu/schemas/edm/isDerivativeOf> <http://cocoon.huma-num.fr/data/ala/masters/ALA_738.wav> .
 
     <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-ALA_738> a <http://www.europeana.eu/schemas/edm/ProvidedCHO> ;
-    	<http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
-    	<http://purl.org/dc/terms/extent> "PT01H11M29S" ;
-    	<http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
-    	<http://purl.org/dc/elements/1.1/contributor> <http://viaf.org/viaf/61542329> , <http://viaf.org/viaf/9122216> ;
-    	<http://purl.org/dc/elements/1.1/description> "Extrait des enquêtes dialectologiques en vue de constituer un atlas linguistique de l'Alsace."@fr ;
-    	<http://purl.org/dc/elements/1.1/language> <http://lexvo.org/id/iso639-3/gsw> ;
-    	<http://purl.org/dc/elements/1.1/publisher> "Atlas linguistiques, cultures et parlers régionaux de France" ;
-    	<http://purl.org/dc/elements/1.1/rights> "Copyright (c) Département de dialectologie alsacienne et mosellane de l'Université de Strasbourg" ;
-    	<http://purl.org/dc/elements/1.1/subject> <http://lexvo.org/id/iso639-3/gsw> , <http://ark.bnf.fr/ark:/12148/cb11931472p> , <http://ark.bnf.fr/ark:/12148/cb11931564b> , <http://ark.bnf.fr/ark:/12148/cb11932194d> , <http://ark.bnf.fr/ark:/12148/cb11933029x> , <http://ark.bnf.fr/ark:/12148/cb11933281k> , <http://ark.bnf.fr/ark:/12148/cb11934740m> , <http://ark.bnf.fr/ark:/12148/cb11935375d> , <http://ark.bnf.fr/ark:/12148/cb11935986q> , <http://ark.bnf.fr/ark:/12148/cb11936549n> , <http://ark.bnf.fr/ark:/12148/cb11937931x> , <http://ark.bnf.fr/ark:/12148/cb119392962> , <http://ark.bnf.fr/ark:/12148/cb119458243> , <http://ark.bnf.fr/ark:/12148/cb11946662b> , <http://ark.bnf.fr/ark:/12148/cb11947332t> , <http://ark.bnf.fr/ark:/12148/cb119481497> , <http://ark.bnf.fr/ark:/12148/cb119591726> , <http://ark.bnf.fr/ark:/12148/cb119756721> , <http://ark.bnf.fr/ark:/12148/cb119757609> , <http://ark.bnf.fr/ark:/12148/cb11975806s> , <http://ark.bnf.fr/ark:/12148/cb119759527> , <http://ark.bnf.fr/ark:/12148/cb12032030g> , <http://ark.bnf.fr/ark:/12148/cb12042429k> , <http://ark.bnf.fr/ark:/12148/cb12099148r> , <http://ark.bnf.fr/ark:/12148/cb12148936v> , <http://ark.bnf.fr/ark:/12148/cb12289036m> , <http://ark.bnf.fr/ark:/12148/cb13318335q> , <http://ark.bnf.fr/ark:/12148/cb133183540> , <http://ark.bnf.fr/ark:/12148/cb13318415c> , <http://ark.bnf.fr/ark:/12148/cb13318491g> , "anthropological_linguistics"^^<http://www.language-archives.org/OLAC/1.1/linguistic-field> , "lexicography"^^<http://www.language-archives.org/OLAC/1.1/linguistic-field> , "phonetics"^^<http://www.language-archives.org/OLAC/1.1/linguistic-field> ;
-    	<http://purl.org/dc/elements/1.1/title> "Atlas Linguistique et ethnographique de l'Alsace - Enquetes sur la conscience linguistique - ALA_738"@fr ;
-    	<http://purl.org/dc/elements/1.1/type> <http://ark.bnf.fr/ark:/12148/cb11932135w> , <http://ark.bnf.fr/ark:/12148/cb12481481z> , <http://purl.org/dc/dcmitype/Sound> , "dialogue"^^<http://www.language-archives.org/OLAC/1.1/discourse-type> , "primary_text"^^<http://www.language-archives.org/OLAC/1.1/linguistic-type> ;
-    	<http://purl.org/dc/terms/accessRights> "Freely available for non-commercial use" ;
-    	<http://purl.org/dc/terms/available> "2004-07-03"^^<http://purl.org/dc/terms/W3CDTF> ;
-    	<http://purl.org/dc/terms/isPartOf> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-COLLECTION_ALA_CL> , <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-COLLECTION_LANGUESDEFRANCE> ;
-    	<http://purl.org/dc/terms/license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> ;
-    	<http://purl.org/dc/terms/spatial> _:genid-2267740936ad4d04a567e6787732f0dd-genid1 ;
-    	<http://www.language-archives.org/OLAC/1.1/depositor> <http://viaf.org/viaf/9122216> ;
-    	<http://www.language-archives.org/OLAC/1.1/interviewer> <http://viaf.org/viaf/61542329> , <http://viaf.org/viaf/9122216> .
+        <http://purl.org/dc/terms/created> "1996"^^<http://purl.org/dc/terms/Period> ;
+        <http://purl.org/dc/terms/extent> "PT01H11M29S" ;
+        <http://purl.org/dc/terms/issued> "2014-11-10T14:27:08+01:00"^^<http://purl.org/dc/terms/W3CDTF> ;
+        <http://purl.org/dc/elements/1.1/contributor> <http://viaf.org/viaf/61542329> , <http://viaf.org/viaf/9122216> ;
+        <http://purl.org/dc/elements/1.1/description> "Extrait des enquêtes dialectologiques en vue de constituer un atlas linguistique de l'Alsace."@fr ;
+        <http://purl.org/dc/elements/1.1/language> <http://lexvo.org/id/iso639-3/gsw> ;
+        <http://purl.org/dc/elements/1.1/publisher> "Atlas linguistiques, cultures et parlers régionaux de France" ;
+        <http://purl.org/dc/elements/1.1/rights> "Copyright (c) Département de dialectologie alsacienne et mosellane de l'Université de Strasbourg" ;
+        <http://purl.org/dc/elements/1.1/subject> <http://lexvo.org/id/iso639-3/gsw> , <http://ark.bnf.fr/ark:/12148/cb11931472p> , <http://ark.bnf.fr/ark:/12148/cb11931564b> , <http://ark.bnf.fr/ark:/12148/cb11932194d> , <http://ark.bnf.fr/ark:/12148/cb11933029x> , <http://ark.bnf.fr/ark:/12148/cb11933281k> , <http://ark.bnf.fr/ark:/12148/cb11934740m> , <http://ark.bnf.fr/ark:/12148/cb11935375d> , <http://ark.bnf.fr/ark:/12148/cb11935986q> , <http://ark.bnf.fr/ark:/12148/cb11936549n> , <http://ark.bnf.fr/ark:/12148/cb11937931x> , <http://ark.bnf.fr/ark:/12148/cb119392962> , <http://ark.bnf.fr/ark:/12148/cb119458243> , <http://ark.bnf.fr/ark:/12148/cb11946662b> , <http://ark.bnf.fr/ark:/12148/cb11947332t> , <http://ark.bnf.fr/ark:/12148/cb119481497> , <http://ark.bnf.fr/ark:/12148/cb119591726> , <http://ark.bnf.fr/ark:/12148/cb119756721> , <http://ark.bnf.fr/ark:/12148/cb119757609> , <http://ark.bnf.fr/ark:/12148/cb11975806s> , <http://ark.bnf.fr/ark:/12148/cb119759527> , <http://ark.bnf.fr/ark:/12148/cb12032030g> , <http://ark.bnf.fr/ark:/12148/cb12042429k> , <http://ark.bnf.fr/ark:/12148/cb12099148r> , <http://ark.bnf.fr/ark:/12148/cb12148936v> , <http://ark.bnf.fr/ark:/12148/cb12289036m> , <http://ark.bnf.fr/ark:/12148/cb13318335q> , <http://ark.bnf.fr/ark:/12148/cb133183540> , <http://ark.bnf.fr/ark:/12148/cb13318415c> , <http://ark.bnf.fr/ark:/12148/cb13318491g> , "anthropological_linguistics"^^<http://www.language-archives.org/OLAC/1.1/linguistic-field> , "lexicography"^^<http://www.language-archives.org/OLAC/1.1/linguistic-field> , "phonetics"^^<http://www.language-archives.org/OLAC/1.1/linguistic-field> ;
+        <http://purl.org/dc/elements/1.1/title> "Atlas Linguistique et ethnographique de l'Alsace - Enquetes sur la conscience linguistique - ALA_738"@fr ;
+        <http://purl.org/dc/elements/1.1/type> <http://ark.bnf.fr/ark:/12148/cb11932135w> , <http://ark.bnf.fr/ark:/12148/cb12481481z> , <http://purl.org/dc/dcmitype/Sound> , "dialogue"^^<http://www.language-archives.org/OLAC/1.1/discourse-type> , "primary_text"^^<http://www.language-archives.org/OLAC/1.1/linguistic-type> ;
+        <http://purl.org/dc/terms/accessRights> "Freely available for non-commercial use" ;
+        <http://purl.org/dc/terms/available> "2004-07-03"^^<http://purl.org/dc/terms/W3CDTF> ;
+        <http://purl.org/dc/terms/isPartOf> <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-COLLECTION_ALA_CL> , <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-COLLECTION_LANGUESDEFRANCE> ;
+        <http://purl.org/dc/terms/license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> ;
+        <http://purl.org/dc/terms/spatial> _:genid-2267740936ad4d04a567e6787732f0dd-genid1 ;
+        <http://www.language-archives.org/OLAC/1.1/depositor> <http://viaf.org/viaf/9122216> ;
+        <http://www.language-archives.org/OLAC/1.1/interviewer> <http://viaf.org/viaf/61542329> , <http://viaf.org/viaf/9122216> .
 EOT;
 
     function __construct(string $name = null) {
--- a/server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/libraries/Mappers/CocoonSoundRdfMapperTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -434,9 +434,9 @@
      */
     public function testWebResources() {
 
-        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResources');
+        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource');
 
-        $this->assertCount(3, $resources, "Must found three webresources");
+        $this->assertCount(3, $resources, "Must found three webresource");
 
         $aggregation = $this->resGraphes['BASE']->resource(CocoonSoundRdfMapperTest::TEST_GRAPH_URI);
 
@@ -473,7 +473,7 @@
      */
     public function testWebResourcesDate() {
 
-        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResources');
+        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource');
 
         foreach ($resources as $wres) {
             $this->assertFalse($wres->hasProperty("http://purl.org/dc/terms/available"),"web resource must not have http://purl.org/dc/terms/available");
--- a/server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/libraries/Mappers/CocoonTextRdfMapperTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -158,9 +158,9 @@
       */
     public function testWebResources() {
 
-        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResources');
+        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource');
 
-        $this->assertCount(2, $resources, "Must found three webresources");
+        $this->assertCount(2, $resources, "Must found three webresource");
 
         $aggregation = $this->resGraphes['BASE']->resource(CocoonTextRdfMapperTest::TEST_GRAPH_URI);
 
@@ -180,7 +180,7 @@
       */
     public function testWebResourcesDate() {
 
-        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResources');
+        $resources = $this->resGraphes['BASE']->allOfType('edm:WebResource');
 
         foreach ($resources as $wres) {
             $this->assertFalse($wres->hasProperty("http://purl.org/dc/terms/available"),"web resource must not have http://purl.org/dc/terms/available");
--- a/server/src/tests/libraries/Mergers/CocoonSoundRdfMergerTest.php	Wed Jan 20 09:56:36 2016 +0100
+++ b/server/src/tests/libraries/Mergers/CocoonSoundRdfMergerTest.php	Wed Jan 20 16:21:40 2016 +0100
@@ -26,7 +26,7 @@
         @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
         @prefix owl: <http://www.w3.org/2002/07/owl#> .
 
-        <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-CFPP2000_35_SOUND>
+        <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-CFPP2000_35_SOUND>
           a ore:Aggregation ;
           edm:aggregatedCHO <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-CFPP2000_35_SOUND> ;
           edm:provider "Corpus de la Parole"@fr ;
@@ -67,14 +67,14 @@
           ] .
 
         <http://cocoon.huma-num.fr/data/archi/masters/372593.wav>
-          a edm:WebResources ;
+          a edm:WebResource ;
           dc:extent "PT48M26S" ;
           dc11:format "audio/x-wav"^^dc:IMT ;
           dc:created "2010-11-17"^^dc:W3CDTF ;
           dc:issued "2013-10-12T14:35:57+02:00"^^dc:W3CDTF .
 
         <http://cocoon.huma-num.fr/data/cfpp2000/Ozgur_Kilic_H_32_alii_3e-2.wav>
-          a edm:WebResources ;
+          a edm:WebResource ;
           dc:extent "PT48M26S" ;
           dc11:format "audio/x-wav"^^dc:IMT ;
           edm:isDerivativeOf <http://cocoon.huma-num.fr/data/archi/masters/372593.wav> ;
@@ -82,7 +82,7 @@
           dc:issued "2013-10-12T14:35:57+02:00"^^dc:W3CDTF .
 
         <http://cocoon.huma-num.fr/data/cfpp2000/Ozgur_Kilic_H_32_alii_3e-2.mp3>
-          a edm:WebResources ;
+          a edm:WebResource ;
           dc:extent "PT48M26S" ;
           dc11:format "audio/mpeg"^^dc:IMT ;
           edm:isDerivativeOf <http://cocoon.huma-num.fr/data/archi/masters/372593.wav> ;
@@ -101,7 +101,7 @@
         @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
         @prefix owl: <http://www.w3.org/2002/07/owl#> .
 
-        <http://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-CFPP2000_35_SOUND>
+        <###h#ttp://purl.org/poi/corpusdelaparole.huma-num.fr/crdo-CFPP2000_35_SOUND>
           a ore:Aggregation ;
           edm:aggregatedCHO <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-CFPP2000_35_SOUND> ;
           edm:provider "Corpus de la Parole"@fr ;
@@ -141,13 +141,13 @@
           ] .
 
         <http://cocoon.huma-num.fr/exist/crdo/cfpp2000/fra/Ozgur_Kilic_H_32_alii_3e-2.xml>
-          a edm:WebResources ;
+          a edm:WebResource ;
           dc11:format "application/xml"^^dc:IMT ;
           dc:created "2010-11-17"^^dc:W3CDTF ;
           dc:issued "2013-11-04T22:20:07+01:00"^^dc:W3CDTF .
 
         <http://cocoon.huma-num.fr/exist/crdo/cfpp2000/fra/Ozgur_Kilic_H_32_alii_3e-2.xhtml>
-          a edm:WebResources ;
+          a edm:WebResource ;
           dc11:format "application/xhtml+xml"^^dc:IMT ;
           dc:created "2010-11-17"^^dc:W3CDTF ;
           dc:issued "2013-11-04T22:20:07+01:00"^^dc:W3CDTF .
@@ -249,7 +249,7 @@
      * @return void
      */
     public function testWebResources() {
-        $webResList = $this->resGraph->allOfType('http://www.europeana.eu/schemas/edm/WebResources');
+        $webResList = $this->resGraph->allOfType('http://www.europeana.eu/schemas/edm/WebResource');
 
         $this->assertCount(5, $webResList, "Must have 5 webResource");
     }