Skip to content

Commit

Permalink
Merge pull request #24 from EmidioStani/main
Browse files Browse the repository at this point in the history
Update skos.shacl.ttl : sh namespace error and missing skos prefix
  • Loading branch information
sroertgen authored Sep 17, 2024
2 parents 70ba6fd + e1ce1a0 commit 1a90b44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion skos.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@
# declare the skos prefix to use it in later SPARQL-based constraints
skos:
a owl:Ontology ;
owl:imports sh: ;
sh:declare [
sh:prefix "skos" ;
sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ;
] ,
[
sh:prefix "sh" ;
sh:namespace "https://www.w3.org/ns/shacl#"^^xsd:anyURI ;
] .

####################
Expand Down Expand Up @@ -110,6 +113,7 @@ skos:
sh:targetSubjectsOf skos:narrower ;
sh:targetSubjectsOf skos:related ;
sh:sparql [
sh:prefixes skos: ;
sh:message "S19/S20: domain and range of SKOS semantic relations is the class skos:Concept. " ;
sh:select """
SELECT $this
Expand Down

0 comments on commit 1a90b44

Please sign in to comment.