From e1ce1a0f596e90bfd027f96dfbe490140aee7e14 Mon Sep 17 00:00:00 2001 From: Emidio Stani Date: Sat, 7 Sep 2024 18:34:58 +0200 Subject: [PATCH] Update skos.shacl.ttl --- skos.shacl.ttl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/skos.shacl.ttl b/skos.shacl.ttl index a6fd39e..029c558 100644 --- a/skos.shacl.ttl +++ b/skos.shacl.ttl @@ -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 ; ] . #################### @@ -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