-
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.
Merge pull request #17 from skohub-io/14-dctitle-dcdescription
Allow some more properties for describing the concept scheme #14
- Loading branch information
Showing
4 changed files
with
217 additions
and
17 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
56 changes: 56 additions & 0 deletions
56
tests/valid/skohub.shacl.ttl/02_valid_skohub_file_cs_prefLabel.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,56 @@ | ||
@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/> . | ||
|
||
# This Concept Scheme has a skos:prefLabel | ||
|
||
<> a skos:ConceptScheme ; | ||
skos:prefLabel "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:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:notation "1", "notation" ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:narrower <c2> ; | ||
skos:narrowerTransitive <c2> ; | ||
skos:narrowMatch <https://my-iri.org/> ; | ||
skos:related <c4> ; | ||
skos:relatedMatch <https://my-iri.org/> ; | ||
skos:closeMatch <https://my-iri.org/> ; | ||
skos:exactMatch <https://my-iri.org/> ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:broaderTransitive <c1> ; | ||
skos:broadMatch <https://my-iri.org/> ; | ||
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> . |
57 changes: 57 additions & 0 deletions
57
tests/valid/skohub.shacl.ttl/03_valid_skohub_file_cs_dctitle.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,57 @@ | ||
@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/> . | ||
@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
|
||
# This Concept Scheme has a dc:title field | ||
|
||
<> a skos:ConceptScheme ; | ||
dc: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:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:notation "1", "notation" ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:narrower <c2> ; | ||
skos:narrowerTransitive <c2> ; | ||
skos:narrowMatch <https://my-iri.org/> ; | ||
skos:related <c4> ; | ||
skos:relatedMatch <https://my-iri.org/> ; | ||
skos:closeMatch <https://my-iri.org/> ; | ||
skos:exactMatch <https://my-iri.org/> ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:broaderTransitive <c1> ; | ||
skos:broadMatch <https://my-iri.org/> ; | ||
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> . |
57 changes: 57 additions & 0 deletions
57
tests/valid/skohub.shacl.ttl/04_valid_skohub_file_dc_description.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,57 @@ | ||
@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/> . | ||
@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
|
||
# Concept Scheme has a dc:description | ||
|
||
<> a skos:ConceptScheme ; | ||
dct:title "Test Vokabular"@de, "Test Vocabulary"@en ; | ||
dc: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:scopeNote "Meine Scope Note"@de ; | ||
skos:note "Meine Anmerkung"@de ; | ||
skos:notation "1", "notation" ; | ||
skos:example "Ein Beispiel"@de ; | ||
skos:narrower <c2> ; | ||
skos:narrowerTransitive <c2> ; | ||
skos:narrowMatch <https://my-iri.org/> ; | ||
skos:related <c4> ; | ||
skos:relatedMatch <https://my-iri.org/> ; | ||
skos:closeMatch <https://my-iri.org/> ; | ||
skos:exactMatch <https://my-iri.org/> ; | ||
skos:topConceptOf <> . | ||
|
||
<c2> a skos:Concept ; | ||
skos:prefLabel "Konzept 2"@de, "Concept 2"@en ; | ||
skos:narrower <c3> ; | ||
skos:broader <c1> ; | ||
skos:broaderTransitive <c1> ; | ||
skos:broadMatch <https://my-iri.org/> ; | ||
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> . |