equal
deleted
inserted
replaced
120 edm:aggregatedCHO <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-UVE_MOCIKA_SOUND> ; |
120 edm:aggregatedCHO <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-UVE_MOCIKA_SOUND> ; |
121 edm:provider "Corpus de la Parole"@fr ; |
121 edm:provider "Corpus de la Parole"@fr ; |
122 edm:dataProvider "Laboratoire de langues et civilisations à tradition orale" ; |
122 edm:dataProvider "Laboratoire de langues et civilisations à tradition orale" ; |
123 edm:isShownAt <http://cocoon.huma-num.fr/exist/crdo/meta/crdo-UVE_MOCIKA_SOUND> ; |
123 edm:isShownAt <http://cocoon.huma-num.fr/exist/crdo/meta/crdo-UVE_MOCIKA_SOUND> ; |
124 edm:isShownBy <http://cocoon.huma-num.fr/data/archi/masters/144187.wav> ; |
124 edm:isShownBy <http://cocoon.huma-num.fr/data/archi/masters/144187.wav> ; |
125 edm:rights <http://creativecommons.org/licenses/by-nc-nd/4.0/> ; |
125 edm:rights <http://creativecommons.org/licenses/by-nc-sa/4.0/> ; |
126 edm:hasView <http://cocoon.huma-num.fr/data/archi/144187_MOCIKA_22km.wav>, <http://cocoon.huma-num.fr/data/archi/mp3/144187_MOCIKA_44k.mp3> . |
126 edm:hasView <http://cocoon.huma-num.fr/data/archi/144187_MOCIKA_22km.wav>, <http://cocoon.huma-num.fr/data/archi/mp3/144187_MOCIKA_44k.mp3> . |
127 |
127 |
128 <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-UVE_MOCIKA_SOUND> |
128 <http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-UVE_MOCIKA_SOUND> |
129 a edm:ProvidedCHO ; |
129 a edm:ProvidedCHO ; |
130 dc:identifier "crdo-UVE_MOCIKA_SOUND" ; |
130 dc:identifier "crdo-UVE_MOCIKA_SOUND" ; |
421 $this->assertNotEmpty($outputValuesStr, "we must found some values to test $prop"); |
421 $this->assertNotEmpty($outputValuesStr, "we must found some values to test $prop"); |
422 } |
422 } |
423 } |
423 } |
424 } |
424 } |
425 |
425 |
|
426 public function testRightDifferent() { |
|
427 $resGraph = $this->resGraph["SOUND_TEXT"]; |
|
428 |
|
429 $aggregationRes = $resGraph->get('ore:Aggregation', '^rdf:type'); |
|
430 |
|
431 $license = $aggregationRes->get('<http://www.europeana.eu/schemas/edm/rights>'); |
|
432 |
|
433 $this->assertNotNull($license, "The licence must not be null"); |
|
434 $this->assertInstanceOf("EasyRdf\Resource", $license, "Licence must be a resource"); |
|
435 $this->assertEquals(config('corpusparole.corpus_doc_default_cc_rights'), $license->getUri(), "License must be default licence"); |
|
436 } |
|
437 |
|
438 public function testRightSame() { |
|
439 $resGraph = $this->resGraph["SOUND_NO_MOD_TEXT"]; |
|
440 |
|
441 $aggregationRes = $resGraph->get('ore:Aggregation', '^rdf:type'); |
|
442 |
|
443 $license = $aggregationRes->get('<http://www.europeana.eu/schemas/edm/rights>'); |
|
444 |
|
445 $this->assertNotNull($license, "The licence must not be null"); |
|
446 $this->assertInstanceOf("EasyRdf\Resource", $license, "Licence must be a resource"); |
|
447 $this->assertEquals('http://creativecommons.org/licenses/by-nc-sa/4.0/', $license->getUri(), "License must be default licence"); |
|
448 } |
|
449 |
426 |
450 |
427 |
451 |
428 } |
452 } |