Skip to content

Commit

Permalink
Remove sh:prefixes
Browse files Browse the repository at this point in the history
A pattern implemented in PR 463 is to avoid `sh:declare`, and where
prefixes are needed in SHACL-SPARQL queries, to inline a PREFIX clause.

This patch removes one instance of `sh:prefixes` that is not addressed
by PR 463.

References:
* ucoProject#435
* ucoProject#463

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Aug 19, 2022
1 parent 454f1ac commit bbd58c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ontology/owl/owl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ uco-owl:DataOneOf-shape
<https://www.w3.org/TR/owl2-syntax/#Enumeration_of_Literals>
;
sh:message "For data ranges that are sets of literals, owl:oneOf must only be used on blank nodes." ;
sh:prefixes <http://www.w3.org/2000/01/rdf-schema#> ;
sh:select """
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT $this
WHERE {
$this a rdfs:Datatype .
Expand Down

0 comments on commit bbd58c1

Please sign in to comment.