Skip to content

Fix types and capitalization #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions skos.bestPractice.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@
] ;
.

:AmbiguousNotatation
:AmbiguousNotation
a sh:NodeShape ;
sh:severity sh:Warning ;
sh:targetClass skos:Concept ;
sh:sparql [
a sh:SPARQLConstraint ;
sh:prefixes skos: ;
rdfs:comment "Ambiguous Notation References" ;
sh:description "Concepts should not have identlical skos:notation literals." ;
sh:description "Concepts should not have identical skos:notation literals." ;
sh:message "the concept has the same notation {$value} as {$path}" ;
sh:select """
SELECT $this (?other as ?path) ?value
Expand Down Expand Up @@ -189,8 +189,8 @@
sh:severity sh:Warning ;
sh:sparql [
sh:prefixes skos: ;
rdfs:comment "Overlapping Labels in the same Concept Scheme (concepts with the same label in the same concept scheme)" ;
sh:message "Overlapping Labels in the same Concept Scheme (there is concept '{$this}' with the same pref label in language '{$lang}' for concept '{$value}'). Label: '{$pl}" ;
rdfs:comment "Overlapping labels in the same Concept Scheme (concepts with the same label in the same concept scheme)" ;
sh:message "Overlapping labels in the same Concept Scheme (there is concept '{$this}' with the same pref label in language '{$lang}' for concept '{$value}'). Label: '{$pl}" ;
sh:select """
SELECT $this (skos:prefLabel AS ?path) (?other as ?value) (lang(?pl) as ?lang) $pl
WHERE {
Expand All @@ -211,7 +211,7 @@
sh:sparql [
a sh:SPARQLConstraint ;
sh:prefixes skos: ;
rdfs:comment "Top Concept Having Broader Concept" ;
rdfs:comment "Top concept having broader concept" ;
sh:message "The top concept has a broader concept" ;
sh:select """
SELECT DISTINCT $this
Expand Down
Loading