@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 +271 -55
- 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/decision.ts +34 -6
- 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/decision.ts +34 -6
- package/src/shapes/notulen.ts +133 -30
|
@@ -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'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lblod/lib-decision-shapes",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "NPM library to retrieve shapes of decisions and examples",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"browser": "dist/index-browser.js",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "npm run build:ts && npm run mkdirs && npm run copy",
|
|
17
17
|
"build:ts": "tsup",
|
|
18
|
+
"build:watch": "tsup --watch",
|
|
18
19
|
"test": "jest",
|
|
19
20
|
"prepublish": "npm run build",
|
|
20
21
|
"mkdirs": "mkdir -p dist/ dist/examples dist/shapes",
|
|
@@ -56,6 +56,7 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
56
56
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
57
57
|
sh:minCount 0 ;
|
|
58
58
|
sh:maxCount 1 ;
|
|
59
|
+
sh:pattern '\\\\S' ;
|
|
59
60
|
lblodBesluit:usageNote '3'
|
|
60
61
|
] ;
|
|
61
62
|
sh:property [
|
|
@@ -76,6 +77,7 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
76
77
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
77
78
|
sh:minCount 1 ;
|
|
78
79
|
sh:maxCount 1 ;
|
|
80
|
+
sh:pattern '\\\\S' ;
|
|
79
81
|
lblodBesluit:usageNote '5'
|
|
80
82
|
] ;
|
|
81
83
|
sh:property [
|
|
@@ -125,7 +127,7 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
125
127
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
126
128
|
sh:description "Locatie waar de zitting plaatsvindt. Doorgaans is dit een zaal in een gebouw." ;
|
|
127
129
|
sh:path <http://www.w3.org/ns/prov#atLocation> ;
|
|
128
|
-
sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
130
|
+
# sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
129
131
|
lblodBesluit:maturiteitsniveau "Niveau 1" ;
|
|
130
132
|
sh:minCount 0 ;
|
|
131
133
|
sh:maxCount 1 ;
|
|
@@ -144,7 +146,19 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
144
146
|
|
|
145
147
|
<https://data.vlaanderen.be/shacl/mandatendatabank#Bestuursorgaan(inbestuursperiode)Shape>
|
|
146
148
|
a sh:NodeShape ;
|
|
147
|
-
|
|
149
|
+
ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
150
|
+
sh:target [
|
|
151
|
+
a sh:SPARQLTarget ;
|
|
152
|
+
sh:select """
|
|
153
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
154
|
+
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
155
|
+
|
|
156
|
+
SELECT ?this
|
|
157
|
+
WHERE {
|
|
158
|
+
?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
159
|
+
mandaat:isTijdspecialisatieVan ?bestuursorgaan .
|
|
160
|
+
}
|
|
161
|
+
""" ;
|
|
148
162
|
sh:property [
|
|
149
163
|
sh:name "isTijdspecialisatieVan (mandaat)" ;
|
|
150
164
|
sh:description "Duidt de bronentiteit aan waarvan deze entiteit een tijdsgebonden specialisatie is. De specialisatie stelt de bron voor gedurende een bepaalde periode." ;
|
|
@@ -158,7 +172,19 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
158
172
|
|
|
159
173
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#BestuursorgaanShape>
|
|
160
174
|
a sh:NodeShape ;
|
|
161
|
-
|
|
175
|
+
ext:targetClass <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
176
|
+
sh:target [
|
|
177
|
+
a sh:SPARQLTarget ;
|
|
178
|
+
sh:select """
|
|
179
|
+
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
180
|
+
|
|
181
|
+
SELECT ?this
|
|
182
|
+
WHERE {
|
|
183
|
+
?this a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
|
184
|
+
besluit:bestuurt ?bestuurseenheid .
|
|
185
|
+
}
|
|
186
|
+
""" ;
|
|
187
|
+
] ;
|
|
162
188
|
sh:property [
|
|
163
189
|
sh:name "classificatie" ;
|
|
164
190
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
@@ -174,7 +200,14 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
174
200
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
175
201
|
sh:description "Naam van de bestuursorgaan." ;
|
|
176
202
|
sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
|
|
177
|
-
sh:
|
|
203
|
+
sh:or (
|
|
204
|
+
[
|
|
205
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
206
|
+
]
|
|
207
|
+
[
|
|
208
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
209
|
+
]
|
|
210
|
+
);
|
|
178
211
|
sh:minCount 1 ;
|
|
179
212
|
sh:maxCount 1 ;
|
|
180
213
|
lblodBesluit:usageNote '13'
|
|
@@ -208,7 +241,14 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
208
241
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
209
242
|
sh:description "Naam van de bestuurseenheid." ;
|
|
210
243
|
sh:path <http://www.w3.org/2004/02/skos/core#prefLabel> ;
|
|
211
|
-
sh:
|
|
244
|
+
sh:or (
|
|
245
|
+
[
|
|
246
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
247
|
+
]
|
|
248
|
+
[
|
|
249
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
250
|
+
]
|
|
251
|
+
);
|
|
212
252
|
sh:minCount 1 ;
|
|
213
253
|
sh:maxCount 1 ;
|
|
214
254
|
lblodBesluit:usageNote '16'
|
|
@@ -217,7 +257,7 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
217
257
|
sh:name "werkingsgebied" ;
|
|
218
258
|
sh:description "Geografische gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
|
|
219
259
|
sh:path <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ;
|
|
220
|
-
sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
260
|
+
# sh:class <http://www.w3.org/ns/prov#Location> ;
|
|
221
261
|
sh:minCount 1 ;
|
|
222
262
|
sh:maxCount 1 ;
|
|
223
263
|
lblodBesluit:usageNote '17'
|
|
@@ -232,7 +272,7 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
232
272
|
lblodBesluit:maturiteitsniveau "Bonusniveau" ;
|
|
233
273
|
sh:description "Naam van het werkingsgebied." ;
|
|
234
274
|
sh:path <http://www.w3.org/2000/01/rdf-schema#label> ;
|
|
235
|
-
sh:datatype <http://www.w3.org/2001/XMLSchema#
|
|
275
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
|
|
236
276
|
sh:minCount 1 ;
|
|
237
277
|
sh:maxCount 1 ;
|
|
238
278
|
lblodBesluit:usageNote '18'
|
|
@@ -241,7 +281,7 @@ export const basicAgendaShape = `@prefix sh: <http://www.w3.org/ns/shacl#>
|
|
|
241
281
|
sh:name "werkingsgebiedNiveau" ;
|
|
242
282
|
sh:description "Niveau (gemeente, provincie, gewest...) van het gebied waarbinnen de bestuurseenheid bepaalde verantwoordelijkheden heeft waarbinnen het bestuurshandelingen kan stellen." ;
|
|
243
283
|
sh:path <http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau> ;
|
|
244
|
-
sh:datatype <http://www.w3.org/2001/XMLSchema#
|
|
284
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#langString> ;
|
|
245
285
|
sh:minCount 0 ;
|
|
246
286
|
sh:maxCount 1 ;
|
|
247
287
|
lblodBesluit:usageNote '19'
|