@lblod/lib-decision-shapes 0.0.25 → 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 +237 -49
- package/dist/index.js.map +1 -1
- package/dist/shapes/shapes/basic-agenda.ts +48 -8
- package/dist/shapes/shapes/decision-list.ts +53 -8
- package/dist/shapes/shapes/notulen.ts +133 -30
- package/package.json +2 -1
- package/src/shapes/basic-agenda.ts +48 -8
- package/src/shapes/decision-list.ts +53 -8
- package/src/shapes/notulen.ts +133 -30
|
@@ -114,7 +114,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
114
114
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
115
115
|
sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
|
|
116
116
|
sh:path <http://www.w3.org/ns/prov#atLocation> ;
|
|
117
|
-
sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
117
|
+
# sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
118
118
|
sh:minCount 0 ;
|
|
119
119
|
sh:maxCount 1 ;
|
|
120
120
|
lblodBesluit:usageNote '12'
|
|
@@ -192,6 +192,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
192
192
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
193
193
|
sh:minCount 0 ;
|
|
194
194
|
sh:maxCount 1 ;
|
|
195
|
+
sh:pattern '\\\\S' ;
|
|
195
196
|
lblodBesluit:usageNote '17'
|
|
196
197
|
] ;
|
|
197
198
|
sh:property [
|
|
@@ -212,6 +213,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
212
213
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
213
214
|
sh:minCount 1 ;
|
|
214
215
|
sh:maxCount 1 ;
|
|
216
|
+
sh:pattern '\\\\S' ;
|
|
215
217
|
lblodBesluit:usageNote '20'
|
|
216
218
|
] ;
|
|
217
219
|
sh:property [
|
|
@@ -266,6 +268,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
266
268
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
267
269
|
sh:minCount 0 ;
|
|
268
270
|
sh:maxCount 1 ;
|
|
271
|
+
sh:pattern '\\\\S' ;
|
|
269
272
|
lblodBesluit:usageNote '23'
|
|
270
273
|
] ;
|
|
271
274
|
sh:property [
|
|
@@ -286,6 +289,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
286
289
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
287
290
|
sh:minCount 0 ;
|
|
288
291
|
sh:maxCount 1 ;
|
|
292
|
+
sh:pattern '\\\\S' ;
|
|
289
293
|
lblodBesluit:usageNote '25'
|
|
290
294
|
] ;
|
|
291
295
|
sh:property [
|
|
@@ -295,6 +299,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
295
299
|
sh:path <http://data.europa.eu/eli/ontology#title> ;
|
|
296
300
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
297
301
|
sh:minCount 1 ;
|
|
302
|
+
sh:pattern '\\\\S' ;
|
|
298
303
|
lblodBesluit:usageNote '26'
|
|
299
304
|
] ;
|
|
300
305
|
sh:property [
|
|
@@ -348,6 +353,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
348
353
|
# sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; # see https://github.com/rdfjs/N3.js/issues/252
|
|
349
354
|
sh:minCount 1 ;
|
|
350
355
|
sh:maxCount 1 ;
|
|
356
|
+
sh:pattern '\\\\S' ;
|
|
351
357
|
lblodBesluit:usageNote '31'
|
|
352
358
|
] ;
|
|
353
359
|
sh:property [
|
|
@@ -358,13 +364,26 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
358
364
|
# sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; see https://github.com/rdfjs/N3.js/issues/252
|
|
359
365
|
sh:minCount 1 ;
|
|
360
366
|
sh:maxCount 1 ;
|
|
367
|
+
sh:pattern '\\\\S' ;
|
|
361
368
|
lblodBesluit:usageNote '32'
|
|
362
369
|
] ;
|
|
363
370
|
sh:closed false .
|
|
364
371
|
|
|
365
372
|
<https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
|
|
366
373
|
a sh:NodeShape ;
|
|
367
|
-
|
|
374
|
+
ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
375
|
+
sh:target [
|
|
376
|
+
a sh:SPARQLTarget ;
|
|
377
|
+
sh:select """
|
|
378
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
379
|
+
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
380
|
+
|
|
381
|
+
SELECT ?this
|
|
382
|
+
WHERE {
|
|
383
|
+
?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
384
|
+
mandaat:isTijdspecialisatieVan ?bestuursorgaan .
|
|
385
|
+
}
|
|
386
|
+
""" ;
|
|
368
387
|
sh:property [
|
|
369
388
|
sh:name "isTijdspecialisatieVan (mandaat)" ;
|
|
370
389
|
sh:description "Duidt de bronentiteit aan waarvan deze entiteit een tijdsgebonden specialisatie is. De specialisatie stelt de bron voor gedurende een bepaalde periode." ;
|
|
@@ -378,7 +397,19 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
378
397
|
|
|
379
398
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
|
|
380
399
|
a sh:NodeShape ;
|
|
381
|
-
|
|
400
|
+
ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
401
|
+
sh:target [
|
|
402
|
+
a sh:SPARQLTarget ;
|
|
403
|
+
sh:select """
|
|
404
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
405
|
+
|
|
406
|
+
SELECT ?this
|
|
407
|
+
WHERE {
|
|
408
|
+
?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
409
|
+
besluit:bestuurt ?bestuurseenheid .
|
|
410
|
+
}
|
|
411
|
+
""" ;
|
|
412
|
+
] ;
|
|
382
413
|
sh:property [
|
|
383
414
|
sh:name "classificatie" ;
|
|
384
415
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
@@ -394,7 +425,14 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
394
425
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
395
426
|
sh:description "Naam van de bestuursorgaan." ;
|
|
396
427
|
sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
|
|
397
|
-
sh:
|
|
428
|
+
sh:or (
|
|
429
|
+
[
|
|
430
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
431
|
+
]
|
|
432
|
+
[
|
|
433
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
434
|
+
]
|
|
435
|
+
);
|
|
398
436
|
sh:minCount 1 ;
|
|
399
437
|
sh:maxCount 1 ;
|
|
400
438
|
lblodBesluit:usageNote '35'
|
|
@@ -428,7 +466,14 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
428
466
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
429
467
|
sh:description "Naam van de bestuurseenheid." ;
|
|
430
468
|
sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
|
|
431
|
-
sh:
|
|
469
|
+
sh:or (
|
|
470
|
+
[
|
|
471
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
472
|
+
]
|
|
473
|
+
[
|
|
474
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
475
|
+
]
|
|
476
|
+
);
|
|
432
477
|
sh:minCount 1 ;
|
|
433
478
|
sh:maxCount 1 ;
|
|
434
479
|
lblodBesluit:usageNote '38'
|
|
@@ -437,7 +482,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
437
482
|
sh:name "werkingsgebied" ;
|
|
438
483
|
sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
|
|
439
484
|
sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
|
|
440
|
-
sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
485
|
+
# sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
441
486
|
sh:minCount 1 ;
|
|
442
487
|
sh:maxCount 1 ;
|
|
443
488
|
lblodBesluit:usageNote '39'
|
|
@@ -452,7 +497,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
452
497
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
453
498
|
sh:description "Naam van het werkingsgebied." ;
|
|
454
499
|
sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
|
|
455
|
-
sh:datatype <http://www.w3.org/2001/XMLSchema#
|
|
500
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
|
|
456
501
|
sh:minCount 1 ;
|
|
457
502
|
sh:maxCount 1 ;
|
|
458
503
|
lblodBesluit:usageNote '40'
|
|
@@ -461,7 +506,7 @@ export const decisionListShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
461
506
|
sh:name "werkingsgebiedNiveau" ;
|
|
462
507
|
sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
|
|
463
508
|
sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
|
|
464
|
-
sh:datatype <http://www.w3.org/2001/XMLSchema#
|
|
509
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
|
|
465
510
|
sh:minCount 0 ;
|
|
466
511
|
sh:maxCount 1 ;
|
|
467
512
|
lblodBesluit:usageNote '41'
|
package/src/shapes/notulen.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
2
2
|
@prefix qb: <http://purl.org/linked-data/cube#> .
|
|
3
3
|
@prefix lblodBesluit: <http://lblod.data.gift/vocabularies/besluit/> .
|
|
4
|
+
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
|
|
4
5
|
|
|
5
6
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#DocumentShape>
|
|
6
7
|
a sh:NodeShape ;
|
|
@@ -24,6 +25,23 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
24
25
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#ZittingShape>
|
|
25
26
|
a sh:NodeShape ;
|
|
26
27
|
sh:targetClass <http://data.vlaanderen.be/ns/besluit#Zitting> ;
|
|
28
|
+
sh:sparql [
|
|
29
|
+
lblodBesluit:maturiteitsniveau "Niveau 2" ;
|
|
30
|
+
sh:select """
|
|
31
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
32
|
+
|
|
33
|
+
select DISTINCT $this ?path ?value
|
|
34
|
+
where {
|
|
35
|
+
$this ?path ?mandataris .
|
|
36
|
+
|
|
37
|
+
FILTER (?path IN (besluit:heeftVoorzitter, besluit:heeftSecretaris, besluit:heeftAanwezigeBijStart, besluit:heeftAfwezigeBijStart))
|
|
38
|
+
FILTER isBlank(?mandataris)
|
|
39
|
+
|
|
40
|
+
BIND ("Mandataris gevonden die geen URI heeft" as ?value)
|
|
41
|
+
}
|
|
42
|
+
""" ;
|
|
43
|
+
sh:message 'Er zijn mandatarissen gedetecteerd die geen URI hebben.'
|
|
44
|
+
] ;
|
|
27
45
|
sh:property [
|
|
28
46
|
sh:name "behandelt" ;
|
|
29
47
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
@@ -114,7 +132,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
114
132
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
115
133
|
sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
|
|
116
134
|
sh:path <http://www.w3.org/ns/prov#atLocation> ;
|
|
117
|
-
sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
135
|
+
# sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
118
136
|
sh:minCount 0 ;
|
|
119
137
|
sh:maxCount 1 ;
|
|
120
138
|
lblodBesluit:usageNote '12'
|
|
@@ -124,7 +142,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
124
142
|
lblodBesluit:maturiteitsniveau "Niveau 3" ;
|
|
125
143
|
sh:description "Een mandataris (van het bestuursorsgaan die de zitting hield) die aanwezig was bij de start van de zitting." ;
|
|
126
144
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezigeBijStart> ;
|
|
127
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
128
145
|
sh:minCount 0 ;
|
|
129
146
|
lblodBesluit:usageNote '13'
|
|
130
147
|
] ;
|
|
@@ -132,7 +149,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
132
149
|
sh:name "heeftAfwezigeBijStart" ;
|
|
133
150
|
sh:description "Een mandataris (van het bestuursorsgaan die de zitting hield) die afwezig was bij de start van de zitting." ;
|
|
134
151
|
sh:path <http://mu.semte.ch/vocabularies/ext/heeftAfwezigeBijStart> ;
|
|
135
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
136
152
|
sh:minCount 0 ;
|
|
137
153
|
lblodBesluit:usageNote '14'
|
|
138
154
|
] ;
|
|
@@ -141,7 +157,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
141
157
|
lblodBesluit:maturiteitsniveau "Niveau 3" ;
|
|
142
158
|
sh:description "De mandataris die de rol als voorzitter heeft gedurende de zitting." ;
|
|
143
159
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorzitter> ;
|
|
144
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
145
160
|
sh:minCount 1 ;
|
|
146
161
|
sh:maxCount 1 ;
|
|
147
162
|
lblodBesluit:usageNote '15'
|
|
@@ -151,7 +166,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
151
166
|
lblodBesluit:maturiteitsniveau "Niveau 3" ;
|
|
152
167
|
sh:description "De mandataris die de rol van secretaris heeft gedurende de zitting." ;
|
|
153
168
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftSecretaris> ;
|
|
154
|
-
sh:class <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
|
|
155
169
|
sh:minCount 1 ;
|
|
156
170
|
sh:maxCount 1 ;
|
|
157
171
|
lblodBesluit:usageNote '16'
|
|
@@ -192,6 +206,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
192
206
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
193
207
|
sh:minCount 0 ;
|
|
194
208
|
sh:maxCount 1 ;
|
|
209
|
+
sh:pattern '\\\\S' ;
|
|
195
210
|
lblodBesluit:usageNote '18'
|
|
196
211
|
] ;
|
|
197
212
|
sh:property [
|
|
@@ -212,6 +227,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
212
227
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
213
228
|
sh:minCount 1 ;
|
|
214
229
|
sh:maxCount 1 ;
|
|
230
|
+
sh:pattern '\\\\S' ;
|
|
215
231
|
lblodBesluit:usageNote '20'
|
|
216
232
|
] ;
|
|
217
233
|
sh:property [
|
|
@@ -226,6 +242,23 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
226
242
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#BehandelingVanAgendapuntShape>
|
|
227
243
|
a sh:NodeShape ;
|
|
228
244
|
sh:targetClass <http://data.vlaanderen.be/ns/besluit#BehandelingVanAgendapunt> ;
|
|
245
|
+
sh:sparql [
|
|
246
|
+
lblodBesluit:maturiteitsniveau "Niveau 2" ;
|
|
247
|
+
sh:select """
|
|
248
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
249
|
+
|
|
250
|
+
select DISTINCT $this ?path ?value
|
|
251
|
+
where {
|
|
252
|
+
$this ?path ?mandataris .
|
|
253
|
+
|
|
254
|
+
FILTER (?path IN (besluit:heeftAanwezige, besluit:heeftVoorzitter, besluit:heeftSecretaris))
|
|
255
|
+
FILTER isBlank(?mandataris)
|
|
256
|
+
|
|
257
|
+
BIND ("Mandataris gevonden die geen URI heeft" as ?value)
|
|
258
|
+
}
|
|
259
|
+
""" ;
|
|
260
|
+
sh:message 'Er zijn mandatarissen gedetecteerd die geen URI hebben.'
|
|
261
|
+
] ;
|
|
229
262
|
sh:property [
|
|
230
263
|
sh:name "heeftOnderwerp" ;
|
|
231
264
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
@@ -269,7 +302,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
269
302
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
270
303
|
sh:description "Een mandataris (van het orgaan dat de zitting houdt) die aanwezig was tijdens (een deel van) de behandeling." ;
|
|
271
304
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezige> ;
|
|
272
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
273
305
|
sh:minCount 1 ;
|
|
274
306
|
lblodBesluit:usageNote '26'
|
|
275
307
|
] ;
|
|
@@ -278,7 +310,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
278
310
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
279
311
|
sh:description "De mandataris die de rol als voorzitter heeft gedurende de behandeling van het agendapunt." ;
|
|
280
312
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorzitter> ;
|
|
281
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
282
313
|
sh:minCount 0 ;
|
|
283
314
|
sh:maxCount 1 ;
|
|
284
315
|
lblodBesluit:usageNote '27'
|
|
@@ -288,7 +319,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
288
319
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
289
320
|
sh:description "De mandataris die de rol van secretaris heeft gedurende de behandeling van het agendapunt." ;
|
|
290
321
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftSecretaris> ;
|
|
291
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
292
322
|
sh:minCount 0 ;
|
|
293
323
|
sh:maxCount 1 ;
|
|
294
324
|
lblodBesluit:usageNote '28'
|
|
@@ -315,6 +345,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
315
345
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
316
346
|
sh:minCount 0 ;
|
|
317
347
|
sh:maxCount 1 ;
|
|
348
|
+
sh:pattern '\\\\S' ;
|
|
318
349
|
lblodBesluit:usageNote '30'
|
|
319
350
|
] ;
|
|
320
351
|
sh:property [
|
|
@@ -322,9 +353,17 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
322
353
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
323
354
|
sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
|
|
324
355
|
sh:path <http://www.w3.org/ns/prov#value> ;
|
|
325
|
-
sh:
|
|
356
|
+
sh:or (
|
|
357
|
+
[
|
|
358
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
359
|
+
]
|
|
360
|
+
[
|
|
361
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
362
|
+
]
|
|
363
|
+
);
|
|
326
364
|
sh:minCount 1 ;
|
|
327
365
|
sh:maxCount 1 ;
|
|
366
|
+
sh:pattern '\\\\S' ;
|
|
328
367
|
lblodBesluit:usageNote '31'
|
|
329
368
|
] ;
|
|
330
369
|
sh:property [
|
|
@@ -345,6 +384,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
345
384
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
346
385
|
sh:minCount 0 ;
|
|
347
386
|
sh:maxCount 1 ;
|
|
387
|
+
sh:pattern '\\\\S' ;
|
|
348
388
|
lblodBesluit:usageNote '33'
|
|
349
389
|
] ;
|
|
350
390
|
sh:property [
|
|
@@ -354,6 +394,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
354
394
|
sh:path <http://data.europa.eu/eli/ontology#title> ;
|
|
355
395
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
356
396
|
sh:minCount 1 ;
|
|
397
|
+
sh:pattern '\\\\S' ;
|
|
357
398
|
lblodBesluit:usageNote '34'
|
|
358
399
|
] ;
|
|
359
400
|
sh:property [
|
|
@@ -361,7 +402,8 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
361
402
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
362
403
|
sh:description "De taal van de verschijningsvorm." ;
|
|
363
404
|
sh:path <http://data.europa.eu/eli/ontology#language> ;
|
|
364
|
-
sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
405
|
+
# sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
406
|
+
sh:nodeKind sh:IRI ;
|
|
365
407
|
sh:minCount 1 ;
|
|
366
408
|
sh:maxCount 1 ;
|
|
367
409
|
qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
|
|
@@ -379,7 +421,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
379
421
|
sh:name "citeert" ;
|
|
380
422
|
sh:description "Een citatie in de wettelijke tekst. Dit omvat zowel woordelijke citaten als citaten in verwijzingen." ;
|
|
381
423
|
sh:path <http://data.europa.eu/eli/ontology#cites> ;
|
|
382
|
-
sh:
|
|
424
|
+
sh:nodeKind sh:IRI ;
|
|
383
425
|
sh:minCount 0 ;
|
|
384
426
|
lblodBesluit:usageNote '37'
|
|
385
427
|
] ;
|
|
@@ -391,6 +433,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
391
433
|
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ;
|
|
392
434
|
sh:minCount 1 ;
|
|
393
435
|
sh:maxCount 1 ;
|
|
436
|
+
sh:pattern '\\\\S' ;
|
|
394
437
|
lblodBesluit:usageNote '38'
|
|
395
438
|
] ;
|
|
396
439
|
sh:property [
|
|
@@ -426,10 +469,11 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
426
469
|
a sh:NodeShape ;
|
|
427
470
|
sh:targetClass <http://data.vlaanderen.be/ns/besluit#Stemming> ;
|
|
428
471
|
sh:sparql [
|
|
472
|
+
lblodBesluit:maturiteitsniveau "Niveau 2" ;
|
|
429
473
|
sh:select """
|
|
430
474
|
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
431
475
|
|
|
432
|
-
select DISTINCT
|
|
476
|
+
select DISTINCT $this ?path ?value
|
|
433
477
|
where {
|
|
434
478
|
$this ?path ?mandataris .
|
|
435
479
|
|
|
@@ -446,14 +490,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
446
490
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
447
491
|
sh:description "Een mandataris die als onthouder heeft gestemd op het onderwerp van de stemming." ;
|
|
448
492
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftOnthouder> ;
|
|
449
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
450
493
|
sh:minCount 0 ;
|
|
451
494
|
lblodBesluit:usageNote '42' ;
|
|
452
495
|
sh:sparql [
|
|
496
|
+
lblodBesluit:maturiteitsniveau "Niveau 2" ;
|
|
453
497
|
sh:select """
|
|
454
498
|
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
455
499
|
|
|
456
|
-
select
|
|
500
|
+
select $this ?value
|
|
457
501
|
where {
|
|
458
502
|
{
|
|
459
503
|
select (count(distinct ?onthouder) as ?onthouderCount) {
|
|
@@ -474,7 +518,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
474
518
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
475
519
|
sh:description "Een mandataris (van het orgaan dat de zitting houdt) die aanwezig was tijdens de stemming." ;
|
|
476
520
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftAanwezige> ;
|
|
477
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
478
521
|
sh:minCount 1 ;
|
|
479
522
|
lblodBesluit:usageNote '43'
|
|
480
523
|
] ;
|
|
@@ -483,7 +526,6 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
483
526
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
484
527
|
sh:description "Een mandataris die deelneemt aan de stemming." ;
|
|
485
528
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftStemmer> ;
|
|
486
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
487
529
|
sh:minCount 0 ;
|
|
488
530
|
lblodBesluit:usageNote '44'
|
|
489
531
|
] ;
|
|
@@ -492,14 +534,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
492
534
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
493
535
|
sh:description "Een mandataris die als tegenstander heeft gestemd op het onderwerp van de stemming." ;
|
|
494
536
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftTegenstander> ;
|
|
495
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
496
537
|
sh:minCount 0 ;
|
|
497
538
|
lblodBesluit:usageNote '45' ;
|
|
498
539
|
sh:sparql [
|
|
540
|
+
lblodBesluit:maturiteitsniveau "Niveau 2" ;
|
|
499
541
|
sh:select """
|
|
500
542
|
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
501
543
|
|
|
502
|
-
select
|
|
544
|
+
select $this ?value
|
|
503
545
|
where {
|
|
504
546
|
{
|
|
505
547
|
select (count(distinct ?tegenstander) as ?tegenstanderCount) {
|
|
@@ -520,14 +562,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
520
562
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
521
563
|
sh:description "Een mandataris die als voorstander heeft gestemd op het onderwerp van de stemming." ;
|
|
522
564
|
sh:path <http://data.vlaanderen.be/ns/besluit#heeftVoorstander> ;
|
|
523
|
-
sh:class <http://data.vlaanderen.be/ns/mandaat#Mandataris> ;
|
|
524
565
|
sh:minCount 0 ;
|
|
525
566
|
lblodBesluit:usageNote '46' ;
|
|
526
567
|
sh:sparql [
|
|
568
|
+
lblodBesluit:maturiteitsniveau "Niveau 2" ;
|
|
527
569
|
sh:select """
|
|
528
570
|
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
529
571
|
|
|
530
|
-
select
|
|
572
|
+
select $this ?value
|
|
531
573
|
where {
|
|
532
574
|
{
|
|
533
575
|
select (count(distinct ?voorstander) as ?voorstanderCount) {
|
|
@@ -591,6 +633,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
591
633
|
# sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; # see https://github.com/rdfjs/N3.js/issues/252
|
|
592
634
|
sh:minCount 1 ;
|
|
593
635
|
sh:maxCount 1 ;
|
|
636
|
+
sh:pattern '\\\\S' ;
|
|
594
637
|
lblodBesluit:usageNote '51 '
|
|
595
638
|
] ;
|
|
596
639
|
sh:property [
|
|
@@ -601,6 +644,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
601
644
|
# sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ; see https://github.com/rdfjs/N3.js/issues/252
|
|
602
645
|
sh:minCount 1 ;
|
|
603
646
|
sh:maxCount 1 ;
|
|
647
|
+
sh:pattern '\\\\S' ;
|
|
604
648
|
lblodBesluit:usageNote '52'
|
|
605
649
|
] ;
|
|
606
650
|
sh:closed false .
|
|
@@ -616,6 +660,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
616
660
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
617
661
|
sh:minCount 1 ;
|
|
618
662
|
sh:maxCount 1 ;
|
|
663
|
+
sh:pattern '\\\\S' ;
|
|
619
664
|
lblodBesluit:usageNote '53'
|
|
620
665
|
] ;
|
|
621
666
|
sh:property [
|
|
@@ -626,6 +671,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
626
671
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
627
672
|
sh:minCount 1 ;
|
|
628
673
|
sh:maxCount 1 ;
|
|
674
|
+
sh:pattern '\\\\S' ;
|
|
629
675
|
lblodBesluit:usageNote '54'
|
|
630
676
|
] ;
|
|
631
677
|
sh:property [
|
|
@@ -635,6 +681,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
635
681
|
sh:path <http://data.europa.eu/eli/ontology#title> ;
|
|
636
682
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
637
683
|
sh:minCount 1 ;
|
|
684
|
+
sh:pattern '\\\\S' ;
|
|
638
685
|
lblodBesluit:usageNote '55'
|
|
639
686
|
] ;
|
|
640
687
|
sh:property [
|
|
@@ -642,7 +689,8 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
642
689
|
lblodBesluit:maturiteitsniveau "Niveau 3" ;
|
|
643
690
|
sh:description "De taal van de verschijningsvorm." ;
|
|
644
691
|
sh:path <http://data.europa.eu/eli/ontology#language> ;
|
|
645
|
-
sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
692
|
+
# sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
693
|
+
sh:nodeKind sh:IRI ;
|
|
646
694
|
sh:minCount 1 ;
|
|
647
695
|
sh:maxCount 1 ;
|
|
648
696
|
qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
|
|
@@ -652,7 +700,20 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
652
700
|
|
|
653
701
|
<https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
|
|
654
702
|
a sh:NodeShape ;
|
|
655
|
-
|
|
703
|
+
ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
704
|
+
sh:target [
|
|
705
|
+
a sh:SPARQLTarget ;
|
|
706
|
+
sh:select """
|
|
707
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
708
|
+
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
709
|
+
|
|
710
|
+
SELECT ?this
|
|
711
|
+
WHERE {
|
|
712
|
+
?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
713
|
+
mandaat:isTijdspecialisatieVan ?bestuursorgaan .
|
|
714
|
+
}
|
|
715
|
+
""" ;
|
|
716
|
+
] ;
|
|
656
717
|
sh:property [
|
|
657
718
|
sh:name "isTijdspecialisatieVan (mandaat)" ;
|
|
658
719
|
sh:description "Duidt de bronentiteit aan waarvan deze entiteit een tijdsgebonden specialisatie is. De specialisatie stelt de bron voor gedurende een bepaalde periode." ;
|
|
@@ -666,13 +727,26 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
666
727
|
|
|
667
728
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
|
|
668
729
|
a sh:NodeShape ;
|
|
669
|
-
|
|
730
|
+
ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
731
|
+
sh:target [
|
|
732
|
+
a sh:SPARQLTarget ;
|
|
733
|
+
sh:select """
|
|
734
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
735
|
+
|
|
736
|
+
SELECT ?this
|
|
737
|
+
WHERE {
|
|
738
|
+
?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
739
|
+
besluit:bestuurt ?bestuurseenheid .
|
|
740
|
+
}
|
|
741
|
+
""" ;
|
|
742
|
+
] ;
|
|
670
743
|
sh:property [
|
|
671
744
|
sh:name "classificatie" ;
|
|
672
745
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
673
746
|
sh:description "Het type bestuursorgaan." ;
|
|
674
747
|
sh:path <http://www.w3.org/ns/org#classification> ;
|
|
675
|
-
sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
748
|
+
# sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
749
|
+
sh:nodeKind sh:IRI ;
|
|
676
750
|
sh:minCount 1 ;
|
|
677
751
|
sh:maxCount 1 ;
|
|
678
752
|
lblodBesluit:usageNote '58'
|
|
@@ -682,7 +756,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
682
756
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
683
757
|
sh:description "Naam van de bestuursorgaan." ;
|
|
684
758
|
sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
|
|
685
|
-
sh:
|
|
759
|
+
sh:or (
|
|
760
|
+
[
|
|
761
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
762
|
+
]
|
|
763
|
+
[
|
|
764
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
765
|
+
]
|
|
766
|
+
);
|
|
686
767
|
sh:minCount 1 ;
|
|
687
768
|
lblodBesluit:usageNote '59'
|
|
688
769
|
] ;
|
|
@@ -705,7 +786,8 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
705
786
|
sh:name "classificatie" ;
|
|
706
787
|
sh:description "Classificatie van de bestuurseenheid." ;
|
|
707
788
|
sh:path <http://data.vlaanderen.be/ns/besluit#classificatie> ;
|
|
708
|
-
sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
789
|
+
# sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
790
|
+
sh:nodeKind sh:IRI ;
|
|
709
791
|
sh:minCount 1 ;
|
|
710
792
|
sh:maxCount 1 ;
|
|
711
793
|
lblodBesluit:usageNote '61'
|
|
@@ -715,7 +797,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
715
797
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
716
798
|
sh:description "Naam van de bestuurseenheid." ;
|
|
717
799
|
sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
|
|
718
|
-
sh:
|
|
800
|
+
sh:or (
|
|
801
|
+
[
|
|
802
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
803
|
+
]
|
|
804
|
+
[
|
|
805
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
806
|
+
]
|
|
807
|
+
);
|
|
719
808
|
sh:minCount 1 ;
|
|
720
809
|
lblodBesluit:usageNote '62'
|
|
721
810
|
] ;
|
|
@@ -723,7 +812,7 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
723
812
|
sh:name "werkingsgebied" ;
|
|
724
813
|
sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
|
|
725
814
|
sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
|
|
726
|
-
sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
815
|
+
# sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
727
816
|
sh:minCount 1 ;
|
|
728
817
|
sh:maxCount 1 ;
|
|
729
818
|
lblodBesluit:usageNote '63'
|
|
@@ -738,7 +827,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
738
827
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
739
828
|
sh:description "Naam van het werkingsgebied." ;
|
|
740
829
|
sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
|
|
741
|
-
sh:
|
|
830
|
+
sh:or (
|
|
831
|
+
[
|
|
832
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
833
|
+
]
|
|
834
|
+
[
|
|
835
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
836
|
+
]
|
|
837
|
+
);
|
|
742
838
|
sh:minCount 1 ;
|
|
743
839
|
sh:maxCount 1 ;
|
|
744
840
|
lblodBesluit:usageNote '64'
|
|
@@ -747,7 +843,14 @@ export const notulenShape = `@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
|
747
843
|
sh:name "werkingsgebiedNiveau" ;
|
|
748
844
|
sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
|
|
749
845
|
sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
|
|
750
|
-
sh:
|
|
846
|
+
sh:or (
|
|
847
|
+
[
|
|
848
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
849
|
+
]
|
|
850
|
+
[
|
|
851
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
852
|
+
]
|
|
853
|
+
);
|
|
751
854
|
sh:minCount 0 ;
|
|
752
855
|
sh:maxCount 1 ;
|
|
753
856
|
lblodBesluit:usageNote '65'
|