@faubulous/mentor-rdf 2.2.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1665 @@
1
+ # W3C Shapes Constraint Language (SHACL) Vocabulary
2
+ # Version from 2017-07-20
3
+
4
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
5
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
8
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
9
+
10
+ sh:
11
+ a owl:Ontology ;
12
+ rdfs:label "W3C Shapes Constraint Language (SHACL) Vocabulary"@en ;
13
+ rdfs:comment "This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language."@en ;
14
+ sh:declare [
15
+ sh:prefix "sh" ;
16
+ sh:namespace "http://www.w3.org/ns/shacl#" ;
17
+ ] ;
18
+ sh:suggestedShapesGraph <http://www.w3.org/ns/shacl-shacl#> .
19
+
20
+
21
+ # Shapes vocabulary -----------------------------------------------------------
22
+
23
+ sh:Shape
24
+ a rdfs:Class ;
25
+ rdfs:label "Shape"@en ;
26
+ rdfs:comment "A shape is a collection of constraints that may be targeted for certain nodes."@en ;
27
+ rdfs:subClassOf rdfs:Resource ;
28
+ rdfs:isDefinedBy sh: .
29
+
30
+ sh:NodeShape
31
+ a rdfs:Class ;
32
+ rdfs:label "Node Shape"@en ;
33
+ rdfs:comment "A node shape is a shape that specifies constraint that need to be met with respect to focus nodes."@en ;
34
+ rdfs:subClassOf sh:Shape ;
35
+ rdfs:isDefinedBy sh: .
36
+
37
+ sh:PropertyShape
38
+ a rdfs:Class ;
39
+ rdfs:label "Property Shape"@en ;
40
+ 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 ;
41
+ rdfs:subClassOf sh:Shape ;
42
+ rdfs:isDefinedBy sh: .
43
+
44
+ sh:deactivated
45
+ a rdf:Property ;
46
+ rdfs:label "deactivated"@en ;
47
+ rdfs:comment "If set to true then all nodes conform to this."@en ;
48
+ # rdfs:domain sh:Shape or sh:SPARQLConstraint
49
+ rdfs:range xsd:boolean ;
50
+ rdfs:isDefinedBy sh: .
51
+
52
+ sh:targetClass
53
+ a rdf:Property ;
54
+ rdfs:label "target class"@en ;
55
+ rdfs:comment "Links a shape to a class, indicating that all instances of the class must conform to the shape."@en ;
56
+ rdfs:domain sh:Shape ;
57
+ rdfs:range rdfs:Class ;
58
+ rdfs:isDefinedBy sh: .
59
+
60
+ sh:targetNode
61
+ a rdf:Property ;
62
+ rdfs:label "target node"@en ;
63
+ rdfs:comment "Links a shape to individual nodes, indicating that these nodes must conform to the shape."@en ;
64
+ rdfs:domain sh:Shape ;
65
+ rdfs:isDefinedBy sh: .
66
+
67
+ sh:targetObjectsOf
68
+ a rdf:Property ;
69
+ rdfs:label "target objects of"@en ;
70
+ 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 ;
71
+ rdfs:domain sh:Shape ;
72
+ rdfs:range rdf:Property ;
73
+ rdfs:isDefinedBy sh: .
74
+
75
+ sh:targetSubjectsOf
76
+ a rdf:Property ;
77
+ rdfs:label "target subjects of"@en ;
78
+ 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 ;
79
+ rdfs:domain sh:Shape ;
80
+ rdfs:range rdf:Property ;
81
+ rdfs:isDefinedBy sh: .
82
+
83
+ sh:message
84
+ a rdf:Property ;
85
+ # domain: sh:Shape or sh:SPARQLConstraint or sh:SPARQLSelectValidator or sh:SPARQLAskValidator
86
+ # range: xsd:string or rdf:langString
87
+ rdfs:label "message"@en ;
88
+ rdfs:comment "A human-readable message (possibly with placeholders for variables) explaining the cause of the result."@en ;
89
+ rdfs:isDefinedBy sh: .
90
+
91
+ sh:severity
92
+ a rdf:Property ;
93
+ rdfs:label "severity"@en ;
94
+ rdfs:comment "Defines the severity that validation results produced by a shape must have. Defaults to sh:Violation."@en ;
95
+ rdfs:domain sh:Shape ;
96
+ rdfs:range sh:Severity ;
97
+ rdfs:isDefinedBy sh: .
98
+
99
+
100
+ # Node kind vocabulary --------------------------------------------------------
101
+
102
+ sh:NodeKind
103
+ a rdfs:Class ;
104
+ rdfs:label "Node Kind"@en ;
105
+ 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 ;
106
+ rdfs:subClassOf rdfs:Resource ;
107
+ rdfs:isDefinedBy sh: .
108
+
109
+ sh:BlankNode
110
+ a sh:NodeKind ;
111
+ rdfs:label "Blank Node"@en ;
112
+ rdfs:comment "The node kind of all blank nodes."@en ;
113
+ rdfs:isDefinedBy sh: .
114
+
115
+ sh:BlankNodeOrIRI
116
+ a sh:NodeKind ;
117
+ rdfs:label "Blank Node or IRI"@en ;
118
+ rdfs:comment "The node kind of all blank nodes or IRIs."@en ;
119
+ rdfs:isDefinedBy sh: .
120
+
121
+ sh:BlankNodeOrLiteral
122
+ a sh:NodeKind ;
123
+ rdfs:label "Blank Node or Literal"@en ;
124
+ rdfs:comment "The node kind of all blank nodes or literals."@en ;
125
+ rdfs:isDefinedBy sh: .
126
+
127
+ sh:IRI
128
+ a sh:NodeKind ;
129
+ rdfs:label "IRI"@en ;
130
+ rdfs:comment "The node kind of all IRIs."@en ;
131
+ rdfs:isDefinedBy sh: .
132
+
133
+ sh:IRIOrLiteral
134
+ a sh:NodeKind ;
135
+ rdfs:label "IRI or Literal"@en ;
136
+ rdfs:comment "The node kind of all IRIs or literals."@en ;
137
+ rdfs:isDefinedBy sh: .
138
+
139
+ sh:Literal
140
+ a sh:NodeKind ;
141
+ rdfs:label "Literal"@en ;
142
+ rdfs:comment "The node kind of all literals."@en ;
143
+ rdfs:isDefinedBy sh: .
144
+
145
+
146
+ # Results vocabulary ----------------------------------------------------------
147
+
148
+ sh:ValidationReport
149
+ a rdfs:Class ;
150
+ rdfs:label "Validation Report"@en ;
151
+ rdfs:comment "The class of SHACL validation reports."@en ;
152
+ rdfs:subClassOf rdfs:Resource ;
153
+ rdfs:isDefinedBy sh: .
154
+
155
+ sh:conforms
156
+ a rdf:Property ;
157
+ rdfs:label "conforms"@en ;
158
+ rdfs:comment "True if the validation did not produce any validation results, and false otherwise."@en ;
159
+ rdfs:domain sh:ValidationReport ;
160
+ rdfs:range xsd:boolean ;
161
+ rdfs:isDefinedBy sh: .
162
+
163
+ sh:result
164
+ a rdf:Property ;
165
+ rdfs:label "result"@en ;
166
+ rdfs:comment "The validation results contained in a validation report."@en ;
167
+ rdfs:domain sh:ValidationReport ;
168
+ rdfs:range sh:ValidationResult ;
169
+ rdfs:isDefinedBy sh: .
170
+
171
+ sh:shapesGraphWellFormed
172
+ a rdf:Property ;
173
+ rdfs:label "shapes graph well-formed"@en ;
174
+ 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 ;
175
+ rdfs:domain sh:ValidationReport ;
176
+ rdfs:range xsd:boolean ;
177
+ rdfs:isDefinedBy sh: .
178
+
179
+ sh:AbstractResult
180
+ a rdfs:Class ;
181
+ rdfs:label "Abstract Result"@en ;
182
+ rdfs:comment "The base class of validation results, typically not instantiated directly."@en ;
183
+ rdfs:subClassOf rdfs:Resource ;
184
+ rdfs:isDefinedBy sh: .
185
+
186
+ sh:ValidationResult
187
+ a rdfs:Class ;
188
+ rdfs:label "Validation Result"@en ;
189
+ rdfs:comment "The class of validation results."@en ;
190
+ rdfs:subClassOf sh:AbstractResult ;
191
+ rdfs:isDefinedBy sh: .
192
+
193
+ sh:Severity
194
+ a rdfs:Class ;
195
+ rdfs:label "Severity"@en ;
196
+ rdfs:comment "The class of validation result severity levels, including violation and warning levels."@en ;
197
+ rdfs:subClassOf rdfs:Resource ;
198
+ rdfs:isDefinedBy sh: .
199
+
200
+ sh:Info
201
+ a sh:Severity ;
202
+ rdfs:label "Info"@en ;
203
+ rdfs:comment "The severity for an informational validation result."@en ;
204
+ rdfs:isDefinedBy sh: .
205
+
206
+ sh:Violation
207
+ a sh:Severity ;
208
+ rdfs:label "Violation"@en ;
209
+ rdfs:comment "The severity for a violation validation result."@en ;
210
+ rdfs:isDefinedBy sh: .
211
+
212
+ sh:Warning
213
+ a sh:Severity ;
214
+ rdfs:label "Warning"@en ;
215
+ rdfs:comment "The severity for a warning validation result."@en ;
216
+ rdfs:isDefinedBy sh: .
217
+
218
+ sh:detail
219
+ a rdf:Property ;
220
+ rdfs:label "detail"@en ;
221
+ rdfs:comment "Links a result with other results that provide more details, for example to describe violations against nested shapes."@en ;
222
+ rdfs:domain sh:AbstractResult ;
223
+ rdfs:range sh:AbstractResult ;
224
+ rdfs:isDefinedBy sh: .
225
+
226
+ sh:focusNode
227
+ a rdf:Property ;
228
+ rdfs:label "focus node"@en ;
229
+ rdfs:comment "The focus node that was validated when the result was produced."@en ;
230
+ rdfs:domain sh:AbstractResult ;
231
+ rdfs:isDefinedBy sh: .
232
+
233
+ sh:resultMessage
234
+ a rdf:Property ;
235
+ rdfs:label "result message"@en ;
236
+ rdfs:comment "Human-readable messages explaining the cause of the result."@en ;
237
+ rdfs:domain sh:AbstractResult ;
238
+ # range: xsd:string or rdf:langString
239
+ rdfs:isDefinedBy sh: .
240
+
241
+ sh:resultPath
242
+ a rdf:Property ;
243
+ rdfs:label "result path"@en ;
244
+ rdfs:comment "The path of a validation result, based on the path of the validated property shape."@en ;
245
+ rdfs:domain sh:AbstractResult ;
246
+ rdfs:range rdfs:Resource ;
247
+ rdfs:isDefinedBy sh: .
248
+
249
+ sh:resultSeverity
250
+ a rdf:Property ;
251
+ rdfs:label "result severity"@en ;
252
+ rdfs:comment "The severity of the result, e.g. warning."@en ;
253
+ rdfs:domain sh:AbstractResult ;
254
+ rdfs:range sh:Severity ;
255
+ rdfs:isDefinedBy sh: .
256
+
257
+ sh:sourceConstraint
258
+ a rdf:Property ;
259
+ rdfs:label "source constraint"@en ;
260
+ rdfs:comment "The constraint that was validated when the result was produced."@en ;
261
+ rdfs:domain sh:AbstractResult ;
262
+ rdfs:isDefinedBy sh: .
263
+
264
+ sh:sourceShape
265
+ a rdf:Property ;
266
+ rdfs:label "source shape"@en ;
267
+ rdfs:comment "The shape that is was validated when the result was produced."@en ;
268
+ rdfs:domain sh:AbstractResult ;
269
+ rdfs:range sh:Shape ;
270
+ rdfs:isDefinedBy sh: .
271
+
272
+ sh:sourceConstraintComponent
273
+ a rdf:Property ;
274
+ rdfs:label "source Constraint Component"@en ;
275
+ rdfs:comment "The constraint component that is the source of the result."@en ;
276
+ rdfs:domain sh:AbstractResult ;
277
+ rdfs:range sh:ConstraintComponent ;
278
+ rdfs:isDefinedBy sh: .
279
+
280
+ sh:value
281
+ a rdf:Property ;
282
+ rdfs:label "value"@en ;
283
+ rdfs:comment "An RDF node that has caused the result."@en ;
284
+ rdfs:domain sh:AbstractResult ;
285
+ rdfs:isDefinedBy sh: .
286
+
287
+
288
+ # Graph properties ------------------------------------------------------------
289
+
290
+ sh:shapesGraph
291
+ a rdf:Property ;
292
+ rdfs:label "shapes graph"@en ;
293
+ rdfs:comment "Shapes graphs that should be used when validating this data graph."@en ;
294
+ rdfs:domain owl:Ontology ;
295
+ rdfs:range owl:Ontology ;
296
+ rdfs:isDefinedBy sh: .
297
+
298
+ sh:suggestedShapesGraph
299
+ a rdf:Property ;
300
+ rdfs:label "suggested shapes graph"@en ;
301
+ 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 ;
302
+ rdfs:domain owl:Ontology ;
303
+ rdfs:range owl:Ontology ;
304
+ rdfs:isDefinedBy sh: .
305
+
306
+ sh:entailment
307
+ a rdf:Property ;
308
+ rdfs:label "entailment"@en ;
309
+ rdfs:comment "An entailment regime that indicates what kind of inferencing is required by a shapes graph."@en ;
310
+ rdfs:domain owl:Ontology ;
311
+ rdfs:range rdfs:Resource ;
312
+ rdfs:isDefinedBy sh: .
313
+
314
+
315
+ # Path vocabulary -------------------------------------------------------------
316
+
317
+ sh:path
318
+ a rdf:Property ;
319
+ rdfs:label "path"@en ;
320
+ rdfs:comment "Specifies the property path of a property shape."@en ;
321
+ rdfs:domain sh:PropertyShape ;
322
+ rdfs:range rdfs:Resource ;
323
+ rdfs:isDefinedBy sh: .
324
+
325
+ sh:inversePath
326
+ a rdf:Property ;
327
+ rdfs:label "inverse path"@en ;
328
+ rdfs:comment "The (single) value of this property represents an inverse path (object to subject)."@en ;
329
+ rdfs:range rdfs:Resource ;
330
+ rdfs:isDefinedBy sh: .
331
+
332
+ sh:alternativePath
333
+ a rdf:Property ;
334
+ rdfs:label "alternative path"@en ;
335
+ rdfs:comment "The (single) value of this property must be a list of path elements, representing the elements of alternative paths."@en ;
336
+ rdfs:range rdf:List ;
337
+ rdfs:isDefinedBy sh: .
338
+
339
+ sh:zeroOrMorePath
340
+ a rdf:Property ;
341
+ rdfs:label "zero or more path"@en ;
342
+ rdfs:comment "The (single) value of this property represents a path that is matched zero or more times."@en ;
343
+ rdfs:range rdfs:Resource ;
344
+ rdfs:isDefinedBy sh: .
345
+
346
+ sh:oneOrMorePath
347
+ a rdf:Property ;
348
+ rdfs:label "one or more path"@en ;
349
+ rdfs:comment "The (single) value of this property represents a path that is matched one or more times."@en ;
350
+ rdfs:range rdfs:Resource ;
351
+ rdfs:isDefinedBy sh: .
352
+
353
+ sh:zeroOrOnePath
354
+ a rdf:Property ;
355
+ rdfs:label "zero or one path"@en ;
356
+ rdfs:comment "The (single) value of this property represents a path that is matched zero or one times."@en ;
357
+ rdfs:range rdfs:Resource ;
358
+ rdfs:isDefinedBy sh: .
359
+
360
+
361
+ # Parameters metamodel --------------------------------------------------------
362
+
363
+ sh:Parameterizable
364
+ a rdfs:Class ;
365
+ rdfs:label "Parameterizable"@en ;
366
+ rdfs:comment "Superclass of components that can take parameters, especially functions and constraint components."@en ;
367
+ rdfs:subClassOf rdfs:Resource ;
368
+ rdfs:isDefinedBy sh: .
369
+
370
+ sh:parameter
371
+ a rdf:Property ;
372
+ rdfs:label "parameter"@en ;
373
+ rdfs:comment "The parameters of a function or constraint component."@en ;
374
+ rdfs:domain sh:Parameterizable ;
375
+ rdfs:range sh:Parameter ;
376
+ rdfs:isDefinedBy sh: .
377
+
378
+ sh:labelTemplate
379
+ a rdf:Property ;
380
+ rdfs:label "label template"@en ;
381
+ 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 ;
382
+ rdfs:domain sh:Parameterizable ;
383
+ # range: xsd:string or rdf:langString
384
+ rdfs:isDefinedBy sh: .
385
+
386
+ sh:Parameter
387
+ a rdfs:Class ;
388
+ rdfs:label "Parameter"@en ;
389
+ rdfs:comment "The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics."@en ;
390
+ rdfs:subClassOf sh:PropertyShape ;
391
+ rdfs:isDefinedBy sh: .
392
+
393
+ sh:optional
394
+ a rdf:Property ;
395
+ rdfs:label "optional"@en ;
396
+ rdfs:comment "Indicates whether a parameter is optional."@en ;
397
+ rdfs:domain sh:Parameter ;
398
+ rdfs:range xsd:boolean ;
399
+ rdfs:isDefinedBy sh: .
400
+
401
+
402
+ # Constraint components metamodel ---------------------------------------------
403
+
404
+ sh:ConstraintComponent
405
+ a rdfs:Class ;
406
+ rdfs:label "Constraint Component"@en ;
407
+ rdfs:comment "The class of constraint components."@en ;
408
+ rdfs:subClassOf sh:Parameterizable ;
409
+ rdfs:isDefinedBy sh: .
410
+
411
+ sh:validator
412
+ a rdf:Property ;
413
+ rdfs:label "validator"@en ;
414
+ rdfs:comment "The validator(s) used to evaluate constraints of either node or property shapes."@en ;
415
+ rdfs:domain sh:ConstraintComponent ;
416
+ rdfs:range sh:Validator ;
417
+ rdfs:isDefinedBy sh: .
418
+
419
+ sh:nodeValidator
420
+ a rdf:Property ;
421
+ rdfs:label "shape validator"@en ;
422
+ rdfs:comment "The validator(s) used to evaluate a constraint in the context of a node shape."@en ;
423
+ rdfs:domain sh:ConstraintComponent ;
424
+ rdfs:range sh:Validator ;
425
+ rdfs:isDefinedBy sh: .
426
+
427
+ sh:propertyValidator
428
+ a rdf:Property ;
429
+ rdfs:label "property validator"@en ;
430
+ rdfs:comment "The validator(s) used to evaluate a constraint in the context of a property shape."@en ;
431
+ rdfs:domain sh:ConstraintComponent ;
432
+ rdfs:range sh:Validator ;
433
+ rdfs:isDefinedBy sh: .
434
+
435
+ sh:Validator
436
+ a rdfs:Class ;
437
+ rdfs:label "Validator"@en ;
438
+ 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 ;
439
+ rdfs:subClassOf rdfs:Resource ;
440
+ rdfs:isDefinedBy sh: .
441
+
442
+ sh:SPARQLAskValidator
443
+ a rdfs:Class ;
444
+ rdfs:label "SPARQL ASK Validator"@en ;
445
+ 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 ;
446
+ rdfs:subClassOf sh:Validator ;
447
+ rdfs:subClassOf sh:SPARQLAskExecutable ;
448
+ rdfs:isDefinedBy sh: .
449
+
450
+ sh:SPARQLSelectValidator
451
+ a rdfs:Class ;
452
+ rdfs:label "SPARQL SELECT Validator"@en ;
453
+ 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 ;
454
+ rdfs:subClassOf sh:Validator ;
455
+ rdfs:subClassOf sh:SPARQLSelectExecutable ;
456
+ rdfs:isDefinedBy sh: .
457
+
458
+
459
+ # Library of Core Constraint Components and their properties ------------------
460
+
461
+ sh:AndConstraintComponent
462
+ a sh:ConstraintComponent ;
463
+ rdfs:label "And Constraint Component"@en ;
464
+ 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 ;
465
+ sh:parameter sh:AndConstraintComponent-and ;
466
+ rdfs:isDefinedBy sh: .
467
+
468
+ sh:AndConstraintComponent-and
469
+ a sh:Parameter ;
470
+ sh:path sh:and ;
471
+ rdfs:isDefinedBy sh: .
472
+
473
+ sh:and
474
+ a rdf:Property ;
475
+ rdfs:label "and"@en ;
476
+ rdfs:comment "RDF list of shapes to validate the value nodes against."@en ;
477
+ rdfs:range rdf:List ;
478
+ rdfs:isDefinedBy sh: .
479
+
480
+
481
+ sh:ClassConstraintComponent
482
+ a sh:ConstraintComponent ;
483
+ rdfs:label "Class Constraint Component"@en ;
484
+ rdfs:comment "A constraint component that can be used to verify that each value node is an instance of a given type."@en ;
485
+ sh:parameter sh:ClassConstraintComponent-class ;
486
+ rdfs:isDefinedBy sh: .
487
+
488
+ sh:ClassConstraintComponent-class
489
+ a sh:Parameter ;
490
+ sh:path sh:class ;
491
+ sh:nodeKind sh:IRI ;
492
+ rdfs:isDefinedBy sh: .
493
+
494
+ sh:class
495
+ a rdf:Property ;
496
+ rdfs:label "class"@en ;
497
+ rdfs:comment "The type that all value nodes must have."@en ;
498
+ rdfs:range rdfs:Class ;
499
+ rdfs:isDefinedBy sh: .
500
+
501
+
502
+ sh:ClosedConstraintComponent
503
+ a sh:ConstraintComponent ;
504
+ rdfs:label "Closed Constraint Component"@en ;
505
+ 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 ;
506
+ sh:parameter sh:ClosedConstraintComponent-closed ;
507
+ sh:parameter sh:ClosedConstraintComponent-ignoredProperties ;
508
+ rdfs:isDefinedBy sh: .
509
+
510
+ sh:ClosedConstraintComponent-closed
511
+ a sh:Parameter ;
512
+ sh:path sh:closed ;
513
+ sh:datatype xsd:boolean ;
514
+ rdfs:isDefinedBy sh: .
515
+
516
+ sh:ClosedConstraintComponent-ignoredProperties
517
+ a sh:Parameter ;
518
+ sh:path sh:ignoredProperties ;
519
+ sh:optional true ;
520
+ rdfs:isDefinedBy sh: .
521
+
522
+ sh:closed
523
+ a rdf:Property ;
524
+ rdfs:label "closed"@en ;
525
+ rdfs:comment "If set to true then the shape is closed."@en ;
526
+ rdfs:range xsd:boolean ;
527
+ rdfs:isDefinedBy sh: .
528
+
529
+ sh:ignoredProperties
530
+ a rdf:Property ;
531
+ rdfs:label "ignored properties"@en ;
532
+ rdfs:comment "An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path."@en ;
533
+ rdfs:range rdf:List ; # members: rdf:Property
534
+ rdfs:isDefinedBy sh: .
535
+
536
+
537
+ sh:DatatypeConstraintComponent
538
+ a sh:ConstraintComponent ;
539
+ rdfs:label "Datatype Constraint Component"@en ;
540
+ rdfs:comment "A constraint component that can be used to restrict the datatype of all value nodes."@en ;
541
+ sh:parameter sh:DatatypeConstraintComponent-datatype ;
542
+ rdfs:isDefinedBy sh: .
543
+
544
+ sh:DatatypeConstraintComponent-datatype
545
+ a sh:Parameter ;
546
+ sh:path sh:datatype ;
547
+ sh:nodeKind sh:IRI ;
548
+ sh:maxCount 1 ;
549
+ rdfs:isDefinedBy sh: .
550
+
551
+ sh:datatype
552
+ a rdf:Property ;
553
+ rdfs:label "datatype"@en ;
554
+ rdfs:comment "Specifies an RDF datatype that all value nodes must have."@en ;
555
+ rdfs:range rdfs:Datatype ;
556
+ rdfs:isDefinedBy sh: .
557
+
558
+
559
+ sh:DisjointConstraintComponent
560
+ a sh:ConstraintComponent ;
561
+ rdfs:label "Disjoint Constraint Component"@en ;
562
+ 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 ;
563
+ sh:parameter sh:DisjointConstraintComponent-disjoint ;
564
+ rdfs:isDefinedBy sh: .
565
+
566
+ sh:DisjointConstraintComponent-disjoint
567
+ a sh:Parameter ;
568
+ sh:path sh:disjoint ;
569
+ sh:nodeKind sh:IRI ;
570
+ rdfs:isDefinedBy sh: .
571
+
572
+ sh:disjoint
573
+ a rdf:Property ;
574
+ rdfs:label "disjoint"@en ;
575
+ rdfs:comment "Specifies a property where the set of values must be disjoint with the value nodes."@en ;
576
+ rdfs:range rdf:Property ;
577
+ rdfs:isDefinedBy sh: .
578
+
579
+
580
+ sh:EqualsConstraintComponent
581
+ a sh:ConstraintComponent ;
582
+ rdfs:label "Equals Constraint Component"@en ;
583
+ 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 ;
584
+ sh:parameter sh:EqualsConstraintComponent-equals ;
585
+ rdfs:isDefinedBy sh: .
586
+
587
+ sh:EqualsConstraintComponent-equals
588
+ a sh:Parameter ;
589
+ sh:path sh:equals ;
590
+ sh:nodeKind sh:IRI ;
591
+ rdfs:isDefinedBy sh: .
592
+
593
+ sh:equals
594
+ a rdf:Property ;
595
+ rdfs:label "equals"@en ;
596
+ rdfs:comment "Specifies a property that must have the same values as the value nodes."@en ;
597
+ rdfs:range rdf:Property ;
598
+ rdfs:isDefinedBy sh: .
599
+
600
+
601
+ sh:HasValueConstraintComponent
602
+ a sh:ConstraintComponent ;
603
+ rdfs:label "Has-value Constraint Component"@en ;
604
+ rdfs:comment "A constraint component that can be used to verify that one of the value nodes is a given RDF node."@en ;
605
+ sh:parameter sh:HasValueConstraintComponent-hasValue ;
606
+ rdfs:isDefinedBy sh: .
607
+
608
+ sh:HasValueConstraintComponent-hasValue
609
+ a sh:Parameter ;
610
+ sh:path sh:hasValue ;
611
+ rdfs:isDefinedBy sh: .
612
+
613
+ sh:hasValue
614
+ a rdf:Property ;
615
+ rdfs:label "has value"@en ;
616
+ rdfs:comment "Specifies a value that must be among the value nodes."@en ;
617
+ rdfs:isDefinedBy sh: .
618
+
619
+
620
+ sh:InConstraintComponent
621
+ a sh:ConstraintComponent ;
622
+ rdfs:label "In Constraint Component"@en ;
623
+ rdfs:comment "A constraint component that can be used to exclusively enumerate the permitted value nodes."@en ;
624
+ sh:parameter sh:InConstraintComponent-in ;
625
+ rdfs:isDefinedBy sh: .
626
+
627
+ sh:InConstraintComponent-in
628
+ a sh:Parameter ;
629
+ sh:path sh:in ;
630
+ sh:maxCount 1 ;
631
+ rdfs:isDefinedBy sh: .
632
+
633
+ sh:in
634
+ a rdf:Property ;
635
+ rdfs:label "in"@en ;
636
+ rdfs:comment "Specifies a list of allowed values so that each value node must be among the members of the given list."@en ;
637
+ rdfs:range rdf:List ;
638
+ rdfs:isDefinedBy sh: .
639
+
640
+
641
+ sh:LanguageInConstraintComponent
642
+ a sh:ConstraintComponent ;
643
+ rdfs:label "Language-in Constraint Component"@en ;
644
+ rdfs:comment "A constraint component that can be used to enumerate language tags that all value nodes must have."@en ;
645
+ sh:parameter sh:LanguageInConstraintComponent-languageIn ;
646
+ rdfs:isDefinedBy sh: .
647
+
648
+ sh:LanguageInConstraintComponent-languageIn
649
+ a sh:Parameter ;
650
+ sh:path sh:languageIn ;
651
+ sh:maxCount 1 ;
652
+ rdfs:isDefinedBy sh: .
653
+
654
+ sh:languageIn
655
+ a rdf:Property ;
656
+ rdfs:label "language in"@en ;
657
+ rdfs:comment "Specifies a list of language tags that all value nodes must have."@en ;
658
+ rdfs:range rdf:List ; # members: xsd:string
659
+ rdfs:isDefinedBy sh: .
660
+
661
+
662
+ sh:LessThanConstraintComponent
663
+ a sh:ConstraintComponent ;
664
+ rdfs:label "Less-than Constraint Component"@en ;
665
+ 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 ;
666
+ sh:parameter sh:LessThanConstraintComponent-lessThan ;
667
+ rdfs:isDefinedBy sh: .
668
+
669
+ sh:LessThanConstraintComponent-lessThan
670
+ a sh:Parameter ;
671
+ sh:path sh:lessThan ;
672
+ sh:nodeKind sh:IRI ;
673
+ rdfs:isDefinedBy sh: .
674
+
675
+ sh:lessThan
676
+ a rdf:Property ;
677
+ rdfs:label "less than"@en ;
678
+ rdfs:comment "Specifies a property that must have smaller values than the value nodes."@en ;
679
+ rdfs:range rdf:Property ;
680
+ rdfs:isDefinedBy sh: .
681
+
682
+
683
+ sh:LessThanOrEqualsConstraintComponent
684
+ a sh:ConstraintComponent ;
685
+ rdfs:label "Less-than-or-equals Constraint Component"@en ;
686
+ 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 ;
687
+ sh:parameter sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals ;
688
+ rdfs:isDefinedBy sh: .
689
+
690
+ sh:LessThanOrEqualsConstraintComponent-lessThanOrEquals
691
+ a sh:Parameter ;
692
+ sh:path sh:lessThanOrEquals ;
693
+ sh:nodeKind sh:IRI ;
694
+ rdfs:isDefinedBy sh: .
695
+
696
+ sh:lessThanOrEquals
697
+ a rdf:Property ;
698
+ rdfs:label "less than or equals"@en ;
699
+ rdfs:comment "Specifies a property that must have smaller or equal values than the value nodes."@en ;
700
+ rdfs:range rdf:Property ;
701
+ rdfs:isDefinedBy sh: .
702
+
703
+
704
+ sh:MaxCountConstraintComponent
705
+ a sh:ConstraintComponent ;
706
+ rdfs:label "Max-count Constraint ConstraintComponentomponent"@en ;
707
+ rdfs:comment "A constraint component that can be used to restrict the maximum number of value nodes."@en ;
708
+ sh:parameter sh:MaxCountConstraintComponent-maxCount ;
709
+ rdfs:isDefinedBy sh: .
710
+
711
+ sh:MaxCountConstraintComponent-maxCount
712
+ a sh:Parameter ;
713
+ sh:path sh:maxCount ;
714
+ sh:datatype xsd:integer ;
715
+ sh:maxCount 1 ;
716
+ rdfs:isDefinedBy sh: .
717
+
718
+ sh:maxCount
719
+ a rdf:Property ;
720
+ rdfs:label "max count"@en ;
721
+ rdfs:comment "Specifies the maximum number of values in the set of value nodes."@en ;
722
+ rdfs:range xsd:integer ;
723
+ rdfs:isDefinedBy sh: .
724
+
725
+
726
+ sh:MaxExclusiveConstraintComponent
727
+ a sh:ConstraintComponent ;
728
+ rdfs:label "Max-exclusive Constraint Component"@en ;
729
+ rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a maximum exclusive value."@en ;
730
+ sh:parameter sh:MaxExclusiveConstraintComponent-maxExclusive ;
731
+ rdfs:isDefinedBy sh: .
732
+
733
+ sh:MaxExclusiveConstraintComponent-maxExclusive
734
+ a sh:Parameter ;
735
+ sh:path sh:maxExclusive ;
736
+ sh:maxCount 1 ;
737
+ sh:nodeKind sh:Literal ;
738
+ rdfs:isDefinedBy sh: .
739
+
740
+ sh:maxExclusive
741
+ a rdf:Property ;
742
+ rdfs:label "max exclusive"@en ;
743
+ rdfs:comment "Specifies the maximum exclusive value of each value node."@en ;
744
+ rdfs:isDefinedBy sh: .
745
+
746
+
747
+ sh:MaxInclusiveConstraintComponent
748
+ a sh:ConstraintComponent ;
749
+ rdfs:label "Max-inclusive Constraint Component"@en ;
750
+ rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a maximum inclusive value."@en ;
751
+ sh:parameter sh:MaxInclusiveConstraintComponent-maxInclusive ;
752
+ rdfs:isDefinedBy sh: .
753
+
754
+ sh:MaxInclusiveConstraintComponent-maxInclusive
755
+ a sh:Parameter ;
756
+ sh:path sh:maxInclusive ;
757
+ sh:maxCount 1 ;
758
+ sh:nodeKind sh:Literal ;
759
+ rdfs:isDefinedBy sh: .
760
+
761
+ sh:maxInclusive
762
+ a rdf:Property ;
763
+ rdfs:label "max inclusive"@en ;
764
+ rdfs:comment "Specifies the maximum inclusive value of each value node."@en ;
765
+ rdfs:isDefinedBy sh: .
766
+
767
+
768
+ sh:MaxLengthConstraintComponent
769
+ a sh:ConstraintComponent ;
770
+ rdfs:label "Max-length Constraint Component"@en ;
771
+ rdfs:comment "A constraint component that can be used to restrict the maximum string length of value nodes."@en ;
772
+ sh:parameter sh:MaxLengthConstraintComponent-maxLength ;
773
+ rdfs:isDefinedBy sh: .
774
+
775
+ sh:MaxLengthConstraintComponent-maxLength
776
+ a sh:Parameter ;
777
+ sh:path sh:maxLength ;
778
+ sh:datatype xsd:integer ;
779
+ sh:maxCount 1 ;
780
+ rdfs:isDefinedBy sh: .
781
+
782
+ sh:maxLength
783
+ a rdf:Property ;
784
+ rdfs:label "max length"@en ;
785
+ rdfs:comment "Specifies the maximum string length of each value node."@en ;
786
+ rdfs:range xsd:integer ;
787
+ rdfs:isDefinedBy sh: .
788
+
789
+
790
+ sh:MinCountConstraintComponent
791
+ a sh:ConstraintComponent ;
792
+ rdfs:label "Min-count Constraint Component"@en ;
793
+ rdfs:comment "A constraint component that can be used to restrict the minimum number of value nodes."@en ;
794
+ sh:parameter sh:MinCountConstraintComponent-minCount ;
795
+ rdfs:isDefinedBy sh: .
796
+
797
+ sh:MinCountConstraintComponent-minCount
798
+ a sh:Parameter ;
799
+ sh:path sh:minCount ;
800
+ sh:datatype xsd:integer ;
801
+ sh:maxCount 1 ;
802
+ rdfs:isDefinedBy sh: .
803
+
804
+ sh:minCount
805
+ a rdf:Property ;
806
+ rdfs:label "min count"@en ;
807
+ rdfs:comment "Specifies the minimum number of values in the set of value nodes."@en ;
808
+ rdfs:range xsd:integer ;
809
+ rdfs:isDefinedBy sh: .
810
+
811
+
812
+ sh:MinExclusiveConstraintComponent
813
+ a sh:ConstraintComponent ;
814
+ rdfs:label "Min-exclusive Constraint Component"@en ;
815
+ rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a minimum exclusive value."@en ;
816
+ sh:parameter sh:MinExclusiveConstraintComponent-minExclusive ;
817
+ rdfs:isDefinedBy sh: .
818
+
819
+ sh:MinExclusiveConstraintComponent-minExclusive
820
+ a sh:Parameter ;
821
+ sh:path sh:minExclusive ;
822
+ sh:maxCount 1 ;
823
+ sh:nodeKind sh:Literal ;
824
+ rdfs:isDefinedBy sh: .
825
+
826
+ sh:minExclusive
827
+ a rdf:Property ;
828
+ rdfs:label "min exclusive"@en ;
829
+ rdfs:comment "Specifies the minimum exclusive value of each value node."@en ;
830
+ rdfs:isDefinedBy sh: .
831
+
832
+
833
+ sh:MinInclusiveConstraintComponent
834
+ a sh:ConstraintComponent ;
835
+ rdfs:label "Min-inclusive Constraint Component"@en ;
836
+ rdfs:comment "A constraint component that can be used to restrict the range of value nodes with a minimum inclusive value."@en ;
837
+ sh:parameter sh:MinInclusiveConstraintComponent-minInclusive ;
838
+ rdfs:isDefinedBy sh: .
839
+
840
+ sh:MinInclusiveConstraintComponent-minInclusive
841
+ a sh:Parameter ;
842
+ sh:path sh:minInclusive ;
843
+ sh:maxCount 1 ;
844
+ sh:nodeKind sh:Literal ;
845
+ rdfs:isDefinedBy sh: .
846
+
847
+ sh:minInclusive
848
+ a rdf:Property ;
849
+ rdfs:label "min inclusive"@en ;
850
+ rdfs:comment "Specifies the minimum inclusive value of each value node."@en ;
851
+ rdfs:isDefinedBy sh: .
852
+
853
+
854
+ sh:MinLengthConstraintComponent
855
+ a sh:ConstraintComponent ;
856
+ rdfs:label "Min-length Constraint Component"@en ;
857
+ rdfs:comment "A constraint component that can be used to restrict the minimum string length of value nodes."@en ;
858
+ sh:parameter sh:MinLengthConstraintComponent-minLength ;
859
+ rdfs:isDefinedBy sh: .
860
+
861
+ sh:MinLengthConstraintComponent-minLength
862
+ a sh:Parameter ;
863
+ sh:path sh:minLength ;
864
+ sh:datatype xsd:integer ;
865
+ sh:maxCount 1 ;
866
+ rdfs:isDefinedBy sh: .
867
+
868
+ sh:minLength
869
+ a rdf:Property ;
870
+ rdfs:label "min length"@en ;
871
+ rdfs:comment "Specifies the minimum string length of each value node."@en ;
872
+ rdfs:range xsd:integer ;
873
+ rdfs:isDefinedBy sh: .
874
+
875
+
876
+ sh:NodeConstraintComponent
877
+ a sh:ConstraintComponent ;
878
+ rdfs:label "Node Constraint Component"@en ;
879
+ rdfs:comment "A constraint component that can be used to verify that all value nodes conform to the given node shape."@en ;
880
+ sh:parameter sh:NodeConstraintComponent-node ;
881
+ rdfs:isDefinedBy sh: .
882
+
883
+ sh:NodeConstraintComponent-node
884
+ a sh:Parameter ;
885
+ sh:path sh:node ;
886
+ rdfs:isDefinedBy sh: .
887
+
888
+ sh:node
889
+ a rdf:Property ;
890
+ rdfs:label "node"@en ;
891
+ rdfs:comment "Specifies the node shape that all value nodes must conform to."@en ;
892
+ rdfs:range sh:NodeShape ;
893
+ rdfs:isDefinedBy sh: .
894
+
895
+
896
+ sh:NodeKindConstraintComponent
897
+ a sh:ConstraintComponent ;
898
+ rdfs:label "Node-kind Constraint Component"@en ;
899
+ rdfs:comment "A constraint component that can be used to restrict the RDF node kind of each value node."@en ;
900
+ sh:parameter sh:NodeKindConstraintComponent-nodeKind ;
901
+ rdfs:isDefinedBy sh: .
902
+
903
+ sh:NodeKindConstraintComponent-nodeKind
904
+ a sh:Parameter ;
905
+ sh:path sh:nodeKind ;
906
+ sh:in ( sh:BlankNode sh:IRI sh:Literal sh:BlankNodeOrIRI sh:BlankNodeOrLiteral sh:IRIOrLiteral ) ;
907
+ sh:maxCount 1 ;
908
+ rdfs:isDefinedBy sh: .
909
+
910
+ sh:nodeKind
911
+ a rdf:Property ;
912
+ rdfs:label "node kind"@en ;
913
+ rdfs:comment "Specifies the node kind (e.g. IRI or literal) each value node."@en ;
914
+ rdfs:range sh:NodeKind ;
915
+ rdfs:isDefinedBy sh: .
916
+
917
+
918
+ sh:NotConstraintComponent
919
+ a sh:ConstraintComponent ;
920
+ rdfs:label "Not Constraint Component"@en ;
921
+ rdfs:comment "A constraint component that can be used to verify that value nodes do not conform to a given shape."@en ;
922
+ sh:parameter sh:NotConstraintComponent-not ;
923
+ rdfs:isDefinedBy sh: .
924
+
925
+ sh:NotConstraintComponent-not
926
+ a sh:Parameter ;
927
+ sh:path sh:not ;
928
+ rdfs:isDefinedBy sh: .
929
+
930
+ sh:not
931
+ a rdf:Property ;
932
+ rdfs:label "not"@en ;
933
+ rdfs:comment "Specifies a shape that the value nodes must not conform to."@en ;
934
+ rdfs:range sh:Shape ;
935
+ rdfs:isDefinedBy sh: .
936
+
937
+
938
+ sh:OrConstraintComponent
939
+ a sh:ConstraintComponent ;
940
+ rdfs:label "Or Constraint Component"@en ;
941
+ 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 ;
942
+ sh:parameter sh:OrConstraintComponent-or ;
943
+ rdfs:isDefinedBy sh: .
944
+
945
+ sh:OrConstraintComponent-or
946
+ a sh:Parameter ;
947
+ sh:path sh:or ;
948
+ rdfs:isDefinedBy sh: .
949
+
950
+ sh:or
951
+ a rdf:Property ;
952
+ rdfs:label "or"@en ;
953
+ rdfs:comment "Specifies a list of shapes so that the value nodes must conform to at least one of the shapes."@en ;
954
+ rdfs:range rdf:List ; # members: sh:Shape ;
955
+ rdfs:isDefinedBy sh: .
956
+
957
+
958
+ sh:PatternConstraintComponent
959
+ a sh:ConstraintComponent ;
960
+ rdfs:label "Pattern Constraint Component"@en ;
961
+ rdfs:comment "A constraint component that can be used to verify that every value node matches a given regular expression."@en ;
962
+ sh:parameter sh:PatternConstraintComponent-pattern ;
963
+ sh:parameter sh:PatternConstraintComponent-flags ;
964
+ rdfs:isDefinedBy sh: .
965
+
966
+ sh:PatternConstraintComponent-pattern
967
+ a sh:Parameter ;
968
+ sh:path sh:pattern ;
969
+ sh:datatype xsd:string ;
970
+ rdfs:isDefinedBy sh: .
971
+
972
+ sh:PatternConstraintComponent-flags
973
+ a sh:Parameter ;
974
+ sh:path sh:flags ;
975
+ sh:datatype xsd:string ;
976
+ sh:optional true ;
977
+ rdfs:isDefinedBy sh: .
978
+
979
+ sh:flags
980
+ a rdf:Property ;
981
+ rdfs:label "flags"@en ;
982
+ rdfs:comment "An optional flag to be used with regular expression pattern matching."@en ;
983
+ rdfs:range xsd:string ;
984
+ rdfs:isDefinedBy sh: .
985
+
986
+ sh:pattern
987
+ a rdf:Property ;
988
+ rdfs:label "pattern"@en ;
989
+ rdfs:comment "Specifies a regular expression pattern that the string representations of the value nodes must match."@en ;
990
+ rdfs:range xsd:string ;
991
+ rdfs:isDefinedBy sh: .
992
+
993
+
994
+ sh:PropertyConstraintComponent
995
+ a sh:ConstraintComponent ;
996
+ rdfs:label "Property Constraint Component"@en ;
997
+ rdfs:comment "A constraint component that can be used to verify that all value nodes conform to the given property shape."@en ;
998
+ sh:parameter sh:PropertyConstraintComponent-property ;
999
+ rdfs:isDefinedBy sh: .
1000
+
1001
+ sh:PropertyConstraintComponent-property
1002
+ a sh:Parameter ;
1003
+ sh:path sh:property ;
1004
+ rdfs:isDefinedBy sh: .
1005
+
1006
+ sh:property
1007
+ a rdf:Property ;
1008
+ rdfs:label "property"@en ;
1009
+ rdfs:comment "Links a shape to its property shapes."@en ;
1010
+ rdfs:domain sh:Shape ;
1011
+ rdfs:range sh:PropertyShape ;
1012
+ rdfs:isDefinedBy sh: .
1013
+
1014
+
1015
+ sh:QualifiedMaxCountConstraintComponent
1016
+ a sh:ConstraintComponent ;
1017
+ rdfs:label "Qualified-max-count Constraint Component"@en ;
1018
+ rdfs:comment "A constraint component that can be used to verify that a specified maximum number of value nodes conforms to a given shape."@en ;
1019
+ sh:parameter sh:QualifiedMaxCountConstraintComponent-qualifiedMaxCount ;
1020
+ sh:parameter sh:QualifiedMaxCountConstraintComponent-qualifiedValueShape ;
1021
+ sh:parameter sh:QualifiedMaxCountConstraintComponent-qualifiedValueShapesDisjoint ;
1022
+ rdfs:isDefinedBy sh: .
1023
+
1024
+ sh:QualifiedMaxCountConstraintComponent-qualifiedMaxCount
1025
+ a sh:Parameter ;
1026
+ sh:path sh:qualifiedMaxCount ;
1027
+ sh:datatype xsd:integer ;
1028
+ rdfs:isDefinedBy sh: .
1029
+
1030
+ sh:QualifiedMaxCountConstraintComponent-qualifiedValueShape
1031
+ a sh:Parameter ;
1032
+ sh:path sh:qualifiedValueShape ;
1033
+ rdfs:isDefinedBy sh: .
1034
+
1035
+ sh:QualifiedMaxCountConstraintComponent-qualifiedValueShapesDisjoint
1036
+ a sh:Parameter ;
1037
+ sh:path sh:qualifiedValueShapesDisjoint ;
1038
+ sh:datatype xsd:boolean ;
1039
+ sh:optional true ;
1040
+ rdfs:isDefinedBy sh: .
1041
+
1042
+
1043
+ sh:QualifiedMinCountConstraintComponent
1044
+ a sh:ConstraintComponent ;
1045
+ rdfs:label "Qualified-min-count Constraint Component"@en ;
1046
+ rdfs:comment "A constraint component that can be used to verify that a specified minimum number of value nodes conforms to a given shape."@en ;
1047
+ sh:parameter sh:QualifiedMinCountConstraintComponent-qualifiedMinCount ;
1048
+ sh:parameter sh:QualifiedMinCountConstraintComponent-qualifiedValueShape ;
1049
+ sh:parameter sh:QualifiedMinCountConstraintComponent-qualifiedValueShapesDisjoint ;
1050
+ rdfs:isDefinedBy sh: .
1051
+
1052
+ sh:QualifiedMinCountConstraintComponent-qualifiedMinCount
1053
+ a sh:Parameter ;
1054
+ sh:path sh:qualifiedMinCount ;
1055
+ sh:datatype xsd:integer ;
1056
+ rdfs:isDefinedBy sh: .
1057
+
1058
+ sh:QualifiedMinCountConstraintComponent-qualifiedValueShape
1059
+ a sh:Parameter ;
1060
+ sh:path sh:qualifiedValueShape ;
1061
+ rdfs:isDefinedBy sh: .
1062
+
1063
+ sh:QualifiedMinCountConstraintComponent-qualifiedValueShapesDisjoint
1064
+ a sh:Parameter ;
1065
+ sh:path sh:qualifiedValueShapesDisjoint ;
1066
+ sh:datatype xsd:boolean ;
1067
+ sh:optional true ;
1068
+ rdfs:isDefinedBy sh: .
1069
+
1070
+ sh:qualifiedMaxCount
1071
+ a rdf:Property ;
1072
+ rdfs:label "qualified max count"@en ;
1073
+ rdfs:comment "The maximum number of value nodes that can conform to the shape."@en ;
1074
+ rdfs:range xsd:integer ;
1075
+ rdfs:isDefinedBy sh: .
1076
+
1077
+ sh:qualifiedMinCount
1078
+ a rdf:Property ;
1079
+ rdfs:label "qualified min count"@en ;
1080
+ rdfs:comment "The minimum number of value nodes that must conform to the shape."@en ;
1081
+ rdfs:range xsd:integer ;
1082
+ rdfs:isDefinedBy sh: .
1083
+
1084
+ sh:qualifiedValueShape
1085
+ a rdf:Property ;
1086
+ rdfs:label "qualified value shape"@en ;
1087
+ rdfs:comment "The shape that a specified number of values must conform to."@en ;
1088
+ rdfs:range sh:Shape ;
1089
+ rdfs:isDefinedBy sh: .
1090
+
1091
+ sh:qualifiedValueShapesDisjoint
1092
+ a rdf:Property ;
1093
+ rdfs:label "qualified value shapes disjoint"@en ;
1094
+ rdfs:comment "Can be used to mark the qualified value shape to be disjoint with its sibling shapes."@en ;
1095
+ rdfs:range xsd:boolean ;
1096
+ rdfs:isDefinedBy sh: .
1097
+
1098
+
1099
+ sh:UniqueLangConstraintComponent
1100
+ a sh:ConstraintComponent ;
1101
+ rdfs:label "Unique-languages Constraint Component"@en ;
1102
+ rdfs:comment "A constraint component that can be used to specify that no pair of value nodes may use the same language tag."@en ;
1103
+ sh:parameter sh:UniqueLangConstraintComponent-uniqueLang ;
1104
+ rdfs:isDefinedBy sh: .
1105
+
1106
+ sh:UniqueLangConstraintComponent-uniqueLang
1107
+ a sh:Parameter ;
1108
+ sh:path sh:uniqueLang ;
1109
+ sh:datatype xsd:boolean ;
1110
+ sh:maxCount 1 ;
1111
+ rdfs:isDefinedBy sh: .
1112
+
1113
+ sh:uniqueLang
1114
+ a rdf:Property ;
1115
+ rdfs:label "unique languages"@en ;
1116
+ rdfs:comment "Specifies whether all node values must have a unique (or no) language tag."@en ;
1117
+ rdfs:range xsd:boolean ;
1118
+ rdfs:isDefinedBy sh: .
1119
+
1120
+
1121
+ sh:XoneConstraintComponent
1122
+ a sh:ConstraintComponent ;
1123
+ rdfs:label "Exactly one Constraint Component"@en ;
1124
+ rdfs:comment "A constraint component that can be used to restrict the value nodes so that they conform to exactly one out of several provided shapes."@en ;
1125
+ sh:parameter sh:XoneConstraintComponent-xone ;
1126
+ rdfs:isDefinedBy sh: .
1127
+
1128
+ sh:XoneConstraintComponent-xone
1129
+ a sh:Parameter ;
1130
+ sh:path sh:xone ;
1131
+ rdfs:isDefinedBy sh: .
1132
+
1133
+ sh:xone
1134
+ a rdf:Property ;
1135
+ rdfs:label "exactly one"@en ;
1136
+ rdfs:comment "Specifies a list of shapes so that the value nodes must conform to exactly one of the shapes."@en ;
1137
+ rdfs:range rdf:List ; # members: sh:Shape ;
1138
+ rdfs:isDefinedBy sh: .
1139
+
1140
+
1141
+ # General SPARQL execution support --------------------------------------------
1142
+
1143
+ sh:SPARQLExecutable
1144
+ a rdfs:Class ;
1145
+ rdfs:label "SPARQL Executable"@en ;
1146
+ rdfs:comment "The class of resources that encapsulate a SPARQL query."@en ;
1147
+ rdfs:subClassOf rdfs:Resource ;
1148
+ rdfs:isDefinedBy sh: .
1149
+
1150
+ sh:SPARQLAskExecutable
1151
+ a rdfs:Class ;
1152
+ rdfs:label "SPARQL ASK Executable"@en ;
1153
+ rdfs:comment "The class of SPARQL executables that are based on an ASK query."@en ;
1154
+ rdfs:subClassOf sh:SPARQLExecutable ;
1155
+ rdfs:isDefinedBy sh: .
1156
+
1157
+ sh:ask
1158
+ a rdf:Property ;
1159
+ rdfs:label "ask"@en ;
1160
+ rdfs:comment "The SPARQL ASK query to execute."@en ;
1161
+ rdfs:domain sh:SPARQLAskExecutable ;
1162
+ rdfs:range xsd:string ;
1163
+ rdfs:isDefinedBy sh: .
1164
+
1165
+ sh:SPARQLConstructExecutable
1166
+ a rdfs:Class ;
1167
+ rdfs:label "SPARQL CONSTRUCT Executable"@en ;
1168
+ rdfs:comment "The class of SPARQL executables that are based on a CONSTRUCT query."@en ;
1169
+ rdfs:subClassOf sh:SPARQLExecutable ;
1170
+ rdfs:isDefinedBy sh: .
1171
+
1172
+ sh:construct
1173
+ a rdf:Property ;
1174
+ rdfs:label "construct"@en ;
1175
+ rdfs:comment "The SPARQL CONSTRUCT query to execute."@en ;
1176
+ rdfs:domain sh:SPARQLConstructExecutable ;
1177
+ rdfs:range xsd:string ;
1178
+ rdfs:isDefinedBy sh: .
1179
+
1180
+ sh:SPARQLSelectExecutable
1181
+ a rdfs:Class ;
1182
+ rdfs:label "SPARQL SELECT Executable"@en ;
1183
+ rdfs:comment "The class of SPARQL executables based on a SELECT query."@en ;
1184
+ rdfs:subClassOf sh:SPARQLExecutable ;
1185
+ rdfs:isDefinedBy sh: .
1186
+
1187
+ sh:select
1188
+ a rdf:Property ;
1189
+ rdfs:label "select"@en ;
1190
+ rdfs:comment "The SPARQL SELECT query to execute."@en ;
1191
+ rdfs:range xsd:string ;
1192
+ rdfs:domain sh:SPARQLSelectExecutable ;
1193
+ rdfs:isDefinedBy sh: .
1194
+
1195
+ sh:SPARQLUpdateExecutable
1196
+ a rdfs:Class ;
1197
+ rdfs:label "SPARQL UPDATE Executable"@en ;
1198
+ rdfs:comment "The class of SPARQL executables based on a SPARQL UPDATE."@en ;
1199
+ rdfs:subClassOf sh:SPARQLExecutable ;
1200
+ rdfs:isDefinedBy sh: .
1201
+
1202
+ sh:update
1203
+ a rdf:Property ;
1204
+ rdfs:label "update"@en ;
1205
+ rdfs:comment "The SPARQL UPDATE to execute."@en ;
1206
+ rdfs:domain sh:SPARQLUpdateExecutable ;
1207
+ rdfs:range xsd:string ;
1208
+ rdfs:isDefinedBy sh: .
1209
+
1210
+ sh:prefixes
1211
+ a rdf:Property ;
1212
+ rdfs:label "prefixes"@en ;
1213
+ rdfs:comment "The prefixes that shall be applied before parsing the associated SPARQL query."@en ;
1214
+ rdfs:domain sh:SPARQLExecutable ;
1215
+ rdfs:range owl:Ontology ;
1216
+ rdfs:isDefinedBy sh: .
1217
+
1218
+ sh:PrefixDeclaration
1219
+ a rdfs:Class ;
1220
+ rdfs:label "Prefix Declaration"@en ;
1221
+ rdfs:comment "The class of prefix declarations, consisting of pairs of a prefix with a namespace."@en ;
1222
+ rdfs:subClassOf rdfs:Resource ;
1223
+ rdfs:isDefinedBy sh: .
1224
+
1225
+ sh:declare
1226
+ a rdf:Property ;
1227
+ rdfs:label "declare"@en ;
1228
+ rdfs:comment "Links a resource with its namespace prefix declarations."@en ;
1229
+ rdfs:domain owl:Ontology ;
1230
+ rdfs:range sh:PrefixDeclaration ;
1231
+ rdfs:isDefinedBy sh: .
1232
+
1233
+ sh:prefix
1234
+ a rdf:Property ;
1235
+ rdfs:label "prefix"@en ;
1236
+ rdfs:comment "The prefix of a prefix declaration."@en ;
1237
+ rdfs:domain sh:PrefixDeclaration ;
1238
+ rdfs:range xsd:string ;
1239
+ rdfs:isDefinedBy sh: .
1240
+
1241
+ sh:namespace
1242
+ a rdf:Property ;
1243
+ rdfs:label "namespace"@en ;
1244
+ rdfs:comment "The namespace associated with a prefix in a prefix declaration."@en ;
1245
+ rdfs:domain sh:PrefixDeclaration ;
1246
+ rdfs:range xsd:anyURI ;
1247
+ rdfs:isDefinedBy sh: .
1248
+
1249
+
1250
+ # SPARQL-based Constraints support --------------------------------------------
1251
+
1252
+ sh:SPARQLConstraintComponent
1253
+ a sh:ConstraintComponent ;
1254
+ rdfs:label "SPARQL Constraint Component"@en ;
1255
+ rdfs:comment "A constraint component that can be used to define constraints based on SPARQL queries."@en ;
1256
+ sh:parameter sh:SPARQLConstraintComponent-sparql ;
1257
+ rdfs:isDefinedBy sh: .
1258
+
1259
+ sh:SPARQLConstraintComponent-sparql
1260
+ a sh:Parameter ;
1261
+ sh:path sh:sparql ;
1262
+ rdfs:isDefinedBy sh: .
1263
+
1264
+ sh:sparql
1265
+ a rdf:Property ;
1266
+ rdfs:label "constraint (in SPARQL)"@en ;
1267
+ rdfs:comment "Links a shape with SPARQL constraints."@en ;
1268
+ rdfs:domain sh:Shape ;
1269
+ rdfs:range sh:SPARQLConstraint ;
1270
+ rdfs:isDefinedBy sh: .
1271
+
1272
+ sh:SPARQLConstraint
1273
+ a rdfs:Class ;
1274
+ rdfs:label "SPARQL Constraint"@en ;
1275
+ rdfs:comment "The class of constraints based on SPARQL SELECT queries."@en ;
1276
+ rdfs:subClassOf sh:SPARQLSelectExecutable ;
1277
+ rdfs:isDefinedBy sh: .
1278
+
1279
+
1280
+ # Non-validating constraint properties ----------------------------------------
1281
+
1282
+ sh:defaultValue
1283
+ a rdf:Property ;
1284
+ rdfs:label "default value"@en ;
1285
+ rdfs:comment "A default value for a property, for example for user interface tools to pre-populate input fields."@en ;
1286
+ rdfs:domain sh:PropertyShape ;
1287
+ rdfs:isDefinedBy sh: .
1288
+
1289
+ sh:description
1290
+ a rdf:Property ;
1291
+ rdfs:label "description"@en ;
1292
+ rdfs:comment "Human-readable descriptions for the property in the context of the surrounding shape."@en ;
1293
+ rdfs:domain sh:PropertyShape ;
1294
+ # range: xsd:string or rdf:langString
1295
+ rdfs:isDefinedBy sh: .
1296
+
1297
+ sh:group
1298
+ a rdf:Property ;
1299
+ rdfs:label "group"@en ;
1300
+ rdfs:comment "Can be used to link to a property group to indicate that a property shape belongs to a group of related property shapes."@en ;
1301
+ rdfs:domain sh:PropertyShape ;
1302
+ rdfs:range sh:PropertyGroup ;
1303
+ rdfs:isDefinedBy sh: .
1304
+
1305
+ sh:name
1306
+ a rdf:Property ;
1307
+ rdfs:label "name"@en ;
1308
+ rdfs:comment "Human-readable labels for the property in the context of the surrounding shape."@en ;
1309
+ rdfs:domain sh:PropertyShape ;
1310
+ # range: xsd:string or rdf:langString
1311
+ rdfs:isDefinedBy sh: .
1312
+
1313
+ sh:order
1314
+ a rdf:Property ;
1315
+ rdfs:label "order"@en ;
1316
+ rdfs:comment "Specifies the relative order of this compared to its siblings. For example use 0 for the first, 1 for the second."@en ;
1317
+ # range: xsd:decimal or xsd:integer ;
1318
+ rdfs:isDefinedBy sh: .
1319
+
1320
+ sh:PropertyGroup
1321
+ a rdfs:Class ;
1322
+ rdfs:label "Property Group"@en ;
1323
+ rdfs:comment "Instances of this class represent groups of property shapes that belong together."@en ;
1324
+ rdfs:subClassOf rdfs:Resource ;
1325
+ rdfs:isDefinedBy sh: .
1326
+
1327
+
1328
+ # -----------------------------------------------------------------------------
1329
+ # SHACL ADVANCED FEATURES -----------------------------------------------------
1330
+ # -----------------------------------------------------------------------------
1331
+
1332
+
1333
+ # Advanced Target vocabulary --------------------------------------------------
1334
+
1335
+ sh:target
1336
+ a rdf:Property ;
1337
+ rdfs:label "target"@en ;
1338
+ rdfs:comment "Links a shape to a target specified by an extension language, for example instances of sh:SPARQLTarget."@en ;
1339
+ rdfs:domain sh:Shape ;
1340
+ rdfs:range sh:Target ;
1341
+ rdfs:isDefinedBy sh: .
1342
+
1343
+ sh:Target
1344
+ a rdfs:Class ;
1345
+ rdfs:label "Target"@en ;
1346
+ rdfs:comment "The base class of targets such as those based on SPARQL queries."@en ;
1347
+ rdfs:subClassOf rdfs:Resource ;
1348
+ rdfs:isDefinedBy sh: .
1349
+
1350
+ sh:TargetType
1351
+ a rdfs:Class ;
1352
+ rdfs:label "Target Type"@en ;
1353
+ rdfs:comment "The (meta) class for parameterizable targets. Instances of this are instantiated as values of the sh:target property."@en ;
1354
+ rdfs:subClassOf rdfs:Class ;
1355
+ rdfs:subClassOf sh:Parameterizable ;
1356
+ rdfs:isDefinedBy sh: .
1357
+
1358
+ sh:SPARQLTarget
1359
+ a rdfs:Class ;
1360
+ rdfs:label "SPARQL Target"@en ;
1361
+ rdfs:comment "The class of targets that are based on SPARQL queries."@en ;
1362
+ rdfs:subClassOf sh:Target ;
1363
+ rdfs:subClassOf sh:SPARQLAskExecutable ;
1364
+ rdfs:subClassOf sh:SPARQLSelectExecutable ;
1365
+ rdfs:isDefinedBy sh: .
1366
+
1367
+ sh:SPARQLTargetType
1368
+ a rdfs:Class ;
1369
+ rdfs:label "SPARQL Target Type"@en ;
1370
+ rdfs:comment "The (meta) class for parameterizable targets that are based on SPARQL queries."@en ;
1371
+ rdfs:subClassOf sh:TargetType ;
1372
+ rdfs:subClassOf sh:SPARQLAskExecutable ;
1373
+ rdfs:subClassOf sh:SPARQLSelectExecutable ;
1374
+ rdfs:isDefinedBy sh: .
1375
+
1376
+
1377
+ # Functions Vocabulary --------------------------------------------------------
1378
+
1379
+ sh:Function
1380
+ a rdfs:Class ;
1381
+ rdfs:label "Function"@en ;
1382
+ rdfs:comment "The class of SHACL functions."@en ;
1383
+ rdfs:subClassOf sh:Parameterizable ;
1384
+ rdfs:isDefinedBy sh: .
1385
+
1386
+ sh:returnType
1387
+ a rdf:Property ;
1388
+ rdfs:label "return type"@en ;
1389
+ rdfs:comment "The expected type of values returned by the associated function."@en ;
1390
+ rdfs:domain sh:Function ;
1391
+ rdfs:range rdfs:Class ;
1392
+ rdfs:isDefinedBy sh: .
1393
+
1394
+ sh:SPARQLFunction
1395
+ a rdfs:Class ;
1396
+ rdfs:label "SPARQL Function"@en ;
1397
+ rdfs:comment "A function backed by a SPARQL query - either ASK or SELECT."@en ;
1398
+ rdfs:subClassOf sh:Function ;
1399
+ rdfs:subClassOf sh:SPARQLAskExecutable ;
1400
+ rdfs:subClassOf sh:SPARQLSelectExecutable ;
1401
+ rdfs:isDefinedBy sh: .
1402
+
1403
+
1404
+ # Result Annotations ----------------------------------------------------------
1405
+
1406
+ sh:resultAnnotation
1407
+ a rdf:Property ;
1408
+ rdfs:label "result annotation"@en ;
1409
+ rdfs:comment "Links a SPARQL validator with zero or more sh:ResultAnnotation instances, defining how to derive additional result properties based on the variables of the SELECT query."@en ;
1410
+ rdfs:domain sh:SPARQLSelectValidator ;
1411
+ rdfs:range sh:ResultAnnotation ;
1412
+ rdfs:isDefinedBy sh: .
1413
+
1414
+ sh:ResultAnnotation
1415
+ a rdfs:Class ;
1416
+ rdfs:label "Result Annotation"@en ;
1417
+ rdfs:comment "A class of result annotations, which define the rules to derive the values of a given annotation property as extra values for a validation result."@en ;
1418
+ rdfs:subClassOf rdfs:Resource ;
1419
+ rdfs:isDefinedBy sh: .
1420
+
1421
+ sh:annotationProperty
1422
+ a rdf:Property ;
1423
+ rdfs:label "annotation property"@en ;
1424
+ rdfs:comment "The annotation property that shall be set."@en ;
1425
+ rdfs:domain sh:ResultAnnotation ;
1426
+ rdfs:range rdf:Property ;
1427
+ rdfs:isDefinedBy sh: .
1428
+
1429
+ sh:annotationValue
1430
+ a rdf:Property ;
1431
+ rdfs:label "annotation value"@en ;
1432
+ rdfs:comment "The (default) values of the annotation property."@en ;
1433
+ rdfs:domain sh:ResultAnnotation ;
1434
+ rdfs:isDefinedBy sh: .
1435
+
1436
+ sh:annotationVarName
1437
+ a rdf:Property ;
1438
+ rdfs:label "annotation variable name"@en ;
1439
+ rdfs:comment "The name of the SPARQL variable from the SELECT clause that shall be used for the values."@en ;
1440
+ rdfs:domain sh:ResultAnnotation ;
1441
+ rdfs:range xsd:string ;
1442
+ rdfs:isDefinedBy sh: .
1443
+
1444
+
1445
+ # Node Expressions ------------------------------------------------------------
1446
+
1447
+ sh:this
1448
+ a rdfs:Resource ;
1449
+ rdfs:label "this"@en ;
1450
+ rdfs:comment "A node expression that represents the current focus node."@en ;
1451
+ rdfs:isDefinedBy sh: .
1452
+
1453
+ sh:filterShape
1454
+ a rdf:Property ;
1455
+ rdfs:label "filter shape"@en ;
1456
+ rdfs:comment "The shape that all input nodes of the expression need to conform to."@en ;
1457
+ rdfs:range sh:Shape ;
1458
+ rdfs:isDefinedBy sh: .
1459
+
1460
+ sh:nodes
1461
+ a rdf:Property ;
1462
+ rdfs:label "nodes"@en ;
1463
+ rdfs:comment "The node expression producing the input nodes of a filter shape expression."@en ;
1464
+ rdfs:isDefinedBy sh: .
1465
+
1466
+ sh:intersection
1467
+ a rdf:Property ;
1468
+ rdfs:label "intersection"@en ;
1469
+ rdfs:comment "A list of node expressions that shall be intersected."@en ;
1470
+ rdfs:isDefinedBy sh: .
1471
+
1472
+ sh:union
1473
+ a rdf:Property ;
1474
+ rdfs:label "union"@en ;
1475
+ rdfs:comment "A list of node expressions that shall be used together."@en ;
1476
+ rdfs:isDefinedBy sh: .
1477
+
1478
+
1479
+ # Expression Constraints ------------------------------------------------------
1480
+
1481
+ sh:ExpressionConstraintComponent
1482
+ a sh:ConstraintComponent ;
1483
+ rdfs:label "Expression Constraint Component"@en ;
1484
+ rdfs:comment "A constraint component that can be used to verify that a given node expression produces true for all value nodes."@en ;
1485
+ sh:parameter sh:ExpressionConstraintComponent-expression ;
1486
+ rdfs:isDefinedBy sh: .
1487
+
1488
+ sh:ExpressionConstraintComponent-expression
1489
+ a sh:Parameter ;
1490
+ sh:path sh:expression ;
1491
+ rdfs:isDefinedBy sh: .
1492
+
1493
+ sh:expression
1494
+ a rdf:Property ;
1495
+ rdfs:label "expression"@en ;
1496
+ rdfs:comment "The node expression that must return true for the value nodes."@en ;
1497
+ rdfs:isDefinedBy sh: .
1498
+
1499
+
1500
+ # Rules -----------------------------------------------------------------------
1501
+
1502
+ sh:Rule
1503
+ a rdfs:Class ;
1504
+ rdfs:label "Rule"@en ;
1505
+ rdfs:comment "The class of SHACL rules. Never instantiated directly."@en ;
1506
+ rdfs:subClassOf rdfs:Resource ;
1507
+ rdfs:isDefinedBy sh: .
1508
+
1509
+ sh:rule
1510
+ a rdf:Property ;
1511
+ rdfs:label "rule"@en ;
1512
+ rdfs:comment "The rules linked to a shape."@en ;
1513
+ rdfs:domain sh:Shape ;
1514
+ rdfs:range sh:Rule ;
1515
+ rdfs:isDefinedBy sh: .
1516
+
1517
+ sh:condition
1518
+ a rdf:Property ;
1519
+ rdfs:label "condition"@en ;
1520
+ rdfs:comment "The shapes that the focus nodes need to conform to before a rule is executed on them."@en ;
1521
+ rdfs:domain sh:Rule ;
1522
+ rdfs:range sh:Shape ;
1523
+ rdfs:isDefinedBy sh: .
1524
+
1525
+ sh:TripleRule
1526
+ a rdfs:Class ;
1527
+ rdfs:label "Triple Rule"@en ;
1528
+ rdfs:comment "A rule based on triple (subject, predicate, object) pattern."@en ;
1529
+ rdfs:subClassOf sh:Rule ;
1530
+ rdfs:isDefinedBy sh: .
1531
+
1532
+ sh:subject
1533
+ a rdf:Property ;
1534
+ rdfs:label "subject"@en ;
1535
+ rdfs:comment "An expression producing the resources that shall be inferred as subjects."@en ;
1536
+ rdfs:domain sh:TripleRule ;
1537
+ rdfs:isDefinedBy sh: .
1538
+
1539
+ sh:predicate
1540
+ a rdf:Property ;
1541
+ rdfs:label "predicate"@en ;
1542
+ rdfs:comment "An expression producing the properties that shall be inferred as predicates."@en ;
1543
+ rdfs:domain sh:TripleRule ;
1544
+ rdfs:isDefinedBy sh: .
1545
+
1546
+ sh:object
1547
+ a rdf:Property ;
1548
+ rdfs:label "object"@en ;
1549
+ rdfs:comment "An expression producing the nodes that shall be inferred as objects."@en ;
1550
+ rdfs:domain sh:TripleRule ;
1551
+ rdfs:isDefinedBy sh: .
1552
+
1553
+ sh:SPARQLRule
1554
+ a rdfs:Class ;
1555
+ rdfs:label "SPARQL CONSTRUCT Rule"@en ;
1556
+ rdfs:comment "The class of SHACL rules based on SPARQL CONSTRUCT queries."@en ;
1557
+ rdfs:subClassOf sh:Rule ;
1558
+ rdfs:subClassOf sh:SPARQLConstructExecutable ;
1559
+ rdfs:isDefinedBy sh: .
1560
+
1561
+
1562
+ # SHACL-JS --------------------------------------------------------------------
1563
+
1564
+ sh:JSExecutable
1565
+ a rdfs:Class ;
1566
+ rdfs:label "JavaScript Executable"@en ;
1567
+ rdfs:comment "Abstract base class of resources that declare an executable JavaScript."@en ;
1568
+ rdfs:subClassOf rdfs:Resource ;
1569
+ rdfs:isDefinedBy sh: .
1570
+
1571
+ sh:JSTarget
1572
+ a rdfs:Class ;
1573
+ rdfs:label "JavaScript Target"@en ;
1574
+ rdfs:comment "The class of targets that are based on JavaScript functions."@en ;
1575
+ rdfs:subClassOf sh:Target ;
1576
+ rdfs:subClassOf sh:JSExecutable ;
1577
+ rdfs:isDefinedBy sh: .
1578
+
1579
+ sh:JSTargetType
1580
+ a rdfs:Class ;
1581
+ rdfs:label "JavaScript Target Type"@en ;
1582
+ rdfs:comment "The (meta) class for parameterizable targets that are based on JavaScript functions."@en ;
1583
+ rdfs:subClassOf sh:TargetType ;
1584
+ rdfs:subClassOf sh:JSExecutable ;
1585
+ rdfs:isDefinedBy sh: .
1586
+
1587
+ sh:JSConstraint
1588
+ a rdfs:Class ;
1589
+ rdfs:label "JavaScript Constraint"@en ;
1590
+ rdfs:comment "The class of constraints backed by a JavaScript function."@en ;
1591
+ rdfs:subClassOf sh:JSExecutable ;
1592
+ rdfs:isDefinedBy sh: .
1593
+
1594
+ sh:JSConstraintComponent
1595
+ a sh:ConstraintComponent ;
1596
+ rdfs:label "JavaScript Constraint Component"@en ;
1597
+ rdfs:comment "A constraint component with the parameter sh:js linking to a sh:JSConstraint containing a sh:script."@en ;
1598
+ sh:parameter sh:JSConstraint-js ;
1599
+ rdfs:isDefinedBy sh: .
1600
+
1601
+ sh:JSConstraint-js
1602
+ a sh:Parameter ;
1603
+ sh:path sh:js ;
1604
+ rdfs:isDefinedBy sh: .
1605
+
1606
+ sh:js
1607
+ a rdf:Property ;
1608
+ rdfs:label "JavaScript constraint"@en ;
1609
+ rdfs:comment "Constraints expressed in JavaScript." ;
1610
+ rdfs:range sh:JSConstraint ;
1611
+ rdfs:isDefinedBy sh: .
1612
+
1613
+ sh:jsFunctionName
1614
+ a rdf:Property ;
1615
+ rdfs:label "JavaScript function name"@en ;
1616
+ rdfs:comment "The name of the JavaScript function to execute."@en ;
1617
+ rdfs:domain sh:JSExecutable ;
1618
+ rdfs:range xsd:string ;
1619
+ rdfs:isDefinedBy sh: .
1620
+
1621
+ sh:jsLibrary
1622
+ a rdf:Property ;
1623
+ rdfs:label "JavaScript library"@en ;
1624
+ rdfs:comment "Declares which JavaScript libraries are needed to execute this."@en ;
1625
+ rdfs:range sh:JSLibrary ;
1626
+ rdfs:isDefinedBy sh: .
1627
+
1628
+ sh:jsLibraryURL
1629
+ a rdf:Property ;
1630
+ rdfs:label "JavaScript library URL"@en ;
1631
+ rdfs:comment "Declares the URLs of a JavaScript library. This should be the absolute URL of a JavaScript file. Implementations may redirect those to local files."@en ;
1632
+ rdfs:domain sh:JSLibrary ;
1633
+ rdfs:range xsd:anyURI ;
1634
+ rdfs:isDefinedBy sh: .
1635
+
1636
+ sh:JSFunction
1637
+ a rdfs:Class ;
1638
+ rdfs:label "JavaScript Function"@en ;
1639
+ rdfs:comment "The class of SHACL functions that execute a JavaScript function when called."@en ;
1640
+ rdfs:subClassOf sh:Function ;
1641
+ rdfs:subClassOf sh:JSExecutable ;
1642
+ rdfs:isDefinedBy sh: .
1643
+
1644
+ sh:JSLibrary
1645
+ a rdfs:Class ;
1646
+ rdfs:label "JavaScript Library"@en ;
1647
+ rdfs:comment "Represents a JavaScript library, typically identified by one or more URLs of files to include."@en ;
1648
+ rdfs:subClassOf rdfs:Resource ;
1649
+ rdfs:isDefinedBy sh: .
1650
+
1651
+ sh:JSRule
1652
+ a rdfs:Class ;
1653
+ rdfs:label "JavaScript Rule"@en ;
1654
+ rdfs:comment "The class of SHACL rules expressed using JavaScript."@en ;
1655
+ rdfs:subClassOf sh:JSExecutable ;
1656
+ rdfs:subClassOf sh:Rule ;
1657
+ rdfs:isDefinedBy sh: .
1658
+
1659
+ sh:JSValidator
1660
+ a rdfs:Class ;
1661
+ rdfs:label "JavaScript Validator"@en ;
1662
+ rdfs:comment "A SHACL validator based on JavaScript. This can be used to declare SHACL constraint components that perform JavaScript-based validation when used."@en ;
1663
+ rdfs:subClassOf sh:JSExecutable ;
1664
+ rdfs:subClassOf sh:Validator ;
1665
+ rdfs:isDefinedBy sh: .