@lblod/lib-decision-shapes 0.0.24 → 0.0.26

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.
package/dist/index.js CHANGED
@@ -17,12 +17,12 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
 
19
19
  // src/index.ts
20
- var src_exports = {};
21
- __export(src_exports, {
20
+ var index_exports = {};
21
+ __export(index_exports, {
22
22
  getHTMLExampleOfDocumentType: () => getHTMLExampleOfDocumentType,
23
23
  getShapeOfDocumentType: () => getShapeOfDocumentType
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/shapes/basic-agenda.ts
28
28
  var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
@@ -83,6 +83,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
83
83
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
84
84
  sh:minCount 0 ;
85
85
  sh:maxCount 1 ;
86
+ sh:pattern '\\\\S' ;
86
87
  lblodBesluit:usageNote '3'
87
88
  ] ;
88
89
  sh:property [
@@ -103,6 +104,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
103
104
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
104
105
  sh:minCount 1 ;
105
106
  sh:maxCount 1 ;
107
+ sh:pattern '\\\\S' ;
106
108
  lblodBesluit:usageNote '5'
107
109
  ] ;
108
110
  sh:property [
@@ -152,7 +154,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
152
154
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
153
155
  sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
154
156
  sh:path <http://www.w3.org/ns/prov#atLocation> ;
155
- sh:class <http://www.w3.org/ns/prov#Location> ;
157
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
156
158
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
157
159
  sh:minCount 0 ;
158
160
  sh:maxCount 1 ;
@@ -171,7 +173,19 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
171
173
 
172
174
  <https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
173
175
  a sh:NodeShape ;
174
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
176
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
177
+ sh:target [
178
+ a sh:SPARQLTarget ;
179
+ sh:select """
180
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
181
+ PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
182
+
183
+ SELECT ?this
184
+ WHERE {
185
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
186
+ mandaat:isTijdspecialisatieVan ?bestuursorgaan .
187
+ }
188
+ """ ;
175
189
  sh:property [
176
190
  sh:name "isTijdspecialisatieVan (mandaat)" ;
177
191
  sh:description "Duidt de bronentiteit aan waarvan deze entiteit een tijdsgebonden specialisatie is. De specialisatie stelt de bron voor gedurende een bepaalde periode." ;
@@ -185,7 +199,19 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
185
199
 
186
200
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
187
201
  a sh:NodeShape ;
188
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
202
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
203
+ sh:target [
204
+ a sh:SPARQLTarget ;
205
+ sh:select """
206
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
207
+
208
+ SELECT ?this
209
+ WHERE {
210
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
211
+ besluit:bestuurt ?bestuurseenheid .
212
+ }
213
+ """ ;
214
+ ] ;
189
215
  sh:property [
190
216
  sh:name "classificatie" ;
191
217
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
@@ -201,7 +227,14 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
201
227
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
202
228
  sh:description "Naam van de bestuursorgaan." ;
203
229
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
204
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
230
+ sh:or (
231
+ [
232
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
233
+ ]
234
+ [
235
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
236
+ ]
237
+ );
205
238
  sh:minCount 1 ;
206
239
  sh:maxCount 1 ;
207
240
  lblodBesluit:usageNote '13'
@@ -235,7 +268,14 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
235
268
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
236
269
  sh:description "Naam van de bestuurseenheid." ;
237
270
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
238
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
271
+ sh:or (
272
+ [
273
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
274
+ ]
275
+ [
276
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
277
+ ]
278
+ );
239
279
  sh:minCount 1 ;
240
280
  sh:maxCount 1 ;
241
281
  lblodBesluit:usageNote '16'
@@ -244,7 +284,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
244
284
  sh:name "werkingsgebied" ;
245
285
  sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
246
286
  sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
247
- sh:class <http://www.w3.org/ns/prov#Location> ;
287
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
248
288
  sh:minCount 1 ;
249
289
  sh:maxCount 1 ;
250
290
  lblodBesluit:usageNote '17'
@@ -259,7 +299,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
259
299
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
260
300
  sh:description "Naam van het werkingsgebied." ;
261
301
  sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
262
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
302
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
263
303
  sh:minCount 1 ;
264
304
  sh:maxCount 1 ;
265
305
  lblodBesluit:usageNote '18'
@@ -268,7 +308,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
268
308
  sh:name "werkingsgebiedNiveau" ;
269
309
  sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
270
310
  sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
271
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
311
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
272
312
  sh:minCount 0 ;
273
313
  sh:maxCount 1 ;
274
314
  lblodBesluit:usageNote '19'
@@ -392,7 +432,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
392
432
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
393
433
  sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
394
434
  sh:path <http://www.w3.org/ns/prov#atLocation> ;
395
- sh:class <http://www.w3.org/ns/prov#Location> ;
435
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
396
436
  sh:minCount 0 ;
397
437
  sh:maxCount 1 ;
398
438
  lblodBesluit:usageNote '12'
@@ -470,6 +510,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
470
510
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
471
511
  sh:minCount 0 ;
472
512
  sh:maxCount 1 ;
513
+ sh:pattern '\\\\S' ;
473
514
  lblodBesluit:usageNote '17'
474
515
  ] ;
475
516
  sh:property [
@@ -490,6 +531,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
490
531
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
491
532
  sh:minCount 1 ;
492
533
  sh:maxCount 1 ;
534
+ sh:pattern '\\\\S' ;
493
535
  lblodBesluit:usageNote '20'
494
536
  ] ;
495
537
  sh:property [
@@ -544,6 +586,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
544
586
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
545
587
  sh:minCount 0 ;
546
588
  sh:maxCount 1 ;
589
+ sh:pattern '\\\\S' ;
547
590
  lblodBesluit:usageNote '23'
548
591
  ] ;
549
592
  sh:property [
@@ -564,6 +607,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
564
607
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
565
608
  sh:minCount 0 ;
566
609
  sh:maxCount 1 ;
610
+ sh:pattern '\\\\S' ;
567
611
  lblodBesluit:usageNote '25'
568
612
  ] ;
569
613
  sh:property [
@@ -573,6 +617,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
573
617
  sh:path <http://data.europa.eu/eli/ontology#title> ;
574
618
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
575
619
  sh:minCount 1 ;
620
+ sh:pattern '\\\\S' ;
576
621
  lblodBesluit:usageNote '26'
577
622
  ] ;
578
623
  sh:property [
@@ -626,6 +671,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
626
671
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; # see https://github.com/rdfjs/N3.js/issues/252
627
672
  sh:minCount 1 ;
628
673
  sh:maxCount 1 ;
674
+ sh:pattern '\\\\S' ;
629
675
  lblodBesluit:usageNote '31'
630
676
  ] ;
631
677
  sh:property [
@@ -636,13 +682,26 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
636
682
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; see https://github.com/rdfjs/N3.js/issues/252
637
683
  sh:minCount 1 ;
638
684
  sh:maxCount 1 ;
685
+ sh:pattern '\\\\S' ;
639
686
  lblodBesluit:usageNote '32'
640
687
  ] ;
641
688
  sh:closed false .
642
689
 
643
690
  <https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
644
691
  a sh:NodeShape ;
645
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
692
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
693
+ sh:target [
694
+ a sh:SPARQLTarget ;
695
+ sh:select """
696
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
697
+ PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
698
+
699
+ SELECT ?this
700
+ WHERE {
701
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
702
+ mandaat:isTijdspecialisatieVan ?bestuursorgaan .
703
+ }
704
+ """ ;
646
705
  sh:property [
647
706
  sh:name "isTijdspecialisatieVan (mandaat)" ;
648
707
  sh:description "Duidt de bronentiteit aan waarvan deze entiteit een tijdsgebonden specialisatie is. De specialisatie stelt de bron voor gedurende een bepaalde periode." ;
@@ -656,7 +715,19 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
656
715
 
657
716
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
658
717
  a sh:NodeShape ;
659
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
718
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
719
+ sh:target [
720
+ a sh:SPARQLTarget ;
721
+ sh:select """
722
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
723
+
724
+ SELECT ?this
725
+ WHERE {
726
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
727
+ besluit:bestuurt ?bestuurseenheid .
728
+ }
729
+ """ ;
730
+ ] ;
660
731
  sh:property [
661
732
  sh:name "classificatie" ;
662
733
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
@@ -672,7 +743,14 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
672
743
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
673
744
  sh:description "Naam van de bestuursorgaan." ;
674
745
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
675
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
746
+ sh:or (
747
+ [
748
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
749
+ ]
750
+ [
751
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
752
+ ]
753
+ );
676
754
  sh:minCount 1 ;
677
755
  sh:maxCount 1 ;
678
756
  lblodBesluit:usageNote '35'
@@ -706,7 +784,14 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
706
784
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
707
785
  sh:description "Naam van de bestuurseenheid." ;
708
786
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
709
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
787
+ sh:or (
788
+ [
789
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
790
+ ]
791
+ [
792
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
793
+ ]
794
+ );
710
795
  sh:minCount 1 ;
711
796
  sh:maxCount 1 ;
712
797
  lblodBesluit:usageNote '38'
@@ -715,7 +800,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
715
800
  sh:name "werkingsgebied" ;
716
801
  sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
717
802
  sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
718
- sh:class <http://www.w3.org/ns/prov#Location> ;
803
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
719
804
  sh:minCount 1 ;
720
805
  sh:maxCount 1 ;
721
806
  lblodBesluit:usageNote '39'
@@ -730,7 +815,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
730
815
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
731
816
  sh:description "Naam van het werkingsgebied." ;
732
817
  sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
733
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
818
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
734
819
  sh:minCount 1 ;
735
820
  sh:maxCount 1 ;
736
821
  lblodBesluit:usageNote '40'
@@ -739,7 +824,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
739
824
  sh:name "werkingsgebiedNiveau" ;
740
825
  sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
741
826
  sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
742
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
827
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
743
828
  sh:minCount 0 ;
744
829
  sh:maxCount 1 ;
745
830
  lblodBesluit:usageNote '41'
@@ -750,6 +835,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
750
835
  var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
751
836
  @prefix qb: <http://purl.org/linked-data/cube#> .
752
837
  @prefix lblodBesluit: <http://lblod.data.gift/vocabularies/besluit/> .
838
+ @prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
753
839
 
754
840
  <https://data.vlaanderen.be/shacl/besluit-publicatie#DocumentShape>
755
841
  a sh:NodeShape ;
@@ -773,6 +859,23 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
773
859
  <https://data.vlaanderen.be/shacl/besluit-publicatie#ZittingShape>
774
860
  a sh:NodeShape ;
775
861
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#Zitting> ;
862
+ sh:sparql [
863
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
864
+ sh:select """
865
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
866
+
867
+ select DISTINCT $this ?path ?value
868
+ where {
869
+ $this ?path ?mandataris .
870
+
871
+ FILTER (?path IN (besluit:heeftVoorzitter, besluit:heeftSecretaris, besluit:heeftAanwezigeBijStart, besluit:heeftAfwezigeBijStart))
872
+ FILTER isBlank(?mandataris)
873
+
874
+ BIND ("Mandataris gevonden die geen URI heeft" as ?value)
875
+ }
876
+ """ ;
877
+ sh:message 'Er zijn mandatarissen gedetecteerd die geen URI hebben.'
878
+ ] ;
776
879
  sh:property [
777
880
  sh:name "behandelt" ;
778
881
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
@@ -863,7 +966,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
863
966
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
864
967
  sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
865
968
  sh:path <http://www.w3.org/ns/prov#atLocation> ;
866
- sh:class <http://www.w3.org/ns/prov#Location> ;
969
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
867
970
  sh:minCount 0 ;
868
971
  sh:maxCount 1 ;
869
972
  lblodBesluit:usageNote '12'
@@ -873,7 +976,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
873
976
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
874
977
  sh:description "Een mandataris (van het bestuursorsgaan die de zitting hield) die aanwezig was bij de start van de zitting." ;
875
978
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezigeBijStart> ;
876
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
877
979
  sh:minCount 0 ;
878
980
  lblodBesluit:usageNote '13'
879
981
  ] ;
@@ -881,7 +983,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
881
983
  sh:name "heeftAfwezigeBijStart" ;
882
984
  sh:description "Een mandataris (van het bestuursorsgaan die de zitting hield) die afwezig was bij de start van de zitting." ;
883
985
  sh:path <http://mu.semte.ch/vocabularies/ext/heeftAfwezigeBijStart> ;
884
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
885
986
  sh:minCount 0 ;
886
987
  lblodBesluit:usageNote '14'
887
988
  ] ;
@@ -890,7 +991,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
890
991
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
891
992
  sh:description "De mandataris die de rol als voorzitter heeft gedurende de zitting." ;
892
993
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorzitter> ;
893
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
894
994
  sh:minCount 1 ;
895
995
  sh:maxCount 1 ;
896
996
  lblodBesluit:usageNote '15'
@@ -900,7 +1000,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
900
1000
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
901
1001
  sh:description "De mandataris die de rol van secretaris heeft gedurende de zitting." ;
902
1002
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftSecretaris> ;
903
- sh:class <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
904
1003
  sh:minCount 1 ;
905
1004
  sh:maxCount 1 ;
906
1005
  lblodBesluit:usageNote '16'
@@ -941,6 +1040,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
941
1040
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
942
1041
  sh:minCount 0 ;
943
1042
  sh:maxCount 1 ;
1043
+ sh:pattern '\\\\S' ;
944
1044
  lblodBesluit:usageNote '18'
945
1045
  ] ;
946
1046
  sh:property [
@@ -961,6 +1061,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
961
1061
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
962
1062
  sh:minCount 1 ;
963
1063
  sh:maxCount 1 ;
1064
+ sh:pattern '\\\\S' ;
964
1065
  lblodBesluit:usageNote '20'
965
1066
  ] ;
966
1067
  sh:property [
@@ -975,6 +1076,23 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
975
1076
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BehandelingVanAgendapuntShape>
976
1077
  a sh:NodeShape ;
977
1078
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#BehandelingVanAgendapunt> ;
1079
+ sh:sparql [
1080
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1081
+ sh:select """
1082
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1083
+
1084
+ select DISTINCT $this ?path ?value
1085
+ where {
1086
+ $this ?path ?mandataris .
1087
+
1088
+ FILTER (?path IN (besluit:heeftAanwezige, besluit:heeftVoorzitter, besluit:heeftSecretaris))
1089
+ FILTER isBlank(?mandataris)
1090
+
1091
+ BIND ("Mandataris gevonden die geen URI heeft" as ?value)
1092
+ }
1093
+ """ ;
1094
+ sh:message 'Er zijn mandatarissen gedetecteerd die geen URI hebben.'
1095
+ ] ;
978
1096
  sh:property [
979
1097
  sh:name "heeftOnderwerp" ;
980
1098
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
@@ -1018,7 +1136,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1018
1136
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1019
1137
  sh:description "Een mandataris (van het orgaan dat de zitting houdt) die aanwezig was tijdens (een deel van) de behandeling." ;
1020
1138
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezige> ;
1021
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1022
1139
  sh:minCount 1 ;
1023
1140
  lblodBesluit:usageNote '26'
1024
1141
  ] ;
@@ -1027,7 +1144,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1027
1144
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1028
1145
  sh:description "De mandataris die de rol als voorzitter heeft gedurende de behandeling van het agendapunt." ;
1029
1146
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorzitter> ;
1030
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1031
1147
  sh:minCount 0 ;
1032
1148
  sh:maxCount 1 ;
1033
1149
  lblodBesluit:usageNote '27'
@@ -1037,7 +1153,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1037
1153
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1038
1154
  sh:description "De mandataris die de rol van secretaris heeft gedurende de behandeling van het agendapunt." ;
1039
1155
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftSecretaris> ;
1040
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1041
1156
  sh:minCount 0 ;
1042
1157
  sh:maxCount 1 ;
1043
1158
  lblodBesluit:usageNote '28'
@@ -1064,6 +1179,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1064
1179
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1065
1180
  sh:minCount 0 ;
1066
1181
  sh:maxCount 1 ;
1182
+ sh:pattern '\\\\S' ;
1067
1183
  lblodBesluit:usageNote '30'
1068
1184
  ] ;
1069
1185
  sh:property [
@@ -1071,9 +1187,17 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1071
1187
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1072
1188
  sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
1073
1189
  sh:path <http://www.w3.org/ns/prov#value> ;
1074
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1190
+ sh:or (
1191
+ [
1192
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1193
+ ]
1194
+ [
1195
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1196
+ ]
1197
+ );
1075
1198
  sh:minCount 1 ;
1076
1199
  sh:maxCount 1 ;
1200
+ sh:pattern '\\\\S' ;
1077
1201
  lblodBesluit:usageNote '31'
1078
1202
  ] ;
1079
1203
  sh:property [
@@ -1094,6 +1218,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1094
1218
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1095
1219
  sh:minCount 0 ;
1096
1220
  sh:maxCount 1 ;
1221
+ sh:pattern '\\\\S' ;
1097
1222
  lblodBesluit:usageNote '33'
1098
1223
  ] ;
1099
1224
  sh:property [
@@ -1103,6 +1228,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1103
1228
  sh:path <http://data.europa.eu/eli/ontology#title> ;
1104
1229
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1105
1230
  sh:minCount 1 ;
1231
+ sh:pattern '\\\\S' ;
1106
1232
  lblodBesluit:usageNote '34'
1107
1233
  ] ;
1108
1234
  sh:property [
@@ -1110,7 +1236,8 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1110
1236
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1111
1237
  sh:description "De taal van de verschijningsvorm." ;
1112
1238
  sh:path <http://data.europa.eu/eli/ontology#language> ;
1113
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1239
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1240
+ sh:nodeKind sh:IRI ;
1114
1241
  sh:minCount 1 ;
1115
1242
  sh:maxCount 1 ;
1116
1243
  qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
@@ -1128,7 +1255,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1128
1255
  sh:name "citeert" ;
1129
1256
  sh:description "Een citatie in de wettelijke tekst. Dit omvat zowel woordelijke citaten als citaten in verwijzingen." ;
1130
1257
  sh:path <http://data.europa.eu/eli/ontology#cites> ;
1131
- sh:class <http://data.europa.eu/eli/ontology#LegalExpression> ;
1258
+ sh:nodeKind sh:IRI ;
1132
1259
  sh:minCount 0 ;
1133
1260
  lblodBesluit:usageNote '37'
1134
1261
  ] ;
@@ -1140,6 +1267,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1140
1267
  sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ;
1141
1268
  sh:minCount 1 ;
1142
1269
  sh:maxCount 1 ;
1270
+ sh:pattern '\\\\S' ;
1143
1271
  lblodBesluit:usageNote '38'
1144
1272
  ] ;
1145
1273
  sh:property [
@@ -1175,10 +1303,11 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1175
1303
  a sh:NodeShape ;
1176
1304
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#Stemming> ;
1177
1305
  sh:sparql [
1306
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1178
1307
  sh:select """
1179
1308
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1180
1309
 
1181
- select DISTINCT ($this as ?this) ?path ?value
1310
+ select DISTINCT $this ?path ?value
1182
1311
  where {
1183
1312
  $this ?path ?mandataris .
1184
1313
 
@@ -1195,14 +1324,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1195
1324
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1196
1325
  sh:description "Een mandataris die als onthouder heeft gestemd op het onderwerp van de stemming." ;
1197
1326
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftOnthouder> ;
1198
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1199
1327
  sh:minCount 0 ;
1200
1328
  lblodBesluit:usageNote '42' ;
1201
1329
  sh:sparql [
1330
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1202
1331
  sh:select """
1203
1332
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1204
1333
 
1205
- select ($this as ?this) ?value
1334
+ select $this ?value
1206
1335
  where {
1207
1336
  {
1208
1337
  select (count(distinct ?onthouder) as ?onthouderCount) {
@@ -1223,7 +1352,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1223
1352
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1224
1353
  sh:description "Een mandataris (van het orgaan dat de zitting houdt) die aanwezig was tijdens de stemming." ;
1225
1354
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezige> ;
1226
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1227
1355
  sh:minCount 1 ;
1228
1356
  lblodBesluit:usageNote '43'
1229
1357
  ] ;
@@ -1232,7 +1360,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1232
1360
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1233
1361
  sh:description "Een mandataris die deelneemt aan de stemming." ;
1234
1362
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftStemmer> ;
1235
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1236
1363
  sh:minCount 0 ;
1237
1364
  lblodBesluit:usageNote '44'
1238
1365
  ] ;
@@ -1241,14 +1368,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1241
1368
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1242
1369
  sh:description "Een mandataris die als tegenstander heeft gestemd op het onderwerp van de stemming." ;
1243
1370
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftTegenstander> ;
1244
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1245
1371
  sh:minCount 0 ;
1246
1372
  lblodBesluit:usageNote '45' ;
1247
1373
  sh:sparql [
1374
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1248
1375
  sh:select """
1249
1376
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1250
1377
 
1251
- select ($this as ?this) ?value
1378
+ select $this ?value
1252
1379
  where {
1253
1380
  {
1254
1381
  select (count(distinct ?tegenstander) as ?tegenstanderCount) {
@@ -1269,14 +1396,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1269
1396
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1270
1397
  sh:description "Een mandataris die als voorstander heeft gestemd op het onderwerp van de stemming." ;
1271
1398
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorstander> ;
1272
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1273
1399
  sh:minCount 0 ;
1274
1400
  lblodBesluit:usageNote '46' ;
1275
1401
  sh:sparql [
1402
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1276
1403
  sh:select """
1277
1404
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1278
1405
 
1279
- select ($this as ?this) ?value
1406
+ select $this ?value
1280
1407
  where {
1281
1408
  {
1282
1409
  select (count(distinct ?voorstander) as ?voorstanderCount) {
@@ -1340,6 +1467,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1340
1467
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; # see https://github.com/rdfjs/N3.js/issues/252
1341
1468
  sh:minCount 1 ;
1342
1469
  sh:maxCount 1 ;
1470
+ sh:pattern '\\\\S' ;
1343
1471
  lblodBesluit:usageNote '51 '
1344
1472
  ] ;
1345
1473
  sh:property [
@@ -1350,6 +1478,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1350
1478
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; see https://github.com/rdfjs/N3.js/issues/252
1351
1479
  sh:minCount 1 ;
1352
1480
  sh:maxCount 1 ;
1481
+ sh:pattern '\\\\S' ;
1353
1482
  lblodBesluit:usageNote '52'
1354
1483
  ] ;
1355
1484
  sh:closed false .
@@ -1365,6 +1494,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1365
1494
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1366
1495
  sh:minCount 1 ;
1367
1496
  sh:maxCount 1 ;
1497
+ sh:pattern '\\\\S' ;
1368
1498
  lblodBesluit:usageNote '53'
1369
1499
  ] ;
1370
1500
  sh:property [
@@ -1375,6 +1505,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1375
1505
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1376
1506
  sh:minCount 1 ;
1377
1507
  sh:maxCount 1 ;
1508
+ sh:pattern '\\\\S' ;
1378
1509
  lblodBesluit:usageNote '54'
1379
1510
  ] ;
1380
1511
  sh:property [
@@ -1384,6 +1515,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1384
1515
  sh:path <http://data.europa.eu/eli/ontology#title> ;
1385
1516
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1386
1517
  sh:minCount 1 ;
1518
+ sh:pattern '\\\\S' ;
1387
1519
  lblodBesluit:usageNote '55'
1388
1520
  ] ;
1389
1521
  sh:property [
@@ -1391,7 +1523,8 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1391
1523
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
1392
1524
  sh:description "De taal van de verschijningsvorm." ;
1393
1525
  sh:path <http://data.europa.eu/eli/ontology#language> ;
1394
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1526
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1527
+ sh:nodeKind sh:IRI ;
1395
1528
  sh:minCount 1 ;
1396
1529
  sh:maxCount 1 ;
1397
1530
  qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
@@ -1401,7 +1534,20 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1401
1534
 
1402
1535
  <https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
1403
1536
  a sh:NodeShape ;
1404
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1537
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1538
+ sh:target [
1539
+ a sh:SPARQLTarget ;
1540
+ sh:select """
1541
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1542
+ PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
1543
+
1544
+ SELECT ?this
1545
+ WHERE {
1546
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1547
+ mandaat:isTijdspecialisatieVan ?bestuursorgaan .
1548
+ }
1549
+ """ ;
1550
+ ] ;
1405
1551
  sh:property [
1406
1552
  sh:name "isTijdspecialisatieVan (mandaat)" ;
1407
1553
  sh:description "Duidt de bronentiteit aan waarvan deze entiteit een tijdsgebonden specialisatie is. De specialisatie stelt de bron voor gedurende een bepaalde periode." ;
@@ -1415,13 +1561,26 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1415
1561
 
1416
1562
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
1417
1563
  a sh:NodeShape ;
1418
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1564
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1565
+ sh:target [
1566
+ a sh:SPARQLTarget ;
1567
+ sh:select """
1568
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1569
+
1570
+ SELECT ?this
1571
+ WHERE {
1572
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1573
+ besluit:bestuurt ?bestuurseenheid .
1574
+ }
1575
+ """ ;
1576
+ ] ;
1419
1577
  sh:property [
1420
1578
  sh:name "classificatie" ;
1421
1579
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1422
1580
  sh:description "Het type bestuursorgaan." ;
1423
1581
  sh:path <http://www.w3.org/ns/org#classification> ;
1424
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1582
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1583
+ sh:nodeKind sh:IRI ;
1425
1584
  sh:minCount 1 ;
1426
1585
  sh:maxCount 1 ;
1427
1586
  lblodBesluit:usageNote '58'
@@ -1431,7 +1590,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1431
1590
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1432
1591
  sh:description "Naam van de bestuursorgaan." ;
1433
1592
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
1434
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1593
+ sh:or (
1594
+ [
1595
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1596
+ ]
1597
+ [
1598
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1599
+ ]
1600
+ );
1435
1601
  sh:minCount 1 ;
1436
1602
  lblodBesluit:usageNote '59'
1437
1603
  ] ;
@@ -1454,7 +1620,8 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1454
1620
  sh:name "classificatie" ;
1455
1621
  sh:description "Classificatie van de bestuurseenheid." ;
1456
1622
  sh:path <http://data.vlaanderen.be/ns/besluit#classificatie> ;
1457
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1623
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1624
+ sh:nodeKind sh:IRI ;
1458
1625
  sh:minCount 1 ;
1459
1626
  sh:maxCount 1 ;
1460
1627
  lblodBesluit:usageNote '61'
@@ -1464,7 +1631,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1464
1631
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1465
1632
  sh:description "Naam van de bestuurseenheid." ;
1466
1633
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
1467
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1634
+ sh:or (
1635
+ [
1636
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1637
+ ]
1638
+ [
1639
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1640
+ ]
1641
+ );
1468
1642
  sh:minCount 1 ;
1469
1643
  lblodBesluit:usageNote '62'
1470
1644
  ] ;
@@ -1472,7 +1646,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1472
1646
  sh:name "werkingsgebied" ;
1473
1647
  sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
1474
1648
  sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
1475
- sh:class <http://www.w3.org/ns/prov#Location> ;
1649
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
1476
1650
  sh:minCount 1 ;
1477
1651
  sh:maxCount 1 ;
1478
1652
  lblodBesluit:usageNote '63'
@@ -1487,7 +1661,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1487
1661
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1488
1662
  sh:description "Naam van het werkingsgebied." ;
1489
1663
  sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
1490
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1664
+ sh:or (
1665
+ [
1666
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1667
+ ]
1668
+ [
1669
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1670
+ ]
1671
+ );
1491
1672
  sh:minCount 1 ;
1492
1673
  sh:maxCount 1 ;
1493
1674
  lblodBesluit:usageNote '64'
@@ -1496,7 +1677,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1496
1677
  sh:name "werkingsgebiedNiveau" ;
1497
1678
  sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
1498
1679
  sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
1499
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1680
+ sh:or (
1681
+ [
1682
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1683
+ ]
1684
+ [
1685
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1686
+ ]
1687
+ );
1500
1688
  sh:minCount 0 ;
1501
1689
  sh:maxCount 1 ;
1502
1690
  lblodBesluit:usageNote '65'
@@ -1515,7 +1703,7 @@ var decisionShape = `
1515
1703
  sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation>;
1516
1704
  sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation>;
1517
1705
  sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation>;
1518
- sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation>;
1706
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation>;
1519
1707
  sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation>;
1520
1708
  sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation>;
1521
1709
  sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation>;
@@ -1528,8 +1716,15 @@ var decisionShape = `
1528
1716
  <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation> sh:name "beschrijving" ;
1529
1717
  sh:description "Een beknopte beschrijving van het besluit." ;
1530
1718
  sh:path <http://data.europa.eu/eli/ontology#description> ;
1531
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1532
- sh:minCount 0 ;
1719
+ sh:or (
1720
+ [
1721
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1722
+ ]
1723
+ [
1724
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1725
+ ]
1726
+ );
1727
+ sh:minCount 1 ;
1533
1728
  sh:maxCount 1 ;
1534
1729
  sh:resultMessage "Het besluit mag maximaal \xE9\xE9n beschrijving hebben.";
1535
1730
  ext:successMessage "Het besluit heeft een beschrijving.".
@@ -1537,7 +1732,14 @@ var decisionShape = `
1537
1732
  <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation> sh:name "inhoud" ;
1538
1733
  sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
1539
1734
  sh:path <http://www.w3.org/ns/prov#value> ;
1540
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1735
+ sh:or (
1736
+ [
1737
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1738
+ ]
1739
+ [
1740
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1741
+ ]
1742
+ );
1541
1743
  sh:minCount 1 ;
1542
1744
  sh:maxCount 1 ;
1543
1745
  sh:resultMessage "Het besluit moet een artikelcontainer hebben.";
@@ -1555,7 +1757,14 @@ var decisionShape = `
1555
1757
  <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation> sh:name "titel" ;
1556
1758
  sh:description "Titel van de legale verschijningsvorm." ;
1557
1759
  sh:path <http://data.europa.eu/eli/ontology#title> ;
1558
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1760
+ sh:or (
1761
+ [
1762
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1763
+ ]
1764
+ [
1765
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1766
+ ]
1767
+ );
1559
1768
  sh:minCount 1 ;
1560
1769
  sh:resultMessage "Het besluit moet minstens \xE9\xE9n titel hebben.";
1561
1770
  ext:successMessage "De beslissing heeft een titel.".
@@ -1589,7 +1798,14 @@ var decisionShape = `
1589
1798
  <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation> sh:name "motivering" ;
1590
1799
  sh:description "Beschrijving van de juridische en feitelijke motivering achter de beslissing die wordt uitgedrukt in het besluit." ;
1591
1800
  sh:path <http://data.vlaanderen.be/ns/besluit#motivering> ;
1592
- sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ;
1801
+ sh:or (
1802
+ [
1803
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1804
+ ]
1805
+ [
1806
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1807
+ ]
1808
+ );
1593
1809
  sh:minCount 1 ;
1594
1810
  sh:maxCount 1 ;
1595
1811
  sh:resultMessage "Het besluit moet \xE9\xE9n motivering hebben.";