@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
|
@@ -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'
|
|
@@ -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'
|