-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidator.shacl.ttl
More file actions
810 lines (721 loc) · 27.1 KB
/
validator.shacl.ttl
File metadata and controls
810 lines (721 loc) · 27.1 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
PREFIX : <https://linked.data.gov.au/def/ontpub/validator/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ont: <https://linked.data.gov.au/def/ontpub/validator>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <https://schema.org/>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
<https://linked.data.gov.au/def/ontpub/req/2.1.10>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.10: OWL ontologies SHOULD indicate a version using the property owl:versionIRI with an IRI object." ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
sh:path owl:versionIRI ;
sh:severity sh:Warning ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.11>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:datatype xsd:anyURI ;
sh:message "Requirement 2.1.11: OWL ontologies SHOULD indicate any online version controlled source code repository storing the ontology and related content with the schema:codeRepository with a xsd:anyURI object." ;
sh:minCount 1 ;
sh:path schema:codeRepository ;
sh:severity sh:Warning ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.12>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:message "Requirement 2.1.12 Any licence pertaining to the reuse of an ontology's content SHOULD be given using the schema:license predicate preferentially indicating the IRI of a license if in RDF form or a literal URL (datatype xsd:anyURI) if online but not in RDF form. If the licence is expressed in text, a literal text field may be indicated" ;
sh:or (
[
sh:nodeKind sh:IRI ;
]
[
sh:datatype xsd:anyURI ;
]
[
sh:datatype xsd:string ;
]
) ;
sh:path schema:license ;
sh:severity sh:Warning ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.13>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.13: Ontologies MAY present usage information alongside license information using the schema:usageInfo property indicating literal text." ;
sh:nodeKind sh:Literal ;
sh:path schema:usageInfo ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.14>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.14: Ontologies SHOULD present a copyright information for it indicated with properties schema:copyrightHolder, schema:copyrightNotice and schema:copyrightYear. schema:copyrightHolder may be used with a text object or, preferably, an schema:Person or schema:Organization object." ;
sh:minCount 1 ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:copyrightHolder ;
sh:severity sh:Warning ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.15>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:message "Requirement 2.1.15: Ontologies MUST present at least one owl:Class or rdfs:Property or owl:NamedIndividual or owl:Axiom within the ontology file" ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:path
[
sh:inversePath rdf:type ;
] ;
] ;
sh:targetNode
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.16>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.16: All owl:Class, rdfs:Property and specialised OWL property types, owl:NamedIndividual and owl:Axiom instances MUST indicate the ontology that defines then with the rdfs:isDefinedBy property." ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
sh:path rdfs:isDefinedBy ;
] ;
sh:targetClass
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.2+3>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:maxCount 1 ;
sh:message "Requirement 2.1.2 Each ontology MUST be presented as a single owl:Ontology object & Requirement 2.1.3 Each ontology MUST be presented in a single file which does not contain information other than that which is directly part of the ontology and the file is considered the point-of-truth" ;
sh:minCount 1 ;
sh:path rdf:type ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.4>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.4 Each ontology MUST have exactly one title, a text literal, indicated using the skos:prefLabel or the schema:name property" ;
sh:or (
[
sh:datatype rdf:langString ;
sh:minCount 1 ;
sh:path skos:prefLabel ;
sh:uniqueLang true ;
]
[
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path schema:name ;
sh:uniqueLang true ;
]
) ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.5>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.4 Each ontology MUST have exactly one definition, a text literal text, indicated using either the skos:definition or schema:description property" ;
sh:or (
[
sh:maxCount 1 ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path skos:definition ;
]
[
sh:maxCount 1 ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path schema:description ;
]
) ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.6>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:maxCount 1 ;
sh:message "Requirement 2.1.5 Each ontology MUST have exactly one created date, exactly one modified date and exactly one issued date indicated using the schema:dateCreated, schema:dateModified & schema:dateIssued properties respectively that must be either an xsd:date, xsd:dateTime or xsd:dateTimeStamp literal values" ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:dateTime ;
]
[
sh:datatype xsd:date ;
]
[
sh:datatype xsd:dateTimeStamp ;
]
) ;
sh:path schema:dateCreated ;
] ,
[
sh:maxCount 1 ;
sh:message "Requirement 2.1.5 Each ontology MUST have exactly one created date, exactly one modified date and exactly one issued date indicated using the schema:dateCreated, schema:dateModified & schema:dateIssued properties respectively that must be either an xsd:date, xsd:dateTime or xsd:dateTimeStamp literal values" ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:dateTime ;
]
[
sh:datatype xsd:date ;
]
[
sh:datatype xsd:dateTimeStamp ;
]
) ;
sh:path schema:dateModified ;
] ,
[
sh:maxCount 1 ;
sh:message "Requirement 2.1.5 Each ontology MUST have exactly one created date, exactly one modified date and exactly one issued date indicated using the schema:dateCreated, schema:dateModified & schema:dateIssued properties respectively that must be either an xsd:date, xsd:dateTime or xsd:dateTimeStamp literal values" ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:dateTime ;
]
[
sh:datatype xsd:date ;
]
[
sh:datatype xsd:dateTimeStamp ;
]
) ;
sh:path schema:dateIssued ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.7>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:description "Requirement 2.1.7 Each ontology MUST have at least one creator, indicated using schema:creator and at least one schema:publisher property that must be IRI values indicating agents, that is instances of schema:Person, schema:Organization or a subclass of either" ;
sh:minCount 1 ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:creator ;
] ,
[
sh:description "Requirement 2.1.7 Each ontology MUST have at least one creator, indicated using schema:creator and at least one schema:publisher property that must be IRI values indicating agents, that is instances of schema:Person, schema:Organization or a subclass of either" ;
sh:minCount 1 ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:publisher ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.8>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:description "Requirement 2.1.8 Each ontology MAY have at least any number of contributors, indicated using schema:contributor property that must be a IRI value indicating an agent, that is an instance of schema:Person, schema:Organization or a subclass of either" ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:contributor ;
] ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.9 Provenance for an owl:Ontology MUST be indicated by at least one of the following properties: skos:historyNote, dcterms:source or prov:wasDerivedFrom." ;
sh:or (
[
sh:message "This is a message about prov:wasDerivedFrom" ;
sh:minCount 1 ;
sh:path prov:wasDerivedFrom ;
]
[
sh:message "This is a message about dcterms:source" ;
sh:minCount 1 ;
sh:path dcterms:source ;
]
[
sh:message "This is a message about skos:historyNote" ;
sh:minCount 1 ;
sh:path skos:historyNote ;
]
[
sh:message "This is a message about schema:citation" ;
sh:minCount 1 ;
sh:path schema:citation ;
]
) ;
sh:targetClass owl:Ontology ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9b>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:maxCount 1 ;
sh:message "Requirement 2.1.9b: You MUST NOT use skos:historyNote property more than once on any object." ;
sh:path skos:historyNote ;
] ;
sh:targetSubjectsOf skos:historyNote ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9c>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:maxCount 1 ;
sh:message "Requirement 2.1.9c: You MUST NOT use dcterms:source property more than once on any object." ;
sh:path dcterms:source ;
] ;
sh:targetSubjectsOf dcterms:source ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9d>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:maxCount 1 ;
sh:message "Requirement 2.1.9d: You MUST NOT use prov:wasDerivedFrom property more than once on any object." ;
sh:path prov:wasDerivedFrom ;
] ;
sh:targetSubjectsOf prov:wasDerivedFrom ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9e>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:datatype xsd:anyURI ;
sh:message "Requirement 2.1.9e: Whenever dcterms:source is used, it must be a datatype property indicating an object of type xsd:anyURI" ;
sh:path dcterms:source ;
] ;
sh:targetSubjectsOf dcterms:source ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9f>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.9f: Whenever skos:historyNote is used, it must be a datatype property indicating an object of type xsd:string or rdf:LangString" ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path skos:historyNote ;
] ;
sh:targetSubjectsOf skos:historyNote ;
.
<https://linked.data.gov.au/def/ontpub/req/2.1.9g>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.1.9g: Whenever prov:wasDerivedFrom is used, it must be an object property indicating an IRI" ;
sh:nodeKind sh:IRI ;
sh:path prov:wasDerivedFrom ;
] ;
sh:targetSubjectsOf prov:wasDerivedFrom ;
.
<https://linked.data.gov.au/def/ontpub/req/2.2.1>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.2.1: Each element instance MUST have at least one title indicated using either the skos:prefLabel or schema:name property that must be either a string or a language-typed text literal value. Only one value per language is allowed if languages are used." ;
sh:or (
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path skos:prefLabel ;
sh:uniqueLang true ;
]
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path schema:name ;
sh:uniqueLang true ;
]
) ;
sh:targetClass
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.2.2>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
#sh:message "Requirement 2.2.2: Each element instance MUST have at least one definition indicated using the skos:definition or schema:description property that must be either string or a language-typed text literal value. Only one value per language is allowed if languages are used." ;
sh:or (
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:datatype rdf:langString ;
sh:minCount 1 ;
sh:path skos:definition ;
sh:uniqueLang true ;
]
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path schema:description ;
sh:uniqueLang true ;
]
) ;
sh:targetClass
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.2.3>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:or (
[
sh:message "Requirement 2.2.3: Provenance for a element, if different from that of the owl:Ontology being validated, SHOULD be indicated by at least one of the following properties: skos:historyNote, dcterms:source or prov:wasDerivedFrom." ;
sh:minCount 1 ;
sh:path prov:wasDerivedFrom ;
]
[
sh:message "Requirement 2.2.3: Provenance for a element, if different from that of the owl:Ontology being validated, SHOULD be indicated by at least one of the following properties: skos:historyNote, dcterms:source or prov:wasDerivedFrom." ;
sh:minCount 1 ;
sh:path dcterms:source ;
]
[
sh:message "Requirement 2.2.3: Provenance for a element, if different from that of the owl:Ontology being validated, SHOULD be indicated by at least one of the following properties: skos:historyNote, dcterms:source or prov:wasDerivedFrom." ;
sh:minCount 1 ;
sh:path skos:historyNote ;
]
) ;
sh:severity sh:Warning ;
sh:targetClass
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.2.4>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.2.4: Each element in an ontology SHOULD have at least one example of use indicated with a skos:example property that should be a text literal, preferably showing RDF source code." ;
sh:minCount 1 ;
sh:path skos:example ;
sh:severity sh:Warning ;
] ;
sh:targetClass
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.2.5>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
a sh:PropertyShape ;
rdfs:isDefinedBy ont: ;
sh:message "Requirement 2.2.5: Each element in an ontology SHOULD indicate any non-IRI persistent identifiers with schema:identifier properties. Custom datatypes may be implemented for identifiers, in line with the advice for the use of skos:notation." ;
sh:nodeKind sh:Literal ;
sh:path schema:identifier ;
] ;
sh:targetClass
rdfs:Property ,
owl:AnnotationProperty ,
owl:Axiom ,
owl:Class ,
owl:DatatypeProperty ,
owl:FunctionalProperty ,
owl:InverseProperty ,
owl:NamedIndividual ,
owl:ObjectProperty ;
.
<https://linked.data.gov.au/def/ontpub/req/2.7.2>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:maxCount 1 ;
sh:message "Requirement 2.7.2: Each agent MUST indicate at exactly one name property with the schema:name property that must be a text literal value" ;
sh:minCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
sh:path schema:name ;
] ;
sh:targetClass
schema:Organization ,
schema:Person ;
.
<https://linked.data.gov.au/def/ontpub/req/2.7.3a>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:datatype xsd:anyURI ;
sh:message "Requirement 2.7.3: Each organisation MUST indicate an schema:url property with a URL value" ;
sh:minCount 1 ;
sh:path schema:url ;
] ;
sh:targetClass schema:Organization ;
.
<https://linked.data.gov.au/def/ontpub/req/2.7.3b>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:datatype xsd:anyURI ;
sh:message "Requirement 2.7.3: Each person MUST indicate an schema:email property with an email value" ;
sh:minCount 1 ;
sh:path schema:email ;
] ;
sh:targetClass schema:Person ;
.
<https://linked.data.gov.au/def/ontpub/req/2.7.4>
a sh:NodeShape ;
rdfs:isDefinedBy ont: ;
sh:property
[
sh:message "Requirement 2.7.4: One agent MAY be affiliated with another using schema.org agent/agent linking properties, such as schema:affiliation between persons and organisations or schema:parentOrganization and similar between organizations." ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:parentOrganization ;
] ,
[
sh:message "Requirement 2.7.4: One agent MAY be affiliated with another using schema.org agent/agent linking properties, such as schema:affiliation between persons and organisations or schema:parentOrganization and similar between organizations." ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:affiliation ;
] ,
[
sh:message "Requirement 2.7.4: One agent MAY be affiliated with another using schema.org agent/agent linking properties, such as schema:affiliation between persons and organisations or schema:parentOrganization and similar between organizations." ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
sh:path schema:subOrganization ;
] ;
sh:targetClass
schema:Organization ,
schema:Person ;
.
<https://orcid.org/0000-0002-8742-7730>
a schema:Person ;
schema:email "nicholas.car@anu.edu.au"^^xsd:anyURI ;
schema:identifier "https://orcid.org/0000-0002-8742-7730"^^xsd:anyURI ;
schema:name "Nicholas J. Car" ;
.
<https://linked.data.gov.au/org/agldwg>
a schema:Organization ;
schema:name "Australian Government Linked Data Working Group" ;
schema:url "https://www.linked.data.gov.au"^^xsd:anyURI ;
.
ont:
a owl:Ontology ;
owl:versionIRI :1.5 ;
owl:versionInfo """0.5 2026-01: Initial validator, inheriting ontology rules from OntPub v1.5""" ;
skos:historyNote "This validator was made to improve the consistency of SHACL validator formulation by Nicholas Car while a member of the W3C Data Shapes Working Group, 2026" ;
skos:scopeNote "This validator does NOT validate SHACL Shapes according to SHACL validity, only their metadata for publication. To validate Shapes according to SHACL's own rules, see the W3C's SHACL-SHACL validator"
schema:codeRepository "https://github.com/agldwg/valpub-profile"^^xsd:anyURI ;
schema:copyrightHolder <https://linked.data.gov.au/org/agldwg> ;
schema:copyrightYear "2026"^^xsd:gYear ;
schema:creator <https://orcid.org/0000-0002-8742-7730> ;
schema:dateCreated "2026-01-15"^^xsd:date ;
schema:dateIssued "2026-02-06"^^xsd:date ;
schema:dateModified "2026-03-04"^^xsd:date ;
schema:description "SHACL Shapes to validate SHACL Shapes presented within an ontology according to the Validator Publications Profile, ValPub" ;
schema:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
schema:name "Validator Publication Profile Validator" ;
schema:publisher <https://linked.data.gov.au/org/agldwg> ;
schema:version "0.5" ;
.