@lblod/lib-decision-shapes 0.0.25 → 0.0.27

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,17 +17,18 @@ 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#> .
29
29
  @prefix qb: <http://purl.org/linked-data/cube#> .
30
30
  @prefix lblodBesluit: <http://lblod.data.gift/vocabularies/besluit/> .
31
+ @prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
31
32
 
32
33
  <https://data.vlaanderen.be/shacl/besluit-publicatie#DocumentShape>
33
34
  a sh:NodeShape ;
@@ -83,6 +84,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
83
84
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
84
85
  sh:minCount 0 ;
85
86
  sh:maxCount 1 ;
87
+ sh:pattern '\\\\S' ;
86
88
  lblodBesluit:usageNote '3'
87
89
  ] ;
88
90
  sh:property [
@@ -103,6 +105,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
103
105
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
104
106
  sh:minCount 1 ;
105
107
  sh:maxCount 1 ;
108
+ sh:pattern '\\\\S' ;
106
109
  lblodBesluit:usageNote '5'
107
110
  ] ;
108
111
  sh:property [
@@ -152,7 +155,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
152
155
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
153
156
  sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
154
157
  sh:path <http://www.w3.org/ns/prov#atLocation> ;
155
- sh:class <http://www.w3.org/ns/prov#Location> ;
158
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
156
159
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
157
160
  sh:minCount 0 ;
158
161
  sh:maxCount 1 ;
@@ -171,7 +174,19 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
171
174
 
172
175
  <https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
173
176
  a sh:NodeShape ;
174
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
177
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
178
+ sh:target [
179
+ a sh:SPARQLTarget ;
180
+ sh:select """
181
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
182
+ PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
183
+
184
+ SELECT ?this
185
+ WHERE {
186
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
187
+ mandaat:isTijdspecialisatieVan ?bestuursorgaan .
188
+ }
189
+ """ ] ;
175
190
  sh:property [
176
191
  sh:name "isTijdspecialisatieVan (mandaat)" ;
177
192
  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 +200,19 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
185
200
 
186
201
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
187
202
  a sh:NodeShape ;
188
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
203
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
204
+ sh:target [
205
+ a sh:SPARQLTarget ;
206
+ sh:select """
207
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
208
+
209
+ SELECT ?this
210
+ WHERE {
211
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
212
+ besluit:bestuurt ?bestuurseenheid .
213
+ }
214
+ """ ;
215
+ ] ;
189
216
  sh:property [
190
217
  sh:name "classificatie" ;
191
218
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
@@ -201,7 +228,14 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
201
228
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
202
229
  sh:description "Naam van de bestuursorgaan." ;
203
230
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
204
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
231
+ sh:or (
232
+ [
233
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
234
+ ]
235
+ [
236
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
237
+ ]
238
+ );
205
239
  sh:minCount 1 ;
206
240
  sh:maxCount 1 ;
207
241
  lblodBesluit:usageNote '13'
@@ -235,7 +269,14 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
235
269
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
236
270
  sh:description "Naam van de bestuurseenheid." ;
237
271
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
238
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
272
+ sh:or (
273
+ [
274
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
275
+ ]
276
+ [
277
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
278
+ ]
279
+ );
239
280
  sh:minCount 1 ;
240
281
  sh:maxCount 1 ;
241
282
  lblodBesluit:usageNote '16'
@@ -244,7 +285,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
244
285
  sh:name "werkingsgebied" ;
245
286
  sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
246
287
  sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
247
- sh:class <http://www.w3.org/ns/prov#Location> ;
288
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
248
289
  sh:minCount 1 ;
249
290
  sh:maxCount 1 ;
250
291
  lblodBesluit:usageNote '17'
@@ -259,7 +300,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
259
300
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
260
301
  sh:description "Naam van het werkingsgebied." ;
261
302
  sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
262
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
303
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
263
304
  sh:minCount 1 ;
264
305
  sh:maxCount 1 ;
265
306
  lblodBesluit:usageNote '18'
@@ -268,7 +309,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
268
309
  sh:name "werkingsgebiedNiveau" ;
269
310
  sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
270
311
  sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
271
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
312
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
272
313
  sh:minCount 0 ;
273
314
  sh:maxCount 1 ;
274
315
  lblodBesluit:usageNote '19'
@@ -279,6 +320,7 @@ var basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
279
320
  var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
280
321
  @prefix qb: <http://purl.org/linked-data/cube#> .
281
322
  @prefix lblodBesluit: <http://lblod.data.gift/vocabularies/besluit/> .
323
+ @prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
282
324
 
283
325
  <https://data.vlaanderen.be/shacl/besluit-publicatie#DocumentShape>
284
326
  a sh:NodeShape ;
@@ -392,7 +434,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
392
434
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
393
435
  sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
394
436
  sh:path <http://www.w3.org/ns/prov#atLocation> ;
395
- sh:class <http://www.w3.org/ns/prov#Location> ;
437
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
396
438
  sh:minCount 0 ;
397
439
  sh:maxCount 1 ;
398
440
  lblodBesluit:usageNote '12'
@@ -470,6 +512,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
470
512
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
471
513
  sh:minCount 0 ;
472
514
  sh:maxCount 1 ;
515
+ sh:pattern '\\\\S' ;
473
516
  lblodBesluit:usageNote '17'
474
517
  ] ;
475
518
  sh:property [
@@ -490,6 +533,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
490
533
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
491
534
  sh:minCount 1 ;
492
535
  sh:maxCount 1 ;
536
+ sh:pattern '\\\\S' ;
493
537
  lblodBesluit:usageNote '20'
494
538
  ] ;
495
539
  sh:property [
@@ -544,6 +588,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
544
588
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
545
589
  sh:minCount 0 ;
546
590
  sh:maxCount 1 ;
591
+ sh:pattern '\\\\S' ;
547
592
  lblodBesluit:usageNote '23'
548
593
  ] ;
549
594
  sh:property [
@@ -564,6 +609,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
564
609
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
565
610
  sh:minCount 0 ;
566
611
  sh:maxCount 1 ;
612
+ sh:pattern '\\\\S' ;
567
613
  lblodBesluit:usageNote '25'
568
614
  ] ;
569
615
  sh:property [
@@ -573,6 +619,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
573
619
  sh:path <http://data.europa.eu/eli/ontology#title> ;
574
620
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
575
621
  sh:minCount 1 ;
622
+ sh:pattern '\\\\S' ;
576
623
  lblodBesluit:usageNote '26'
577
624
  ] ;
578
625
  sh:property [
@@ -626,6 +673,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
626
673
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; # see https://github.com/rdfjs/N3.js/issues/252
627
674
  sh:minCount 1 ;
628
675
  sh:maxCount 1 ;
676
+ sh:pattern '\\\\S' ;
629
677
  lblodBesluit:usageNote '31'
630
678
  ] ;
631
679
  sh:property [
@@ -636,13 +684,26 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
636
684
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; see https://github.com/rdfjs/N3.js/issues/252
637
685
  sh:minCount 1 ;
638
686
  sh:maxCount 1 ;
687
+ sh:pattern '\\\\S' ;
639
688
  lblodBesluit:usageNote '32'
640
689
  ] ;
641
690
  sh:closed false .
642
691
 
643
692
  <https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
644
693
  a sh:NodeShape ;
645
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
694
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
695
+ sh:target [
696
+ a sh:SPARQLTarget ;
697
+ sh:select """
698
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
699
+ PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
700
+
701
+ SELECT ?this
702
+ WHERE {
703
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
704
+ mandaat:isTijdspecialisatieVan ?bestuursorgaan .
705
+ }
706
+ """ ] ;
646
707
  sh:property [
647
708
  sh:name "isTijdspecialisatieVan (mandaat)" ;
648
709
  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 +717,19 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
656
717
 
657
718
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
658
719
  a sh:NodeShape ;
659
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
720
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
721
+ sh:target [
722
+ a sh:SPARQLTarget ;
723
+ sh:select """
724
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
725
+
726
+ SELECT ?this
727
+ WHERE {
728
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
729
+ besluit:bestuurt ?bestuurseenheid .
730
+ }
731
+ """ ;
732
+ ] ;
660
733
  sh:property [
661
734
  sh:name "classificatie" ;
662
735
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
@@ -672,7 +745,14 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
672
745
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
673
746
  sh:description "Naam van de bestuursorgaan." ;
674
747
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
675
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
748
+ sh:or (
749
+ [
750
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
751
+ ]
752
+ [
753
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
754
+ ]
755
+ );
676
756
  sh:minCount 1 ;
677
757
  sh:maxCount 1 ;
678
758
  lblodBesluit:usageNote '35'
@@ -706,7 +786,14 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
706
786
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
707
787
  sh:description "Naam van de bestuurseenheid." ;
708
788
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
709
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
789
+ sh:or (
790
+ [
791
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
792
+ ]
793
+ [
794
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
795
+ ]
796
+ );
710
797
  sh:minCount 1 ;
711
798
  sh:maxCount 1 ;
712
799
  lblodBesluit:usageNote '38'
@@ -715,7 +802,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
715
802
  sh:name "werkingsgebied" ;
716
803
  sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
717
804
  sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
718
- sh:class <http://www.w3.org/ns/prov#Location> ;
805
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
719
806
  sh:minCount 1 ;
720
807
  sh:maxCount 1 ;
721
808
  lblodBesluit:usageNote '39'
@@ -730,7 +817,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
730
817
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
731
818
  sh:description "Naam van het werkingsgebied." ;
732
819
  sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
733
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
820
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
734
821
  sh:minCount 1 ;
735
822
  sh:maxCount 1 ;
736
823
  lblodBesluit:usageNote '40'
@@ -739,7 +826,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
739
826
  sh:name "werkingsgebiedNiveau" ;
740
827
  sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
741
828
  sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
742
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
829
+ sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
743
830
  sh:minCount 0 ;
744
831
  sh:maxCount 1 ;
745
832
  lblodBesluit:usageNote '41'
@@ -750,6 +837,7 @@ var decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
750
837
  var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
751
838
  @prefix qb: <http://purl.org/linked-data/cube#> .
752
839
  @prefix lblodBesluit: <http://lblod.data.gift/vocabularies/besluit/> .
840
+ @prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
753
841
 
754
842
  <https://data.vlaanderen.be/shacl/besluit-publicatie#DocumentShape>
755
843
  a sh:NodeShape ;
@@ -773,6 +861,23 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
773
861
  <https://data.vlaanderen.be/shacl/besluit-publicatie#ZittingShape>
774
862
  a sh:NodeShape ;
775
863
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#Zitting> ;
864
+ sh:sparql [
865
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
866
+ sh:select """
867
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
868
+
869
+ select DISTINCT $this ?path ?value
870
+ where {
871
+ $this ?path ?mandataris .
872
+
873
+ FILTER (?path IN (besluit:heeftVoorzitter, besluit:heeftSecretaris, besluit:heeftAanwezigeBijStart, besluit:heeftAfwezigeBijStart))
874
+ FILTER isBlank(?mandataris)
875
+
876
+ BIND ("Mandataris gevonden die geen URI heeft" as ?value)
877
+ }
878
+ """ ;
879
+ sh:message 'Er zijn mandatarissen gedetecteerd die geen URI hebben.'
880
+ ] ;
776
881
  sh:property [
777
882
  sh:name "behandelt" ;
778
883
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
@@ -863,7 +968,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
863
968
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
864
969
  sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
865
970
  sh:path <http://www.w3.org/ns/prov#atLocation> ;
866
- sh:class <http://www.w3.org/ns/prov#Location> ;
971
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
867
972
  sh:minCount 0 ;
868
973
  sh:maxCount 1 ;
869
974
  lblodBesluit:usageNote '12'
@@ -873,7 +978,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
873
978
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
874
979
  sh:description "Een mandataris (van het bestuursorsgaan die de zitting hield) die aanwezig was bij de start van de zitting." ;
875
980
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezigeBijStart> ;
876
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
877
981
  sh:minCount 0 ;
878
982
  lblodBesluit:usageNote '13'
879
983
  ] ;
@@ -881,7 +985,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
881
985
  sh:name "heeftAfwezigeBijStart" ;
882
986
  sh:description "Een mandataris (van het bestuursorsgaan die de zitting hield) die afwezig was bij de start van de zitting." ;
883
987
  sh:path <http://mu.semte.ch/vocabularies/ext/heeftAfwezigeBijStart> ;
884
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
885
988
  sh:minCount 0 ;
886
989
  lblodBesluit:usageNote '14'
887
990
  ] ;
@@ -890,7 +993,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
890
993
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
891
994
  sh:description "De mandataris die de rol als voorzitter heeft gedurende de zitting." ;
892
995
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorzitter> ;
893
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
894
996
  sh:minCount 1 ;
895
997
  sh:maxCount 1 ;
896
998
  lblodBesluit:usageNote '15'
@@ -900,7 +1002,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
900
1002
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
901
1003
  sh:description "De mandataris die de rol van secretaris heeft gedurende de zitting." ;
902
1004
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftSecretaris> ;
903
- sh:class <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
904
1005
  sh:minCount 1 ;
905
1006
  sh:maxCount 1 ;
906
1007
  lblodBesluit:usageNote '16'
@@ -941,6 +1042,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
941
1042
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
942
1043
  sh:minCount 0 ;
943
1044
  sh:maxCount 1 ;
1045
+ sh:pattern '\\\\S' ;
944
1046
  lblodBesluit:usageNote '18'
945
1047
  ] ;
946
1048
  sh:property [
@@ -961,6 +1063,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
961
1063
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
962
1064
  sh:minCount 1 ;
963
1065
  sh:maxCount 1 ;
1066
+ sh:pattern '\\\\S' ;
964
1067
  lblodBesluit:usageNote '20'
965
1068
  ] ;
966
1069
  sh:property [
@@ -975,6 +1078,23 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
975
1078
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BehandelingVanAgendapuntShape>
976
1079
  a sh:NodeShape ;
977
1080
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#BehandelingVanAgendapunt> ;
1081
+ sh:sparql [
1082
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1083
+ sh:select """
1084
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1085
+
1086
+ select DISTINCT $this ?path ?value
1087
+ where {
1088
+ $this ?path ?mandataris .
1089
+
1090
+ FILTER (?path IN (besluit:heeftAanwezige, besluit:heeftVoorzitter, besluit:heeftSecretaris))
1091
+ FILTER isBlank(?mandataris)
1092
+
1093
+ BIND ("Mandataris gevonden die geen URI heeft" as ?value)
1094
+ }
1095
+ """ ;
1096
+ sh:message 'Er zijn mandatarissen gedetecteerd die geen URI hebben.'
1097
+ ] ;
978
1098
  sh:property [
979
1099
  sh:name "heeftOnderwerp" ;
980
1100
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
@@ -1018,7 +1138,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1018
1138
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1019
1139
  sh:description "Een mandataris (van het orgaan dat de zitting houdt) die aanwezig was tijdens (een deel van) de behandeling." ;
1020
1140
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezige> ;
1021
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1022
1141
  sh:minCount 1 ;
1023
1142
  lblodBesluit:usageNote '26'
1024
1143
  ] ;
@@ -1027,7 +1146,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1027
1146
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1028
1147
  sh:description "De mandataris die de rol als voorzitter heeft gedurende de behandeling van het agendapunt." ;
1029
1148
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorzitter> ;
1030
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1031
1149
  sh:minCount 0 ;
1032
1150
  sh:maxCount 1 ;
1033
1151
  lblodBesluit:usageNote '27'
@@ -1037,7 +1155,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1037
1155
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1038
1156
  sh:description "De mandataris die de rol van secretaris heeft gedurende de behandeling van het agendapunt." ;
1039
1157
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftSecretaris> ;
1040
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1041
1158
  sh:minCount 0 ;
1042
1159
  sh:maxCount 1 ;
1043
1160
  lblodBesluit:usageNote '28'
@@ -1064,6 +1181,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1064
1181
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1065
1182
  sh:minCount 0 ;
1066
1183
  sh:maxCount 1 ;
1184
+ sh:pattern '\\\\S' ;
1067
1185
  lblodBesluit:usageNote '30'
1068
1186
  ] ;
1069
1187
  sh:property [
@@ -1071,9 +1189,17 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1071
1189
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1072
1190
  sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
1073
1191
  sh:path <http://www.w3.org/ns/prov#value> ;
1074
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1192
+ sh:or (
1193
+ [
1194
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1195
+ ]
1196
+ [
1197
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1198
+ ]
1199
+ );
1075
1200
  sh:minCount 1 ;
1076
1201
  sh:maxCount 1 ;
1202
+ sh:pattern '\\\\S' ;
1077
1203
  lblodBesluit:usageNote '31'
1078
1204
  ] ;
1079
1205
  sh:property [
@@ -1094,6 +1220,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1094
1220
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1095
1221
  sh:minCount 0 ;
1096
1222
  sh:maxCount 1 ;
1223
+ sh:pattern '\\\\S' ;
1097
1224
  lblodBesluit:usageNote '33'
1098
1225
  ] ;
1099
1226
  sh:property [
@@ -1103,6 +1230,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1103
1230
  sh:path <http://data.europa.eu/eli/ontology#title> ;
1104
1231
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1105
1232
  sh:minCount 1 ;
1233
+ sh:pattern '\\\\S' ;
1106
1234
  lblodBesluit:usageNote '34'
1107
1235
  ] ;
1108
1236
  sh:property [
@@ -1110,7 +1238,8 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1110
1238
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1111
1239
  sh:description "De taal van de verschijningsvorm." ;
1112
1240
  sh:path <http://data.europa.eu/eli/ontology#language> ;
1113
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1241
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1242
+ sh:nodeKind sh:IRI ;
1114
1243
  sh:minCount 1 ;
1115
1244
  sh:maxCount 1 ;
1116
1245
  qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
@@ -1128,7 +1257,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1128
1257
  sh:name "citeert" ;
1129
1258
  sh:description "Een citatie in de wettelijke tekst. Dit omvat zowel woordelijke citaten als citaten in verwijzingen." ;
1130
1259
  sh:path <http://data.europa.eu/eli/ontology#cites> ;
1131
- sh:class <http://data.europa.eu/eli/ontology#LegalExpression> ;
1260
+ sh:nodeKind sh:IRI ;
1132
1261
  sh:minCount 0 ;
1133
1262
  lblodBesluit:usageNote '37'
1134
1263
  ] ;
@@ -1140,6 +1269,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1140
1269
  sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ;
1141
1270
  sh:minCount 1 ;
1142
1271
  sh:maxCount 1 ;
1272
+ sh:pattern '\\\\S' ;
1143
1273
  lblodBesluit:usageNote '38'
1144
1274
  ] ;
1145
1275
  sh:property [
@@ -1175,10 +1305,11 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1175
1305
  a sh:NodeShape ;
1176
1306
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#Stemming> ;
1177
1307
  sh:sparql [
1308
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1178
1309
  sh:select """
1179
1310
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1180
1311
 
1181
- select DISTINCT ($this as ?this) ?path ?value
1312
+ select DISTINCT $this ?path ?value
1182
1313
  where {
1183
1314
  $this ?path ?mandataris .
1184
1315
 
@@ -1195,21 +1326,26 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1195
1326
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1196
1327
  sh:description "Een mandataris die als onthouder heeft gestemd op het onderwerp van de stemming." ;
1197
1328
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftOnthouder> ;
1198
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1199
1329
  sh:minCount 0 ;
1200
1330
  lblodBesluit:usageNote '42' ;
1201
1331
  sh:sparql [
1332
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1202
1333
  sh:select """
1203
1334
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1204
1335
 
1205
- select ($this as ?this) ?value
1336
+ select $this ?value
1206
1337
  where {
1207
- {
1208
- select (count(distinct ?onthouder) as ?onthouderCount) {
1209
- $this besluit:heeftOnthouder ?onthouder .
1338
+ $this besluit:aantalOnthouders ?aantalOnthouders .
1339
+ OPTIONAL {
1340
+ {
1341
+ select ?stemming (count(distinct ?onthouder) as ?onthouderTotal) {
1342
+ ?stemming besluit:heeftOnthouder ?onthouder .
1343
+ }
1344
+ group by ?stemming
1210
1345
  }
1346
+ FILTER (?stemming = $this)
1211
1347
  }
1212
- $this besluit:aantalOnthouders ?aantalOnthouders .
1348
+ BIND(COALESCE(?onthouderTotal, 0) as ?onthouderCount)
1213
1349
  FILTER (?onthouderCount != ?aantalOnthouders)
1214
1350
 
1215
1351
  BIND(concat("Aantal gevonden onthouders (", str(?onthouderCount), ") is niet gelijk aan het opgegeven aantalOnthouders (", str(?aantalOnthouders), "). ") as ?value)
@@ -1223,7 +1359,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1223
1359
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1224
1360
  sh:description "Een mandataris (van het orgaan dat de zitting houdt) die aanwezig was tijdens de stemming." ;
1225
1361
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezige> ;
1226
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1227
1362
  sh:minCount 1 ;
1228
1363
  lblodBesluit:usageNote '43'
1229
1364
  ] ;
@@ -1232,7 +1367,6 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1232
1367
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1233
1368
  sh:description "Een mandataris die deelneemt aan de stemming." ;
1234
1369
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftStemmer> ;
1235
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1236
1370
  sh:minCount 0 ;
1237
1371
  lblodBesluit:usageNote '44'
1238
1372
  ] ;
@@ -1241,21 +1375,26 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1241
1375
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1242
1376
  sh:description "Een mandataris die als tegenstander heeft gestemd op het onderwerp van de stemming." ;
1243
1377
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftTegenstander> ;
1244
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1245
1378
  sh:minCount 0 ;
1246
1379
  lblodBesluit:usageNote '45' ;
1247
1380
  sh:sparql [
1381
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1248
1382
  sh:select """
1249
1383
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1250
1384
 
1251
- select ($this as ?this) ?value
1385
+ select $this ?value
1252
1386
  where {
1253
- {
1254
- select (count(distinct ?tegenstander) as ?tegenstanderCount) {
1255
- $this besluit:heeftTegenstander ?tegenstander .
1387
+ $this besluit:aantalTegenstanders ?aantalTegenstanders .
1388
+ OPTIONAL {
1389
+ {
1390
+ select ?stemming (count(distinct ?tegenstander) as ?tegenstanderTotal) {
1391
+ ?stemming besluit:heeftTegenstander ?tegenstander .
1392
+ }
1393
+ group by ?stemming
1256
1394
  }
1395
+ FILTER (?stemming = $this)
1257
1396
  }
1258
- $this besluit:aantalTegenstanders ?aantalTegenstanders .
1397
+ BIND(COALESCE(?tegenstanderTotal, 0) as ?tegenstanderCount)
1259
1398
  FILTER (?tegenstanderCount != ?aantalTegenstanders)
1260
1399
 
1261
1400
  BIND(concat("Aantal gevonden tegenstanders (", str(?tegenstanderCount), ") is niet gelijk aan het opgegeven aantalTegenstanders (", str(?aantalTegenstanders), "). ") as ?value)
@@ -1269,21 +1408,26 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1269
1408
  lblodBesluit:maturiteitsniveau "Niveau 1" ;
1270
1409
  sh:description "Een mandataris die als voorstander heeft gestemd op het onderwerp van de stemming." ;
1271
1410
  sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorstander> ;
1272
- sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
1273
1411
  sh:minCount 0 ;
1274
1412
  lblodBesluit:usageNote '46' ;
1275
1413
  sh:sparql [
1414
+ lblodBesluit:maturiteitsniveau "Niveau 2" ;
1276
1415
  sh:select """
1277
1416
  PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1278
1417
 
1279
- select ($this as ?this) ?value
1418
+ select $this ?value
1280
1419
  where {
1281
- {
1282
- select (count(distinct ?voorstander) as ?voorstanderCount) {
1283
- $this besluit:heeftVoorstander ?voorstander .
1420
+ $this besluit:aantalVoorstanders ?aantalVoorstanders .
1421
+ OPTIONAL {
1422
+ {
1423
+ select ?stemming (count(distinct ?voorstander) as ?voorstanderTotal) {
1424
+ ?stemming besluit:heeftVoorstander ?voorstander .
1425
+ }
1426
+ group by ?stemming
1284
1427
  }
1428
+ FILTER (?stemming = $this)
1285
1429
  }
1286
- $this besluit:aantalVoorstanders ?aantalVoorstanders .
1430
+ BIND(COALESCE(?voorstanderTotal, 0) as ?voorstanderCount)
1287
1431
  FILTER (?voorstanderCount != ?aantalVoorstanders)
1288
1432
 
1289
1433
  BIND(concat("Aantal gevonden voorstanders (", str(?voorstanderCount), ") is niet gelijk aan het opgegeven aantalVoorstanders (", str(?aantalVoorstanders), "). ") as ?value)
@@ -1340,6 +1484,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1340
1484
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; # see https://github.com/rdfjs/N3.js/issues/252
1341
1485
  sh:minCount 1 ;
1342
1486
  sh:maxCount 1 ;
1487
+ sh:pattern '\\\\S' ;
1343
1488
  lblodBesluit:usageNote '51 '
1344
1489
  ] ;
1345
1490
  sh:property [
@@ -1350,6 +1495,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1350
1495
  # sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; see https://github.com/rdfjs/N3.js/issues/252
1351
1496
  sh:minCount 1 ;
1352
1497
  sh:maxCount 1 ;
1498
+ sh:pattern '\\\\S' ;
1353
1499
  lblodBesluit:usageNote '52'
1354
1500
  ] ;
1355
1501
  sh:closed false .
@@ -1365,6 +1511,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1365
1511
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1366
1512
  sh:minCount 1 ;
1367
1513
  sh:maxCount 1 ;
1514
+ sh:pattern '\\\\S' ;
1368
1515
  lblodBesluit:usageNote '53'
1369
1516
  ] ;
1370
1517
  sh:property [
@@ -1375,6 +1522,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1375
1522
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1376
1523
  sh:minCount 1 ;
1377
1524
  sh:maxCount 1 ;
1525
+ sh:pattern '\\\\S' ;
1378
1526
  lblodBesluit:usageNote '54'
1379
1527
  ] ;
1380
1528
  sh:property [
@@ -1384,6 +1532,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1384
1532
  sh:path <http://data.europa.eu/eli/ontology#title> ;
1385
1533
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1386
1534
  sh:minCount 1 ;
1535
+ sh:pattern '\\\\S' ;
1387
1536
  lblodBesluit:usageNote '55'
1388
1537
  ] ;
1389
1538
  sh:property [
@@ -1391,7 +1540,8 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1391
1540
  lblodBesluit:maturiteitsniveau "Niveau 3" ;
1392
1541
  sh:description "De taal van de verschijningsvorm." ;
1393
1542
  sh:path <http://data.europa.eu/eli/ontology#language> ;
1394
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1543
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1544
+ sh:nodeKind sh:IRI ;
1395
1545
  sh:minCount 1 ;
1396
1546
  sh:maxCount 1 ;
1397
1547
  qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
@@ -1401,7 +1551,20 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1401
1551
 
1402
1552
  <https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
1403
1553
  a sh:NodeShape ;
1404
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1554
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1555
+ sh:target [
1556
+ a sh:SPARQLTarget ;
1557
+ sh:select """
1558
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1559
+ PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
1560
+
1561
+ SELECT ?this
1562
+ WHERE {
1563
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1564
+ mandaat:isTijdspecialisatieVan ?bestuursorgaan .
1565
+ }
1566
+ """ ;
1567
+ ] ;
1405
1568
  sh:property [
1406
1569
  sh:name "isTijdspecialisatieVan (mandaat)" ;
1407
1570
  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 +1578,26 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1415
1578
 
1416
1579
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
1417
1580
  a sh:NodeShape ;
1418
- sh:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1581
+ ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1582
+ sh:target [
1583
+ a sh:SPARQLTarget ;
1584
+ sh:select """
1585
+ PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
1586
+
1587
+ SELECT ?this
1588
+ WHERE {
1589
+ ?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
1590
+ besluit:bestuurt ?bestuurseenheid .
1591
+ }
1592
+ """ ;
1593
+ ] ;
1419
1594
  sh:property [
1420
1595
  sh:name "classificatie" ;
1421
1596
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1422
1597
  sh:description "Het type bestuursorgaan." ;
1423
1598
  sh:path <http://www.w3.org/ns/org#classification> ;
1424
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1599
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1600
+ sh:nodeKind sh:IRI ;
1425
1601
  sh:minCount 1 ;
1426
1602
  sh:maxCount 1 ;
1427
1603
  lblodBesluit:usageNote '58'
@@ -1431,7 +1607,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1431
1607
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1432
1608
  sh:description "Naam van de bestuursorgaan." ;
1433
1609
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
1434
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1610
+ sh:or (
1611
+ [
1612
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1613
+ ]
1614
+ [
1615
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1616
+ ]
1617
+ );
1435
1618
  sh:minCount 1 ;
1436
1619
  lblodBesluit:usageNote '59'
1437
1620
  ] ;
@@ -1454,7 +1637,8 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1454
1637
  sh:name "classificatie" ;
1455
1638
  sh:description "Classificatie van de bestuurseenheid." ;
1456
1639
  sh:path <http://data.vlaanderen.be/ns/besluit#classificatie> ;
1457
- sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1640
+ # sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
1641
+ sh:nodeKind sh:IRI ;
1458
1642
  sh:minCount 1 ;
1459
1643
  sh:maxCount 1 ;
1460
1644
  lblodBesluit:usageNote '61'
@@ -1464,7 +1648,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1464
1648
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1465
1649
  sh:description "Naam van de bestuurseenheid." ;
1466
1650
  sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
1467
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1651
+ sh:or (
1652
+ [
1653
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1654
+ ]
1655
+ [
1656
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1657
+ ]
1658
+ );
1468
1659
  sh:minCount 1 ;
1469
1660
  lblodBesluit:usageNote '62'
1470
1661
  ] ;
@@ -1472,7 +1663,7 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1472
1663
  sh:name "werkingsgebied" ;
1473
1664
  sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
1474
1665
  sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
1475
- sh:class <http://www.w3.org/ns/prov#Location> ;
1666
+ # sh:class <http://www.w3.org/ns/prov#Location> ;
1476
1667
  sh:minCount 1 ;
1477
1668
  sh:maxCount 1 ;
1478
1669
  lblodBesluit:usageNote '63'
@@ -1487,7 +1678,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1487
1678
  lblodBesluit:maturiteitsniveau "Bonusniveau" ;
1488
1679
  sh:description "Naam van het werkingsgebied." ;
1489
1680
  sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
1490
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1681
+ sh:or (
1682
+ [
1683
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1684
+ ]
1685
+ [
1686
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1687
+ ]
1688
+ );
1491
1689
  sh:minCount 1 ;
1492
1690
  sh:maxCount 1 ;
1493
1691
  lblodBesluit:usageNote '64'
@@ -1496,7 +1694,14 @@ var notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
1496
1694
  sh:name "werkingsgebiedNiveau" ;
1497
1695
  sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
1498
1696
  sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
1499
- sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
1697
+ sh:or (
1698
+ [
1699
+ sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
1700
+ ]
1701
+ [
1702
+ sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
1703
+ ]
1704
+ );
1500
1705
  sh:minCount 0 ;
1501
1706
  sh:maxCount 1 ;
1502
1707
  lblodBesluit:usageNote '65'