Skip to content

Commit

Permalink
Update skos.shacl.ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
EmidioStani authored Sep 7, 2024
1 parent 0390567 commit e1ce1a0
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 e1ce1a0

Please sign in to comment.