-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathshacl.ttl
1674 lines (1383 loc) · 52.3 KB
/
shacl.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
## W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE
## https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
## --------
# W3C Shapes Constraint Language (SHACL) Vocabulary
# Version from 2021-01-19
# Changes since original CR publication:
# - Deleted sh:declare rdfs:domain owl:Ontology and sh:prefixes rdfs:range owl:Ontology, clarified comment of sh:prefixes
# - Fixed sh:namespace of "sh" to use xsd:anyURI instead of string
# - Changed rdfs:label of sh:nodeValidator from "shape validator" to "node validator"
# - Fixed rdfs:label of sh:TripleRule, moved into comment
# - Made rdfs:label of sh:LessThanOrEqualsConstraintComponent upper case
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
sh:
a owl:Ontology ;
rdfs:label "W3C Shapes Constraint Language (SHACL) Vocabulary"@en ;
rdfs:comment "This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language."@en ;
sh:declare [
sh:prefix "sh" ;
sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ;
] ;
sh:suggestedShapesGraph <http://www.w3.org/ns/shacl-shacl#> .
# Shapes vocabulary -----------------------------------------------------------
sh:Shape
a rdfs:Class ;
rdfs:label "Shape"@en ;
rdfs:comment "A shape is a collection of constraints that may be targeted for certain nodes."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:NodeShape
a rdfs:Class ;
rdfs:label "Node shape"@en ;
rdfs:comment "A node shape is a shape that specifies constraint that need to be met with respect to focus nodes."@en ;
rdfs:subClassOf sh:Shape ;
rdfs:isDefinedBy sh: .
sh:PropertyShape
a rdfs:Class ;
rdfs:label "Property shape"@en ;
rdfs:comment "A property shape is a shape that specifies constraints on the values of a focus node for a given property or path."@en ;
rdfs:subClassOf sh:Shape ;
rdfs:isDefinedBy sh: .
sh:deactivated
a rdf:Property ;
rdfs:label "deactivated"@en ;
rdfs:comment "If set to true then all nodes conform to this."@en ;
# rdfs:domain sh:Shape or sh:SPARQLConstraint
rdfs:range xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:targetClass
a rdf:Property ;
rdfs:label "target class"@en ;
rdfs:comment "Links a shape to a class, indicating that all instances of the class must conform to the shape."@en ;
rdfs:domain sh:Shape ;
rdfs:range rdfs:Class ;
rdfs:isDefinedBy sh: .
sh:targetNode
a rdf:Property ;
rdfs:label "target node"@en ;
rdfs:comment "Links a shape to individual nodes, indicating that these nodes must conform to the shape."@en ;
rdfs:domain sh:Shape ;
rdfs:isDefinedBy sh: .
sh:targetObjectsOf
a rdf:Property ;
rdfs:label "target objects of"@en ;
rdfs:comment "Links a shape to a property, indicating that all all objects of triples that have the given property as their predicate must conform to the shape."@en ;
rdfs:domain sh:Shape ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy sh: .
sh:targetSubjectsOf
a rdf:Property ;
rdfs:label "target subjects of"@en ;
rdfs:comment "Links a shape to a property, indicating that all subjects of triples that have the given property as their predicate must conform to the shape."@en ;
rdfs:domain sh:Shape ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy sh: .
sh:message
a rdf:Property ;
# domain: sh:Shape or sh:SPARQLConstraint or sh:SPARQLSelectValidator or sh:SPARQLAskValidator
# range: xsd:string or rdf:langString
rdfs:label "message"@en ;
rdfs:comment "A human-readable message (possibly with placeholders for variables) explaining the cause of the result."@en ;
rdfs:isDefinedBy sh: .
sh:severity
a rdf:Property ;
rdfs:label "severity"@en ;
rdfs:comment "Defines the severity that validation results produced by a shape must have. Defaults to sh:Violation."@en ;
rdfs:domain sh:Shape ;
rdfs:range sh:Severity ;
rdfs:isDefinedBy sh: .
# Node kind vocabulary --------------------------------------------------------
sh:NodeKind
a rdfs:Class ;
rdfs:label "Node kind"@en ;
rdfs:comment "The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:BlankNode
a sh:NodeKind ;
rdfs:label "Blank node"@en ;
rdfs:comment "The node kind of all blank nodes."@en ;
rdfs:isDefinedBy sh: .
sh:BlankNodeOrIRI
a sh:NodeKind ;
rdfs:label "Blank node or IRI"@en ;
rdfs:comment "The node kind of all blank nodes or IRIs."@en ;
rdfs:isDefinedBy sh: .
sh:BlankNodeOrLiteral
a sh:NodeKind ;
rdfs:label "Blank node or literal"@en ;
rdfs:comment "The node kind of all blank nodes or literals."@en ;
rdfs:isDefinedBy sh: .
sh:IRI
a sh:NodeKind ;
rdfs:label "IRI"@en ;
rdfs:comment "The node kind of all IRIs."@en ;
rdfs:isDefinedBy sh: .
sh:IRIOrLiteral
a sh:NodeKind ;
rdfs:label "IRI or literal"@en ;
rdfs:comment "The node kind of all IRIs or literals."@en ;
rdfs:isDefinedBy sh: .
sh:Literal
a sh:NodeKind ;
rdfs:label "Literal"@en ;
rdfs:comment "The node kind of all literals."@en ;
rdfs:isDefinedBy sh: .
# Results vocabulary ----------------------------------------------------------
sh:ValidationReport
a rdfs:Class ;
rdfs:label "Validation report"@en ;
rdfs:comment "The class of SHACL validation reports."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:conforms
a rdf:Property ;
rdfs:label "conforms"@en ;
rdfs:comment "True if the validation did not produce any validation results, and false otherwise."@en ;
rdfs:domain sh:ValidationReport ;
rdfs:range xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:result
a rdf:Property ;
rdfs:label "result"@en ;
rdfs:comment "The validation results contained in a validation report."@en ;
rdfs:domain sh:ValidationReport ;
rdfs:range sh:ValidationResult ;
rdfs:isDefinedBy sh: .
sh:shapesGraphWellFormed
a rdf:Property ;
rdfs:label "shapes graph well-formed"@en ;
rdfs:comment "If true then the validation engine was certain that the shapes graph has passed all SHACL syntax requirements during the validation process."@en ;
rdfs:domain sh:ValidationReport ;
rdfs:range xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:AbstractResult
a rdfs:Class ;
rdfs:label "Abstract result"@en ;
rdfs:comment "The base class of validation results, typically not instantiated directly."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:ValidationResult
a rdfs:Class ;
rdfs:label "Validation result"@en ;
rdfs:comment "The class of validation results."@en ;
rdfs:subClassOf sh:AbstractResult ;
rdfs:isDefinedBy sh: .
sh:Severity
a rdfs:Class ;
rdfs:label "Severity"@en ;
rdfs:comment "The class of validation result severity levels, including violation and warning levels."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:Info
a sh:Severity ;
rdfs:label "Info"@en ;
rdfs:comment "The severity for an informational validation result."@en ;
rdfs:isDefinedBy sh: .
sh:Violation
a sh:Severity ;
rdfs:label "Violation"@en ;
rdfs:comment "The severity for a violation validation result."@en ;
rdfs:isDefinedBy sh: .
sh:Warning
a sh:Severity ;
rdfs:label "Warning"@en ;
rdfs:comment "The severity for a warning validation result."@en ;
rdfs:isDefinedBy sh: .
sh:detail
a rdf:Property ;
rdfs:label "detail"@en ;
rdfs:comment "Links a result with other results that provide more details, for example to describe violations against nested shapes."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:range sh:AbstractResult ;
rdfs:isDefinedBy sh: .
sh:focusNode
a rdf:Property ;
rdfs:label "focus node"@en ;
rdfs:comment "The focus node that was validated when the result was produced."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:isDefinedBy sh: .
sh:resultMessage
a rdf:Property ;
rdfs:label "result message"@en ;
rdfs:comment "Human-readable messages explaining the cause of the result."@en ;
rdfs:domain sh:AbstractResult ;
# range: xsd:string or rdf:langString
rdfs:isDefinedBy sh: .
sh:resultPath
a rdf:Property ;
rdfs:label "result path"@en ;
rdfs:comment "The path of a validation result, based on the path of the validated property shape."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:resultSeverity
a rdf:Property ;
rdfs:label "result severity"@en ;
rdfs:comment "The severity of the result, e.g. warning."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:range sh:Severity ;
rdfs:isDefinedBy sh: .
sh:sourceConstraint
a rdf:Property ;
rdfs:label "source constraint"@en ;
rdfs:comment "The constraint that was validated when the result was produced."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:isDefinedBy sh: .
sh:sourceShape
a rdf:Property ;
rdfs:label "source shape"@en ;
rdfs:comment "The shape that is was validated when the result was produced."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:range sh:Shape ;
rdfs:isDefinedBy sh: .
sh:sourceConstraintComponent
a rdf:Property ;
rdfs:label "source constraint component"@en ;
rdfs:comment "The constraint component that is the source of the result."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:range sh:ConstraintComponent ;
rdfs:isDefinedBy sh: .
sh:value
a rdf:Property ;
rdfs:label "value"@en ;
rdfs:comment "An RDF node that has caused the result."@en ;
rdfs:domain sh:AbstractResult ;
rdfs:isDefinedBy sh: .
# Graph properties ------------------------------------------------------------
sh:shapesGraph
a rdf:Property ;
rdfs:label "shapes graph"@en ;
rdfs:comment "Shapes graphs that should be used when validating this data graph."@en ;
rdfs:domain owl:Ontology ;
rdfs:range owl:Ontology ;
rdfs:isDefinedBy sh: .
sh:suggestedShapesGraph
a rdf:Property ;
rdfs:label "suggested shapes graph"@en ;
rdfs:comment "Suggested shapes graphs for this ontology. The values of this property may be used in the absence of specific sh:shapesGraph statements."@en ;
rdfs:domain owl:Ontology ;
rdfs:range owl:Ontology ;
rdfs:isDefinedBy sh: .
sh:entailment
a rdf:Property ;
rdfs:label "entailment"@en ;
rdfs:comment "An entailment regime that indicates what kind of inferencing is required by a shapes graph."@en ;
rdfs:domain owl:Ontology ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
# Path vocabulary -------------------------------------------------------------
sh:path
a rdf:Property ;
rdfs:label "path"@en ;
rdfs:comment "Specifies the property path of a property shape."@en ;
rdfs:domain sh:PropertyShape ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:inversePath
a rdf:Property ;
rdfs:label "inverse path"@en ;
rdfs:comment "The (single) value of this property represents an inverse path (object to subject)."@en ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:alternativePath
a rdf:Property ;
rdfs:label "alternative path"@en ;
rdfs:comment "The (single) value of this property must be a list of path elements, representing the elements of alternative paths."@en ;
rdfs:range rdf:List ;
rdfs:isDefinedBy sh: .
sh:zeroOrMorePath
a rdf:Property ;
rdfs:label "zero or more path"@en ;
rdfs:comment "The (single) value of this property represents a path that is matched zero or more times."@en ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:oneOrMorePath
a rdf:Property ;
rdfs:label "one or more path"@en ;
rdfs:comment "The (single) value of this property represents a path that is matched one or more times."@en ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:zeroOrOnePath
a rdf:Property ;
rdfs:label "zero or one path"@en ;
rdfs:comment "The (single) value of this property represents a path that is matched zero or one times."@en ;
rdfs:range rdfs:Resource ;
rdfs:isDefinedBy sh: .
# Parameters metamodel --------------------------------------------------------
sh:Parameterizable
a rdfs:Class ;
rdfs:label "Parameterizable"@en ;
rdfs:comment "Superclass of components that can take parameters, especially functions and constraint components."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:parameter
a rdf:Property ;
rdfs:label "parameter"@en ;
rdfs:comment "The parameters of a function or constraint component."@en ;
rdfs:domain sh:Parameterizable ;
rdfs:range sh:Parameter ;
rdfs:isDefinedBy sh: .
sh:labelTemplate
a rdf:Property ;
rdfs:label "label template"@en ;
rdfs:comment "Outlines how human-readable labels of instances of the associated Parameterizable shall be produced. The values can contain {?paramName} as placeholders for the actual values of the given parameter."@en ;
rdfs:domain sh:Parameterizable ;
# range: xsd:string or rdf:langString
rdfs:isDefinedBy sh: .
sh:Parameter
a rdfs:Class ;
rdfs:label "Parameter"@en ;
rdfs:comment "The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics."@en ;
rdfs:subClassOf sh:PropertyShape ;
rdfs:isDefinedBy sh: .
sh:optional
a rdf:Property ;
rdfs:label "optional"@en ;
rdfs:comment "Indicates whether a parameter is optional."@en ;
rdfs:domain sh:Parameter ;
rdfs:range xsd:boolean ;
rdfs:isDefinedBy sh: .
# Constraint components metamodel ---------------------------------------------
sh:ConstraintComponent
a rdfs:Class ;
rdfs:label "Constraint component"@en ;
rdfs:comment "The class of constraint components."@en ;
rdfs:subClassOf sh:Parameterizable ;
rdfs:isDefinedBy sh: .
sh:validator
a rdf:Property ;
rdfs:label "validator"@en ;
rdfs:comment "The validator(s) used to evaluate constraints of either node or property shapes."@en ;
rdfs:domain sh:ConstraintComponent ;
rdfs:range sh:Validator ;
rdfs:isDefinedBy sh: .
sh:nodeValidator
a rdf:Property ;
rdfs:label "node validator"@en ;
rdfs:comment "The validator(s) used to evaluate a constraint in the context of a node shape."@en ;
rdfs:domain sh:ConstraintComponent ;
rdfs:range sh:Validator ;
rdfs:isDefinedBy sh: .
sh:propertyValidator
a rdf:Property ;
rdfs:label "property validator"@en ;
rdfs:comment "The validator(s) used to evaluate a constraint in the context of a property shape."@en ;
rdfs:domain sh:ConstraintComponent ;
rdfs:range sh:Validator ;
rdfs:isDefinedBy sh: .
sh:Validator
a rdfs:Class ;
rdfs:label "Validator"@en ;
rdfs:comment "The class of validators, which provide instructions on how to process a constraint definition. This class serves as base class for the SPARQL-based validators and other possible implementations."@en ;
rdfs:subClassOf rdfs:Resource ;
rdfs:isDefinedBy sh: .
sh:SPARQLAskValidator
a rdfs:Class ;
rdfs:label "SPARQL ASK validator"@en ;
rdfs:comment "The class of validators based on SPARQL ASK queries. The queries are evaluated for each value node and are supposed to return true if the given node conforms."@en ;
rdfs:subClassOf sh:Validator ;
rdfs:subClassOf sh:SPARQLAskExecutable ;
rdfs:isDefinedBy sh: .
sh:SPARQLSelectValidator
a rdfs:Class ;
rdfs:label "SPARQL SELECT validator"@en ;
rdfs:comment "The class of validators based on SPARQL SELECT queries. The queries are evaluated for each focus node and are supposed to produce bindings for all focus nodes that do not conform."@en ;
rdfs:subClassOf sh:Validator ;
rdfs:subClassOf sh:SPARQLSelectExecutable ;
rdfs:isDefinedBy sh: .
# Library of Core Constraint Components and their properties ------------------
sh:AndConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "And constraint component"@en ;
rdfs:comment "A constraint component that can be used to test whether a value node conforms to all members of a provided list of shapes."@en ;
sh:parameter sh:AndConstraintComponent-and ;
rdfs:isDefinedBy sh: .
sh:AndConstraintComponent-and
a sh:Parameter ;
sh:path sh:and ;
rdfs:isDefinedBy sh: .
sh:and
a rdf:Property ;
rdfs:label "and"@en ;
rdfs:comment "RDF list of shapes to validate the value nodes against."@en ;
rdfs:range rdf:List ;
rdfs:isDefinedBy sh: .
sh:ClassConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Class constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that each value node is an instance of a given type."@en ;
sh:parameter sh:ClassConstraintComponent-class ;
rdfs:isDefinedBy sh: .
sh:ClassConstraintComponent-class
a sh:Parameter ;
sh:path sh:class ;
sh:nodeKind sh:IRI ;
rdfs:isDefinedBy sh: .
sh:class
a rdf:Property ;
rdfs:label "class"@en ;
rdfs:comment "The type that all value nodes must have."@en ;
rdfs:range rdfs:Class ;
rdfs:isDefinedBy sh: .
sh:ClosedConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Closed constraint component"@en ;
rdfs:comment "A constraint component that can be used to indicate that focus nodes must only have values for those properties that have been explicitly enumerated via sh:property/sh:path."@en ;
sh:parameter sh:ClosedConstraintComponent-closed ;
sh:parameter sh:ClosedConstraintComponent-ignoredProperties ;
rdfs:isDefinedBy sh: .
sh:ClosedConstraintComponent-closed
a sh:Parameter ;
sh:path sh:closed ;
sh:datatype xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:ClosedConstraintComponent-ignoredProperties
a sh:Parameter ;
sh:path sh:ignoredProperties ;
sh:optional true ;
rdfs:isDefinedBy sh: .
sh:closed
a rdf:Property ;
rdfs:label "closed"@en ;
rdfs:comment "If set to true then the shape is closed."@en ;
rdfs:range xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:ignoredProperties
a rdf:Property ;
rdfs:label "ignored properties"@en ;
rdfs:comment "An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path."@en ;
rdfs:range rdf:List ; # members: rdf:Property
rdfs:isDefinedBy sh: .
sh:DatatypeConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Datatype constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the datatype of all value nodes."@en ;
sh:parameter sh:DatatypeConstraintComponent-datatype ;
rdfs:isDefinedBy sh: .
sh:DatatypeConstraintComponent-datatype
a sh:Parameter ;
sh:path sh:datatype ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:datatype
a rdf:Property ;
rdfs:label "datatype"@en ;
rdfs:comment "Specifies an RDF datatype that all value nodes must have."@en ;
rdfs:range rdfs:Datatype ;
rdfs:isDefinedBy sh: .
sh:DisjointConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Disjoint constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that the set of value nodes is disjoint with the the set of nodes that have the focus node as subject and the value of a given property as predicate."@en ;
sh:parameter sh:DisjointConstraintComponent-disjoint ;
rdfs:isDefinedBy sh: .
sh:DisjointConstraintComponent-disjoint
a sh:Parameter ;
sh:path sh:disjoint ;
sh:nodeKind sh:IRI ;
rdfs:isDefinedBy sh: .
sh:disjoint
a rdf:Property ;
rdfs:label "disjoint"@en ;
rdfs:comment "Specifies a property where the set of values must be disjoint with the value nodes."@en ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy sh: .
sh:EqualsConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Equals constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that the set of value nodes is equal to the set of nodes that have the focus node as subject and the value of a given property as predicate."@en ;
sh:parameter sh:EqualsConstraintComponent-equals ;
rdfs:isDefinedBy sh: .
sh:EqualsConstraintComponent-equals
a sh:Parameter ;
sh:path sh:equals ;
sh:nodeKind sh:IRI ;
rdfs:isDefinedBy sh: .
sh:equals
a rdf:Property ;
rdfs:label "equals"@en ;
rdfs:comment "Specifies a property that must have the same values as the value nodes."@en ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy sh: .
sh:HasValueConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Has-value constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that one of the value nodes is a given RDF node."@en ;
sh:parameter sh:HasValueConstraintComponent-hasValue ;
rdfs:isDefinedBy sh: .
sh:HasValueConstraintComponent-hasValue
a sh:Parameter ;
sh:path sh:hasValue ;
rdfs:isDefinedBy sh: .
sh:hasValue
a rdf:Property ;
rdfs:label "has value"@en ;
rdfs:comment "Specifies a value that must be among the value nodes."@en ;
rdfs:isDefinedBy sh: .
sh:InConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "In constraint component"@en ;
rdfs:comment "A constraint component that can be used to exclusively enumerate the permitted value nodes."@en ;
sh:parameter sh:InConstraintComponent-in ;
rdfs:isDefinedBy sh: .
sh:InConstraintComponent-in
a sh:Parameter ;
sh:path sh:in ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:in
a rdf:Property ;
rdfs:label "in"@en ;
rdfs:comment "Specifies a list of allowed values so that each value node must be among the members of the given list."@en ;
rdfs:range rdf:List ;
rdfs:isDefinedBy sh: .
sh:LanguageInConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Language-in constraint component"@en ;
rdfs:comment "A constraint component that can be used to enumerate language tags that all value nodes must have."@en ;
sh:parameter sh:LanguageInConstraintComponent-languageIn ;
rdfs:isDefinedBy sh: .
sh:LanguageInConstraintComponent-languageIn
a sh:Parameter ;
sh:path sh:languageIn ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:languageIn
a rdf:Property ;
rdfs:label "language in"@en ;
rdfs:comment "Specifies a list of language tags that all value nodes must have."@en ;
rdfs:range rdf:List ; # members: xsd:string
rdfs:isDefinedBy sh: .
sh:LessThanConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Less-than constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that each 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 ;
sh:parameter sh:LessThanConstraintComponent-lessThan ;
rdfs:isDefinedBy sh: .
sh:LessThanConstraintComponent-lessThan
a sh:Parameter ;
sh:path sh:lessThan ;
sh:nodeKind sh:IRI ;
rdfs:isDefinedBy sh: .
sh:lessThan
a rdf:Property ;
rdfs:label "less than"@en ;
rdfs:comment "Specifies a property that must have smaller values than the value nodes."@en ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy sh: .
sh:LessThanOrEqualsConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Less-than-or-equals constraint component"@en ;
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 ;
sh:parameter sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals ;
rdfs:isDefinedBy sh: .
sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals
a sh:Parameter ;
sh:path sh:lessThanOrEquals ;
sh:nodeKind sh:IRI ;
rdfs:isDefinedBy sh: .
sh:lessThanOrEquals
a rdf:Property ;
rdfs:label "less than or equals"@en ;
rdfs:comment "Specifies a property that must have smaller or equal values than the value nodes."@en ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy sh: .
sh:MaxCountConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Max-count constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the maximum number of value nodes."@en ;
sh:parameter sh:MaxCountConstraintComponent-maxCount ;
rdfs:isDefinedBy sh: .
sh:MaxCountConstraintComponent-maxCount
a sh:Parameter ;
sh:path sh:maxCount ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:maxCount
a rdf:Property ;
rdfs:label "max count"@en ;
rdfs:comment "Specifies the maximum number of values in the set of value nodes."@en ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy sh: .
sh:MaxExclusiveConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Max-exclusive constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a maximum exclusive value."@en ;
sh:parameter sh:MaxExclusiveConstraintComponent-maxExclusive ;
rdfs:isDefinedBy sh: .
sh:MaxExclusiveConstraintComponent-maxExclusive
a sh:Parameter ;
sh:path sh:maxExclusive ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
rdfs:isDefinedBy sh: .
sh:maxExclusive
a rdf:Property ;
rdfs:label "max exclusive"@en ;
rdfs:comment "Specifies the maximum exclusive value of each value node."@en ;
rdfs:isDefinedBy sh: .
sh:MaxInclusiveConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Max-inclusive constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a maximum inclusive value."@en ;
sh:parameter sh:MaxInclusiveConstraintComponent-maxInclusive ;
rdfs:isDefinedBy sh: .
sh:MaxInclusiveConstraintComponent-maxInclusive
a sh:Parameter ;
sh:path sh:maxInclusive ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
rdfs:isDefinedBy sh: .
sh:maxInclusive
a rdf:Property ;
rdfs:label "max inclusive"@en ;
rdfs:comment "Specifies the maximum inclusive value of each value node."@en ;
rdfs:isDefinedBy sh: .
sh:MaxLengthConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Max-length constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the maximum string length of value nodes."@en ;
sh:parameter sh:MaxLengthConstraintComponent-maxLength ;
rdfs:isDefinedBy sh: .
sh:MaxLengthConstraintComponent-maxLength
a sh:Parameter ;
sh:path sh:maxLength ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:maxLength
a rdf:Property ;
rdfs:label "max length"@en ;
rdfs:comment "Specifies the maximum string length of each value node."@en ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy sh: .
sh:MinCountConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Min-count constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the minimum number of value nodes."@en ;
sh:parameter sh:MinCountConstraintComponent-minCount ;
rdfs:isDefinedBy sh: .
sh:MinCountConstraintComponent-minCount
a sh:Parameter ;
sh:path sh:minCount ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:minCount
a rdf:Property ;
rdfs:label "min count"@en ;
rdfs:comment "Specifies the minimum number of values in the set of value nodes."@en ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy sh: .
sh:MinExclusiveConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Min-exclusive constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a minimum exclusive value."@en ;
sh:parameter sh:MinExclusiveConstraintComponent-minExclusive ;
rdfs:isDefinedBy sh: .
sh:MinExclusiveConstraintComponent-minExclusive
a sh:Parameter ;
sh:path sh:minExclusive ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
rdfs:isDefinedBy sh: .
sh:minExclusive
a rdf:Property ;
rdfs:label "min exclusive"@en ;
rdfs:comment "Specifies the minimum exclusive value of each value node."@en ;
rdfs:isDefinedBy sh: .
sh:MinInclusiveConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Min-inclusive constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a minimum inclusive value."@en ;
sh:parameter sh:MinInclusiveConstraintComponent-minInclusive ;
rdfs:isDefinedBy sh: .
sh:MinInclusiveConstraintComponent-minInclusive
a sh:Parameter ;
sh:path sh:minInclusive ;
sh:maxCount 1 ;
sh:nodeKind sh:Literal ;
rdfs:isDefinedBy sh: .
sh:minInclusive
a rdf:Property ;
rdfs:label "min inclusive"@en ;
rdfs:comment "Specifies the minimum inclusive value of each value node."@en ;
rdfs:isDefinedBy sh: .
sh:MinLengthConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Min-length constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the minimum string length of value nodes."@en ;
sh:parameter sh:MinLengthConstraintComponent-minLength ;
rdfs:isDefinedBy sh: .
sh:MinLengthConstraintComponent-minLength
a sh:Parameter ;
sh:path sh:minLength ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:minLength
a rdf:Property ;
rdfs:label "min length"@en ;
rdfs:comment "Specifies the minimum string length of each value node."@en ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy sh: .
sh:NodeConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Node constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that all value nodes conform to the given node shape."@en ;
sh:parameter sh:NodeConstraintComponent-node ;
rdfs:isDefinedBy sh: .
sh:NodeConstraintComponent-node
a sh:Parameter ;
sh:path sh:node ;
rdfs:isDefinedBy sh: .
sh:node
a rdf:Property ;
rdfs:label "node"@en ;
rdfs:comment "Specifies the node shape that all value nodes must conform to."@en ;
rdfs:range sh:NodeShape ;
rdfs:isDefinedBy sh: .
sh:NodeKindConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Node-kind constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the RDF node kind of each value node."@en ;
sh:parameter sh:NodeKindConstraintComponent-nodeKind ;
rdfs:isDefinedBy sh: .
sh:NodeKindConstraintComponent-nodeKind
a sh:Parameter ;
sh:path sh:nodeKind ;
sh:in ( sh:BlankNode sh:IRI sh:Literal sh:BlankNodeOrIRI sh:BlankNodeOrLiteral sh:IRIOrLiteral ) ;
sh:maxCount 1 ;
rdfs:isDefinedBy sh: .
sh:nodeKind
a rdf:Property ;
rdfs:label "node kind"@en ;
rdfs:comment "Specifies the node kind (e.g. IRI or literal) each value node."@en ;
rdfs:range sh:NodeKind ;
rdfs:isDefinedBy sh: .
sh:NotConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Not constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that value nodes do not conform to a given shape."@en ;
sh:parameter sh:NotConstraintComponent-not ;
rdfs:isDefinedBy sh: .
sh:NotConstraintComponent-not
a sh:Parameter ;
sh:path sh:not ;
rdfs:isDefinedBy sh: .
sh:not
a rdf:Property ;
rdfs:label "not"@en ;
rdfs:comment "Specifies a shape that the value nodes must not conform to."@en ;
rdfs:range sh:Shape ;
rdfs:isDefinedBy sh: .
sh:OrConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Or constraint component"@en ;
rdfs:comment "A constraint component that can be used to restrict the value nodes so that they conform to at least one out of several provided shapes."@en ;
sh:parameter sh:OrConstraintComponent-or ;
rdfs:isDefinedBy sh: .
sh:OrConstraintComponent-or
a sh:Parameter ;
sh:path sh:or ;
rdfs:isDefinedBy sh: .
sh:or
a rdf:Property ;
rdfs:label "or"@en ;
rdfs:comment "Specifies a list of shapes so that the value nodes must conform to at least one of the shapes."@en ;
rdfs:range rdf:List ; # members: sh:Shape ;
rdfs:isDefinedBy sh: .
sh:PatternConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Pattern constraint component"@en ;
rdfs:comment "A constraint component that can be used to verify that every value node matches a given regular expression."@en ;
sh:parameter sh:PatternConstraintComponent-pattern ;
sh:parameter sh:PatternConstraintComponent-flags ;
rdfs:isDefinedBy sh: .
sh:PatternConstraintComponent-pattern
a sh:Parameter ;
sh:path sh:pattern ;
sh:datatype xsd:string ;
rdfs:isDefinedBy sh: .
sh:PatternConstraintComponent-flags
a sh:Parameter ;
sh:path sh:flags ;
sh:datatype xsd:string ;
sh:optional true ;
rdfs:isDefinedBy sh: .
sh:flags
a rdf:Property ;
rdfs:label "flags"@en ;
rdfs:comment "An optional flag to be used with regular expression pattern matching."@en ;
rdfs:range xsd:string ;
rdfs:isDefinedBy sh: .
sh:pattern
a rdf:Property ;
rdfs:label "pattern"@en ;
rdfs:comment "Specifies a regular expression pattern that the string representations of the value nodes must match."@en ;