-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathshacl.ttl
More file actions
1987 lines (1639 loc) · 63.8 KB
/
shacl.ttl
File metadata and controls
1987 lines (1639 loc) · 63.8 KB
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
# THIS VERSION IS UNDER DEVELOPMENT BY THE DATA-SHAPES (SHACL 1.2) WG
@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 constraints 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:ShapeClass
a rdfs:Class ;
rdfs:comment "A shape class is a class that is also a node shape. sh:ShapeClass can be used as rdf:type instead of the combination of rdfs:Class and sh:NodeShape."@en ;
rdfs:label "Shape class"@en ;
rdfs:subClassOf rdfs:Class ;
rdfs:subClassOf sh:NodeShape ;
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 (node expression)
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 node expressions, indicating that the output 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:targetWhere
a rdf:Property ;
rdfs:label "target where"@en ;
rdfs:comment "Links a (subject) shape to an (object) shape, indicating that all nodes from the data graph that conform to the given (object) shape must conform to the (subject) shape."@en ;
rdfs:domain sh:Shape ;
rdfs:range sh:Shape ;
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:dirLangString or rdf:langString or rdf:HTML
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 or constraint must have. Defaults to sh:Violation."@en ;
rdfs:range sh:Severity ;
rdfs:isDefinedBy sh: .
sh:shape
a rdf:Property ;
rdfs:label "shape"@en ;
rdfs:comment "Links from a node in the data graph to a shape that it is expected to conform to."@en ;
rdfs:range sh:Shape ;
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: .
sh:TripleTerm
a sh:NodeKind ;
rdfs:label "Triple term"@en ;
rdfs:comment "The node kind of all triple terms."@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:conformanceDisallows
a rdf:Property ;
rdfs:label "conformance disallows"@en ;
rdfs:comment "Severity levels that are evaluated in the conformance check."@en ;
rdfs:domain sh:ValidationReport ;
rdfs:range sh:Severity ;
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:Trace
a sh:Severity ;
rdfs:label "Trace"@en ;
rdfs:comment "The severity for a trace validation result."@en ;
rdfs:isDefinedBy sh: .
sh:Debug
a sh:Severity ;
rdfs:label "Debug"@en ;
rdfs:comment "The severity for a debug validation result."@en ;
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:dirLangString or rdf:langString or rdf:HTML
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: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:dirLangString 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:BlankNodeOrIRI ;
rdfs:isDefinedBy sh: .
sh:class
a rdf:Property ;
rdfs:label "class"@en ;
rdfs:comment "The type that all value nodes must have."@en ;
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 ;
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:BlankNodeOrIRI ;
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: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 can be reached from the focus node via a given property path."@en ;
sh:parameter sh:DisjointConstraintComponent-disjoint ;
rdfs:isDefinedBy sh: .
sh:DisjointConstraintComponent-disjoint
a sh:Parameter ;
sh:path sh:disjoint ;
sh:nodeKind sh:BlankNodeOrIRI ;
rdfs:isDefinedBy sh: .
sh:disjoint
a rdf:Property ;
rdfs:label "disjoint"@en ;
rdfs:comment "Specifies a property path where the set of values must be disjoint with the value nodes."@en ;
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 can be reached from the focus node using a given property path."@en ;
sh:parameter sh:EqualsConstraintComponent-equals ;
rdfs:isDefinedBy sh: .
sh:EqualsConstraintComponent-equals
a sh:Parameter ;
sh:path sh:equals ;
sh:nodeKind sh:BlankNodeOrIRI ;
rdfs:isDefinedBy sh: .
sh:equals
a rdf:Property ;
rdfs:label "equals"@en ;
rdfs:comment "Specifies a property path that must have the same values as the value nodes."@en ;
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 can be reached from the focus node via a given property path."@en ;
sh:parameter sh:LessThanConstraintComponent-lessThan ;
rdfs:isDefinedBy sh: .
sh:LessThanConstraintComponent-lessThan
a sh:Parameter ;
sh:path sh:lessThan ;
sh:nodeKind sh:BlankNodeOrIRI ;
rdfs:isDefinedBy sh: .
sh:lessThan
a rdf:Property ;
rdfs:label "less than"@en ;
rdfs:comment "Specifies a property path that must have smaller values than the value nodes."@en ;
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 can be reached from the focus node via a given property path."@en ;
sh:parameter sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals ;
rdfs:isDefinedBy sh: .
sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals
a sh:Parameter ;
sh:path sh:lessThanOrEquals ;
sh:nodeKind sh:BlankNodeOrIRI ;
rdfs:isDefinedBy sh: .
sh:lessThanOrEquals
a rdf:Property ;
rdfs:label "less than or equals"@en ;
rdfs:comment "Specifies a property path that must have smaller or equal values than the value nodes."@en ;
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:MemberShapeConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Member shape constraint component"@en ;
rdfs:comment "Can be used to specify constraints on the members of a given SHACL list. A violation is reported for each member of the list that does not comply with the constraints specified by the given shape. A violation is reported if the value is not a valid SHACL list."@en ;
sh:parameter sh:MemberShapeConstraintComponent-memberShape ;
rdfs:isDefinedBy sh: .
sh:MemberShapeConstraintComponent-memberShape
a sh:Parameter ;
sh:path sh:memberShape ;
sh:node sh:NodeShape ;
rdfs:isDefinedBy sh: .
sh:MinListLengthConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Minimum list length constraint component"@en ;
rdfs:comment "Specifies the minimum length of a SHACL list. A violation is reported if the value is not a valid SHACL list."@en ;
sh:parameter sh:MinListLengthConstraintComponent-minListLength ;
rdfs:isDefinedBy sh: .
sh:MinListLengthConstraintComponent-minListLength
a sh:Parameter ;
sh:path sh:minListLength ;
sh:datatype xsd:integer ;
rdfs:isDefinedBy sh: .
sh:MaxListLengthConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Maximum list length constraint component"@en ;
rdfs:comment "Specifies the maximum length of a SHACL list. A violation is reported if the value is not a valid SHACL list."@en ;
sh:parameter sh:MaxListLengthConstraintComponent-maxListLength ;
rdfs:isDefinedBy sh: .
sh:MaxListLengthConstraintComponent-maxListLength
a sh:Parameter ;
sh:path sh:maxListLength ;
sh:datatype xsd:integer ;
rdfs:isDefinedBy sh: .
sh:UniqueMembersConstraintComponent
a sh:ConstraintComponent ;
rdfs:label "Unique list members constraint component"@en ;
rdfs:comment "Specifies that all members of a SHACL list must be unique. A violation is reported if the value is not a valid SHACL list."@en ;
sh:parameter sh:UniqueMembersConstraintComponent-uniqueMembers ;
rdfs:isDefinedBy sh: .
sh:UniqueMembersConstraintComponent-uniqueMembers
a sh:Parameter ;
sh:path sh:uniqueMembers ;
sh:datatype xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:memberShape
a rdf:Property ;
rdfs:label "member shape"@en ;
rdfs:comment "Specifies the shape that all members of SHACL lists must conform to."@en ;
rdfs:range sh:NodeShape ;
rdfs:isDefinedBy sh: .
sh:minListLength
a rdf:Property ;
rdfs:label "Minimum list length"@en ;
rdfs:comment "Specifies the minimum length that a given SHACL list must have."@en ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy sh: .
sh:maxListLength
a rdf:Property ;
rdfs:label "Maximum list length"@en ;
rdfs:comment "Specifies the maximum length that a given SHACL list must have."@en ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy sh: .
sh:uniqueMembers
a rdf:Property ;
rdfs:label "Unique list members"@en ;
rdfs:comment "Specifies that all members of a SHACL list must be unique."@en ;
rdfs:range xsd:boolean ;
rdfs:isDefinedBy sh: .
sh:NodeConstraintComponent