You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rdfs:comment "A dictionary is list of (term/key, value) pairs with each term/key existing no more than once."@en ;
17778
+
rdfs:comment "A dictionary is list of (term/key, value) pairs with each term/key having an expectation to exist no more than once. types:Dictionary alone does not validate this expectation, but validation is available. For use cases where this expectation must be validated, the subclass types:ProperDictionary should be used instead of types:Dictionary. For instances where this expectation has been found to be violated, the subclass types:ImproperDictionary should be used instead of types:Dictionary."@en ;
sh:description "This shape is separated from the types:Dictionary class-shape in order to associate a warning-severity SPARQL-based shape."@en ;
17791
+
sh:severity sh:Warning ;
17792
+
sh:sparql [
17793
+
a sh:SPARQLConstraint ;
17794
+
sh:message "A key in a dictionary should appear no more than once. The value literal does. Please consider using the types:ImproperDictionary class and types:repeatsKey property."@en ;
sh:message "types:ImproperDictionary and types:ProperDictionary are disjoint classes."@en ;
17937
+
sh:not [
17938
+
a sh:NodeShape ;
17939
+
sh:class types:ProperDictionary ;
17940
+
] ;
17941
+
sh:targetClass types:ImproperDictionary ;
17942
+
.
17943
+
17887
17944
types:NativeFormatString
17888
17945
a rdfs:Datatype ;
17889
17946
rdfs:comment "Specifies data in its native format of some external language. The data may be encoded in Base64 per [RFC4648]. Data encoded in Base64 must be denoted as such using the encoded property."@en ;
17890
17947
.
17891
17948
17949
+
types:ProperDictionary
17950
+
a
17951
+
owl:Class ,
17952
+
sh:NodeShape
17953
+
;
17954
+
rdfs:subClassOf types:Dictionary ;
17955
+
rdfs:label "ProperDictionary"@en ;
17956
+
rdfs:comment "A proper dictionary is list of (term/key, value) pairs with each term/key existing no more than once."@en ;
17957
+
owl:disjointWith types:ImproperDictionary ;
17958
+
sh:sparql [
17959
+
a sh:SPARQLConstraint ;
17960
+
sh:message "A key in a proper dictionary can appear no more than once."@en ;
0 commit comments