-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
VocabulariesFor issues with the RDF files that the WG maintainsFor issues with the RDF files that the WG maintains
Description
Description:
In the SHACL (Shapes Constraint Language) RDF ontology, the sh:declare
statement currently specifies the sh:namespace
as a plain string:
sh:declare [
sh:prefix "sh" ;
sh:namespace "http://www.w3.org/ns/shacl#" ;
] ;
This can lead to issues with certain reasoners, especially when the SHACL ontology is indirectly imported. Some reasoners expect the sh:namespace
to be explicitly typed as xsd:anyURI
for correct interpretation.
Proposed Change:
To ensure compatibility with reasoners and avoid errors, the sh:namespace
should be explicitly typed as xsd:anyURI
:
sh:declare [
sh:prefix "sh" ;
sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ;
] ;
This change will help resolve the issues encountered with reasoners that rely on type checking for URI values.
Metadata
Metadata
Assignees
Labels
VocabulariesFor issues with the RDF files that the WG maintainsFor issues with the RDF files that the WG maintains