Skip to content

Commit 9ee274c

Browse files
Based on discussion in #130 and #131 this deletes the triples sh:declare rdfs:domain owl:Ontology and sh:prefixes rdfs:range owl:Ontology - the owl:Ontologies are merely a recommendation in the spec yet now cause no RDFS inferences
1 parent 27ef0e7 commit 9ee274c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shacl/shacl.ttl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
## --------
44

55
# W3C Shapes Constraint Language (SHACL) Vocabulary
6-
# Version from 2020-10-01
6+
# Version from 2021-01-19
77
# Changes since original CR publication:
8+
# - Deleted sh:declare rdfs:domain owl:Ontology and sh:prefixes rdfs:range owl:Ontology, clarified comment of sh:prefixes
89
# - Fixed sh:namespace of "sh" to use xsd:anyURI instead of string
910
# - Changed rdfs:label of sh:nodeValidator from "shape validator" to "node validator"
1011
# - Fixed rdfs:label of sh:TripleRule, moved into comment
12+
# - Made rdfs:label of sh:LessThanOrEqualsConstraintComponent upper case
1113

1214
@prefix owl: <http://www.w3.org/2002/07/owl#> .
1315
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -691,7 +693,7 @@ sh:lessThan
691693

692694
sh:LessThanOrEqualsConstraintComponent
693695
a sh:ConstraintComponent ;
694-
rdfs:label "less-than-or-equals constraint component"@en ;
696+
rdfs:label "Less-than-or-equals constraint component"@en ;
695697
rdfs:comment "A constraint component that can be used to verify that every value node is smaller than all the nodes that have the focus node as subject and the value of a given property as predicate."@en ;
696698
sh:parameter sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals ;
697699
rdfs:isDefinedBy sh: .
@@ -1219,9 +1221,8 @@ sh:update
12191221
sh:prefixes
12201222
a rdf:Property ;
12211223
rdfs:label "prefixes"@en ;
1222-
rdfs:comment "The prefixes that shall be applied before parsing the associated SPARQL query."@en ;
1224+
rdfs:comment "The prefixes that shall be applied before parsing the associated SPARQL query. The objects should define those prefixes using sh:declare."@en ;
12231225
rdfs:domain sh:SPARQLExecutable ;
1224-
rdfs:range owl:Ontology ;
12251226
rdfs:isDefinedBy sh: .
12261227

12271228
sh:PrefixDeclaration
@@ -1235,7 +1236,6 @@ sh:declare
12351236
a rdf:Property ;
12361237
rdfs:label "declare"@en ;
12371238
rdfs:comment "Links a resource with its namespace prefix declarations."@en ;
1238-
rdfs:domain owl:Ontology ;
12391239
rdfs:range sh:PrefixDeclaration ;
12401240
rdfs:isDefinedBy sh: .
12411241

0 commit comments

Comments
 (0)