-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples for SkoHub shape, adjust test script #10
- Loading branch information
Showing
22 changed files
with
993 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
tests/invalid/skohub.shacl.ttl/16_c_scopeNote_no_language.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@base <http://w3id.org/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dct:description "Test Beschreibung"@de, "Test Description"@en ; | ||
dct:issued "2019-12-11" ; | ||
dct:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ; | ||
dct:license <http://creativecommons.org/licenses/by/4.0/> ; | ||
vann:preferredNamespaceUri "https://w3id.org/test" ; | ||
skos:hasTopConcept <c1> . | ||
|
||
<c1> a skos:Concept ; | ||
skos:prefLabel "Konzept 1"@de, "Concept 1"@en ; | ||
skos:altLabel "Alternativbezeichnung 1"@de, "Alternativbezeichnung 2"@de, "Alt Label 1"@en ; | ||
skos:hiddenLabel "Verstecktes Label 1"@de, "Verstecktes Label 2"@de ; | ||
skos:definition "Meine Definition"@de ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:scopeNote "Meine Scope Note" ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:relatedMatch <c4> ; | ||
skos:narrower <c2> ; | ||
skos:notation "1", "notation" ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:inScheme <> . | ||
|
||
<c3> a skos:Concept ; | ||
skos:prefLabel "Konzept 3"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<c4> a skos:Concept ; | ||
skos:prefLabel "Konzept 4"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<collection> a skos:Collection ; | ||
skos:prefLabel "Meine Collection"@de, "My Collection"@en ; | ||
skos:member <c1>, <c2> . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@base <http://w3id.org/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dct:description "Test Beschreibung"@de, "Test Description"@en ; | ||
dct:issued "2019-12-11" ; | ||
dct:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ; | ||
dct:license <http://creativecommons.org/licenses/by/4.0/> ; | ||
vann:preferredNamespaceUri "https://w3id.org/test" ; | ||
skos:hasTopConcept <c1> . | ||
|
||
<c1> a skos:Concept ; | ||
skos:prefLabel "Konzept 1"@de, "Concept 1"@en ; | ||
skos:altLabel "Alternativbezeichnung 1"@de, "Alternativbezeichnung 2"@de, "Alt Label 1"@en ; | ||
skos:hiddenLabel "Verstecktes Label 1"@de, "Verstecktes Label 2"@de ; | ||
skos:definition "Meine Definition"@de ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung" ; | ||
skos:relatedMatch <c4> ; | ||
skos:narrower <c2> ; | ||
skos:notation "1", "notation" ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:inScheme <> . | ||
|
||
<c3> a skos:Concept ; | ||
skos:prefLabel "Konzept 3"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<c4> a skos:Concept ; | ||
skos:prefLabel "Konzept 4"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<collection> a skos:Collection ; | ||
skos:prefLabel "Meine Collection"@de, "My Collection"@en ; | ||
skos:member <c1>, <c2> . | ||
|
48 changes: 48 additions & 0 deletions
48
tests/invalid/skohub.shacl.ttl/18_c_notation_no_string.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@base <http://w3id.org/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dct:description "Test Beschreibung"@de, "Test Description"@en ; | ||
dct:issued "2019-12-11" ; | ||
dct:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ; | ||
dct:license <http://creativecommons.org/licenses/by/4.0/> ; | ||
vann:preferredNamespaceUri "https://w3id.org/test" ; | ||
skos:hasTopConcept <c1> . | ||
|
||
<c1> a skos:Concept ; | ||
skos:prefLabel "Konzept 1"@de, "Concept 1"@en ; | ||
skos:altLabel "Alternativbezeichnung 1"@de, "Alternativbezeichnung 2"@de, "Alt Label 1"@en ; | ||
skos:hiddenLabel "Verstecktes Label 1"@de, "Verstecktes Label 2"@de ; | ||
skos:definition "Meine Definition"@de ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:relatedMatch <c4> ; | ||
skos:narrower <c2> ; | ||
skos:notation "1", "notation"@de ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:inScheme <> . | ||
|
||
<c3> a skos:Concept ; | ||
skos:prefLabel "Konzept 3"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<c4> a skos:Concept ; | ||
skos:prefLabel "Konzept 4"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<collection> a skos:Collection ; | ||
skos:prefLabel "Meine Collection"@de, "My Collection"@en ; | ||
skos:member <c1>, <c2> . | ||
|
48 changes: 48 additions & 0 deletions
48
tests/invalid/skohub.shacl.ttl/19_c_example_no_language.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@base <http://w3id.org/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dct:description "Test Beschreibung"@de, "Test Description"@en ; | ||
dct:issued "2019-12-11" ; | ||
dct:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ; | ||
dct:license <http://creativecommons.org/licenses/by/4.0/> ; | ||
vann:preferredNamespaceUri "https://w3id.org/test" ; | ||
skos:hasTopConcept <c1> . | ||
|
||
<c1> a skos:Concept ; | ||
skos:prefLabel "Konzept 1"@de, "Concept 1"@en ; | ||
skos:altLabel "Alternativbezeichnung 1"@de, "Alternativbezeichnung 2"@de, "Alt Label 1"@en ; | ||
skos:hiddenLabel "Verstecktes Label 1"@de, "Verstecktes Label 2"@de ; | ||
skos:definition "Meine Definition"@de ; | ||
skos:example "Ein Beispiel" ; | ||
skos:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:relatedMatch <c4> ; | ||
skos:narrower <c2> ; | ||
skos:notation "1", "notation" ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:inScheme <> . | ||
|
||
<c3> a skos:Concept ; | ||
skos:prefLabel "Konzept 3"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<c4> a skos:Concept ; | ||
skos:prefLabel "Konzept 4"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<collection> a skos:Collection ; | ||
skos:prefLabel "Meine Collection"@de, "My Collection"@en ; | ||
skos:member <c1>, <c2> . | ||
|
48 changes: 48 additions & 0 deletions
48
tests/invalid/skohub.shacl.ttl/20_c_narrower_target_no_concept.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@base <http://w3id.org/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dct:description "Test Beschreibung"@de, "Test Description"@en ; | ||
dct:issued "2019-12-11" ; | ||
dct:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ; | ||
dct:license <http://creativecommons.org/licenses/by/4.0/> ; | ||
vann:preferredNamespaceUri "https://w3id.org/test" ; | ||
skos:hasTopConcept <c1> . | ||
|
||
<c1> a skos:Concept ; | ||
skos:prefLabel "Konzept 1"@de, "Concept 1"@en ; | ||
skos:altLabel "Alternativbezeichnung 1"@de, "Alternativbezeichnung 2"@de, "Alt Label 1"@en ; | ||
skos:hiddenLabel "Verstecktes Label 1"@de, "Verstecktes Label 2"@de ; | ||
skos:definition "Meine Definition"@de ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:relatedMatch <c4> ; | ||
skos:narrower <c2> ; | ||
skos:notation "1", "notation" ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:NoConcept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:inScheme <> . | ||
|
||
<c3> a skos:Concept ; | ||
skos:prefLabel "Konzept 3"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<c4> a skos:Concept ; | ||
skos:prefLabel "Konzept 4"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<collection> a skos:Collection ; | ||
skos:prefLabel "Meine Collection"@de, "My Collection"@en ; | ||
skos:member <c1>, <c2> . | ||
|
48 changes: 48 additions & 0 deletions
48
tests/invalid/skohub.shacl.ttl/21_c_narrowerTransitive_target_no_concept.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
@base <http://w3id.org/> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix schema: <http://schema.org/> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dct:description "Test Beschreibung"@de, "Test Description"@en ; | ||
dct:issued "2019-12-11" ; | ||
dct:publisher <https://oerworldmap.org/resource/urn:uuid:fd06253e-fe67-4910-b923-51db9d27e59f> ; | ||
dct:license <http://creativecommons.org/licenses/by/4.0/> ; | ||
vann:preferredNamespaceUri "https://w3id.org/test" ; | ||
skos:hasTopConcept <c1> . | ||
|
||
<c1> a skos:Concept ; | ||
skos:prefLabel "Konzept 1"@de, "Concept 1"@en ; | ||
skos:altLabel "Alternativbezeichnung 1"@de, "Alternativbezeichnung 2"@de, "Alt Label 1"@en ; | ||
skos:hiddenLabel "Verstecktes Label 1"@de, "Verstecktes Label 2"@de ; | ||
skos:definition "Meine Definition"@de ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:relatedMatch <c4> ; | ||
skos:narrowerTransitive <c2> ; | ||
skos:notation "1", "notation" ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:NoConcept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:inScheme <> . | ||
|
||
<c3> a skos:Concept ; | ||
skos:prefLabel "Konzept 3"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<c4> a skos:Concept ; | ||
skos:prefLabel "Konzept 4"@de ; | ||
skos:broader <c2> ; | ||
skos:inScheme <> . | ||
|
||
<collection> a skos:Collection ; | ||
skos:prefLabel "Meine Collection"@de, "My Collection"@en ; | ||
skos:member <c1>, <c2> . | ||
|
Oops, something went wrong.