Skip to content

Commit

Permalink
Merge pull request #20 from skohub-io/fixTypos
Browse files Browse the repository at this point in the history
Fix types and capitalization
  • Loading branch information
sroertgen authored Sep 13, 2024
2 parents 0390567 + 3958f20 commit 70ba6fd
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 70ba6fd

Please sign in to comment.