Compare commits

...

131 Commits

Author SHA1 Message Date
mirdono
7316df1ab2 chore: added release date 2025-01-23 16:47:32 +01:00
mirdono
43e7cb0dac chore: bump frontend 2025-01-22 20:26:33 +01:00
mirdono
eb8790f40b chore: add changelog entry 2025-01-22 17:02:43 +01:00
mirdono
e10c825f75 fix: index municipality names as keywords instead of regular text
Index municipality names as keywords instead of as plain text. This prevents
them from being split at word separators. Thereby avoiding that searches for a
municipality name, as used by the frontend's municipality filter, return
organisations whose municipality is a partial match.

For example, previously the results when searching for "Puurs" also included the
organisations located in "Sint-Amands-Puurs". The latter was tokenized into
three terms, therefore also matching plain "Puurs". By treating the municipality
name as keyword this split non longer happens.
2025-01-22 17:02:43 +01:00
Claire Lovisa
20d4613400 Merge pull request #505 from lblod/revert-502-chore/update-leidinggevenden-consumer
Revert "Chore/update leidinggevenden consumer"
2025-01-22 16:39:40 +01:00
Claire Lovisa
b358278067 Revert "Chore/update leidinggevenden consumer" 2025-01-22 16:31:44 +01:00
Claire Lovisa
f7a637f0f4 Merge pull request #502 from lblod/chore/update-leidinggevenden-consumer
Chore/update leidinggevenden consumer
2025-01-22 16:24:28 +01:00
Claire Lovisa
eb99585a1d Merge branch 'master' into chore/update-leidinggevenden-consumer 2025-01-22 16:23:19 +01:00
Claire Lovisa
841ac47db6 Merge branch 'chore/update-leidinggevenden-consumer' of github.com:lblod/app-organization-portal into chore/update-leidinggevenden-consumer 2025-01-22 16:12:06 +01:00
Claire Lovisa
3b812946e4 Reorganize migrations and split jobs removal 2025-01-22 16:11:59 +01:00
felix
9972451d0e fix typo 2025-01-22 16:09:25 +01:00
Claire Lovisa
0faa8100c8 Bump consumer to v0.1.0 2025-01-22 15:37:48 +01:00
Claire Lovisa
7834352617 Fix phone mapping 2025-01-22 15:37:39 +01:00
Claire Lovisa
261ba383b6 Update doc 2025-01-22 15:37:24 +01:00
mirdono
62769f855c chore: bump frontend 2025-01-21 12:07:29 +01:00
mirdono
5eca8a2e1d chore: bump frontend 2025-01-21 10:11:46 +01:00
mirdono
0e8885f4dd chore: update changelog 2025-01-21 10:04:23 +01:00
mirdono
3bc47a7fb0 fix: merger change event between St.-Amandus and Sint-Martinus
The worship service St.-Amandus was not included as `orginalOrganization` in the
merger change event somehow. As a result it was not listed as involved
organisation in the change event details. Furthermore, its status was not
correctly updated to "Not active".
2025-01-21 10:04:23 +01:00
felix
1698112a9d Merge branch 'master' into chore/update-leidinggevenden-consumer 2025-01-17 15:15:46 +01:00
felix
a001f6b9e4 Remove old dispatching rules 2025-01-17 15:12:52 +01:00
felix
dba1ada5e2 Updated mapping rules 2025-01-17 14:42:54 +01:00
felix
a6571eefa5 Current consumer is VERY picky on how you write the mapping-query
See:
https://github.com/lblod/delta-consumer/blob/v0.0.27/lib/delta-sparql-mapping.js#L267

make sure you write first the graph or "triple"-pattern and filter
after that. For now.
2025-01-17 12:09:07 +01:00
felix
347844e341 update the filter so empty strings are not ingested 2025-01-17 11:19:19 +01:00
felix
aaf87ee32f update consumer-config 2025-01-17 10:24:15 +01:00
felix
631ba827ee update doc 2025-01-17 10:24:04 +01:00
felix
19e3423202 updated migrations 2025-01-17 10:23:52 +01:00
felix
8750fddb2d added mapping rules 2025-01-17 10:23:41 +01:00
felix
8a7eb8ede0 adding migrations 2025-01-17 09:44:08 +01:00
cecemel
4ff40cb4e4 Merge pull request #500 from lblod/hotfix/peformance-fix-bestuursfuncties-fusiegemeentes
Hotfix/peformance fix bestuursfuncties fusiegemeentes
2025-01-16 14:37:28 +01:00
felix
d53bd27369 Release v1.28.4 2025-01-16 14:35:20 +01:00
felix
90fa373254 fix performance of migration 2025-01-16 14:34:08 +01:00
cecemel
d290187467 Merge pull request #499 from lblod/hotfix/betuursfuncties-fusiegemeentes
Hotfix/betuursfuncties fusiegemeentes
2025-01-16 12:12:39 +01:00
felix
dd08a03faa Update Changlog 2025-01-16 12:12:09 +01:00
felix
79bae4fd3c Updated changelog 2025-01-16 11:36:12 +01:00
felix
6bf50bbbb7 Release v1.28.3 2025-01-16 11:31:06 +01:00
felix
038b72646c Added migration to correct leidinggeveden functionarissen OCMW
The bestuursfunctie of functionarissen both are attached to OCMW and Gemeente.
2025-01-16 11:27:03 +01:00
cecemel
c570ab994e Merge pull request #498 from lblod/hotfix/add-opdrachthoudende-gemeente-private-deelname
Hotfix/add opdrachthoudende gemeente private deelname
2025-01-13 17:07:28 +01:00
cecemel
c9ba00fc23 Update CHANGELOG.md 2025-01-13 15:55:59 +01:00
felix
c993a681d9 Addendum changelog 2025-01-13 15:06:04 +01:00
felix
fc676dd30f Release v1.28.2 2025-01-13 15:04:25 +01:00
felix
54700d9832 Publish "Opdrachthoudende vereniging met private deelname" in ->
delta stream "public"
2025-01-13 14:56:01 +01:00
mirdono
ce0e267627 chore: add changelog file
Introduce a changelog file to keep track of the changes in each release.
Furthermore, this should contain the necessary steps to deploy a release.
2025-01-10 10:49:11 +01:00
wolfez
d0835a1b30 Migration to delete betrokkene 'oudenaarde' and update financieringspercentage 2025-01-09 16:48:28 +01:00
wolfez
44e2de4f0b Create migrations for the cleanup of local involvements 2025-01-09 16:48:10 +01:00
mirdono
824201ced6 feat: merge police zones 2025
- Migrations to create the necessary merger change events that represent the
  merger of several police zones into three new ones
- Migration to update the status of the merged police zones to not active
2025-01-09 15:29:54 +01:00
mirdono
80ad432a5c fix: relate merged municipalities and province in shared graph
When new organisations were added for some merged municipalities (see PR #442)
their `org:hasSubOrganization` link with the province was inserted in to the
`<http://mu.semte.ch/graphs/administrative-unit>` graph instead of the
`<http://mu.semte.ch/graphs/shared>`.

Consequently, when logged in as a worship user and either of these
municipalities were selected in a form, the corresponding province was not
automatically filled in. This is due to the fact that worship users cannot read
from the `administrative-unit` graph.

This migration moves the appropriate `org:hasSubOrganization` triples to the
correct graph such that the behaviour for worship and non-worship users is the
same again.
2025-01-09 15:29:00 +01:00
Claire Lovisa
9122c18f1e Import 2025 NIS codes and update werkingsgebieden (#490) 2025-01-08 12:17:38 +01:00
mirdono
8143aac736 chore: regenerate full addresses to reflect address changes
This migration regenerates the `locn:fullAddress` triples for addresses in a
municipality involved in a merger. In essences this migration updates the
`locn:fullAddress` triple for each address changed by the migrations in the
previous commit.

Notes
- The migration is split over two queries, one for addresses without a box
  number and one for addresses with a box number. This avoids complicating the
  query with conditional logic at the cost of code duplication in the queries.
- In the existing full address triples two different notations are used to
  separate the box and building number. OP currently separates them simply by a
  space, which is what this migration matches for. But some historical data uses
  a dash "-" to separate building and box number. Consequently, this migration
  might match more address resources than strictly updated for the municipality
  merges.
2024-12-19 16:01:47 +01:00
mirdono
dde2e42696 chore: update address municipalities for 2025 municipality mergers
This migration updates the municipality name in the addresses for all
organisations located in a municipality whose name changes due to the 2025
municipality mergers.
2024-12-19 16:01:47 +01:00
mirdono
0f1654e64c chore: move organisations in Zwijndrecht to province East Flanders
As part of the 2025 municipality mergers Zwijndrecht will merge with Beveren and
Kruibeke into Beveveren-Kruibeke-Zwijndrecht. Additionally this means that
Zwijndrecht changes province from Antwerp to East Flanders.

This migration updates the province for each organisation with an address in
Zwijndrecht to East Flanders.
2024-12-19 16:01:47 +01:00
cecemel
9ed42aa4f6 Merge pull request #489 from lblod/hotfix/add-werkingsgebieden-ocmw
Added missing werkingsgebied for OCMW.
2024-12-18 12:20:03 +01:00
felix
4e39d1eed4 Added missing werkingsgebied for OCMW.
It seems OCMW's were the only ones without werkingsgebied. And the
corresponding gemeente had this.
2024-12-18 12:03:04 +01:00
mirdono
885db51540 chore: bump frontend 2024-12-13 13:07:55 +01:00
mirdono
477c37320d feat: add merger change events for 2025 municipality mergers
These migrations insert the merger change events that are needed for the 2025
municipality mergers.

The migrations executed by the `migrations` service insert the actual merger
change events for
- mergers where the resulting organisation is a new organisation (these were
  added earlier in #442);
- mergers where the resulting organisation is an already existing, active
  organisation; and
- the special case where the municipality Borsbeek is merging with the
  municipality Antwerp, thereby creating a new district Borsbeek.

The migration executed by the `migrations-triggering-indexing` service updates
the status of the necessary organisations:
- the new municipalities/OCMWs/district are set from "Being founded" (nl. "In
  oprichting") to "Active"
- the other municipalities are changed from "Active" to "Not active"
- organisations that simply remain active before and after the merger are *not*
  updated
2024-12-13 12:36:06 +01:00
mirdono
dfec837bba feat: set end date governing bodies for merged organisations
Set the end date for governing bodies for municipalities and OCMWs that are
involved in a municipality merger *and* will become inactive to 02 January 2025.

For the municipalities and OCMWs that remain active after the merger, the end
date has already been set previously.
2024-12-13 12:35:47 +01:00
mirdono
806a870744 chore: rename municipalities and OCMWs for mergers 2025
As part of the 2025 municipality mergers 3 municipalities, and their
corresponding OCMWs, keep their original URI but do change their name. More
specifically:
- Bilzen becomes Bilzen-Hoeselt
- Ham becomes Tessenderlo-Ham
- Tongeren becomes Tongeren-Borgloon
2024-12-13 12:35:24 +01:00
Boris De Vloed
8e4c395a78 Merge pull request #484 from lblod/fix/remove-test-kerk-and-betrokken-bestuur
remove wrong data in prd
2024-12-12 11:55:05 +01:00
mirdono
eb552c92c3 Fix var typo 2024-12-12 11:48:10 +01:00
Riad Abdallah
782940c270 Merge pull request #451 from lblod/remove-organizations
Add queries to remove organizations
2024-12-11 18:56:02 +01:00
cecemel
b9db4d3c92 Merge pull request #485 from lblod/hotfix/remove-language-tags-skos-notation
Fix skos:notation ADMS:identifier language tags
2024-12-11 11:18:37 +01:00
felix
1b2f9d45ac Fix skos:notation ADMS:identifier language tags
It seems there were language tagged and non-languaged versions used
for the skos:notation from ADMS:identifier.
This migrations alings it, we don't want typed strings here.
See also DL-6343
2024-12-11 10:16:50 +01:00
Boris De Vloed
925289a9dc remove wrong data in prd 2024-12-05 13:35:23 +01:00
cecemel
adb54c3b5a Merge pull request #483 from lblod/hotfix/add-kbo-districten
Added migration to add KBO to districten.
2024-12-05 10:34:24 +01:00
felix
2f37aaaefc Added migration to add KBO to districten. 2024-12-05 10:32:19 +01:00
Claire Lovisa
ca92809cf5 Fix classification of Voetbal in de Stad vzw (#477)
* Fix classification of an organization

* Move migration to trigger indexing on execution
2024-11-20 11:03:56 +01:00
felix
4f8babb9ae update classificatieCode representatief orgaan export 2024-11-12 13:25:57 +01:00
cecemel
644fbfaae3 Merge pull request #476 from lblod/chore/export-representatief-orgaan-classificatie-code
update RO - concept to export
2024-11-12 11:37:12 +01:00
felix
9d5d11f922 update RO - concept to epxport 2024-11-12 11:31:11 +01:00
mirdono
13c862f689 chore: bump frontend 2024-11-05 18:22:19 +01:00
cecemel
1031b78ac7 Merge pull request #475 from lblod/hotfix/export-ABB-to-public-export
Added config export to export ABB
2024-11-05 11:49:52 +01:00
cecemel
03ad3c2089 Merge pull request #474 from lblod/hotfix/export-vgc-to-public
Hotfix/export vgc to public
2024-11-05 11:48:16 +01:00
felix
f79d31e153 update migration 2024-11-05 11:36:41 +01:00
felix
023114fcab added migration to add classification 2024-11-05 11:28:06 +01:00
felix
ac0f5764df updated producer config 2024-11-05 11:27:50 +01:00
felix
dc9d060d49 Added config export to export ABB 2024-10-30 15:49:17 +01:00
felix
3eceefce12 Added VGC export 2024-10-30 15:20:18 +01:00
cecemel
f026723aee Merge pull request #473 from lblod/hotfix/fix-missing-organen
adding missing organen from original OP export
2024-10-30 14:15:17 +01:00
felix
43b5f5e7eb Update migrations 2024-10-30 10:51:35 +01:00
felix
41a497dc71 adding missing organen from original OP export 2024-10-29 13:37:25 +01:00
cecemel
39226cdf24 Merge pull request #472 from lblod/hotfix/remove-functionarissen-newly-created-organen
Removes the newly created bestuursorganen for leidinggevenden
2024-10-28 14:55:34 +01:00
felix
9b3dd7201b update migration 2024-10-28 14:50:56 +01:00
felix
5d20fee494 Removes the newly created bestuursorganen for leidinggevenden
They have another lifecycle than political mandates.
2024-10-28 13:02:22 +01:00
cecemel
4e30c155ef Merge pull request #468 from lblod/hotfix/add-enddates-bestuursorganen
Added migration to add end-dates to bestuursorganen
2024-10-28 11:52:35 +01:00
cecemel
7294052c75 Merge pull request #471 from lblod/hotfix/add-heeft-bestuursfunctie
Added missing predicate: `lblodlg:heeftBestuursfunctie`
2024-10-28 10:27:27 +01:00
cecemel
ccac93121b Merge pull request #470 from lblod/fix/produce-missing-classifications
Produce missing classifications
2024-10-28 10:27:14 +01:00
felix
58742fdf5e Added missing predicate 2024-10-28 10:24:01 +01:00
Claire Lovisa
12efbcc9fd Produce GeregistreerdeOrganisatieClassificatieCode in public producer 2024-10-25 09:25:11 +02:00
Claire Lovisa
0426f0f35e Add missing organen to public producer 2024-10-24 16:05:52 +02:00
mirdono
04298db9e5 fix: delete superfluous relations between APBs and municipalities
A number of APBs were accidentally `org:linkedTo` all municipalities in
municipality and an APB for which:
- the APB is linked to more than 1 municipality; and
- the municipality does not match that of the APB's primary site.

The first condition avoids we remove `org:linkedTo` triples for APBs that were
created by the users, as these are only linked with a single municipality.
2024-10-24 14:49:07 +02:00
felix
799999f051 updated migration 2024-10-23 13:21:01 +02:00
felix
8f8557d733 Added migration to add end-dates to bestuursorganen 2024-10-23 12:46:34 +02:00
cecemel
fc6b2d3b80 Merge pull request #466 from lblod/hotfix/bump-delta-dump-file-producer
Bump lblod/delta-producer-dump-file-publisher:0.10.3
2024-10-22 17:47:49 +02:00
felix
99f5c9fc91 dump lblod/delta-producer-dump-file-publisher:0.10.3 2024-10-22 17:46:29 +02:00
cecemel
3870dac1f8 Merge pull request #465 from lblod/hotfix/add-bestuurseenheid-to-eredienstbesturen
Ensure types and subtypes are added to EredienstBestuurseenheid
2024-10-22 12:46:12 +02:00
felix
08b0e29f20 Ensure types and subtypes are adde to EredienstBestuurseenheid 2024-10-22 12:12:10 +02:00
cecemel
76d7964e5c Merge pull request #464 from lblod/hotfix/dump-file-producer-config-should-get-data-from-publication-triple-store
DumpfilePublisher needs to fetch from publication-triplestore
2024-10-21 11:47:04 +02:00
felix
bc10af81f4 DumpfilePublisher needs to fetch from publication-triplestore 2024-10-21 11:38:17 +02:00
cecemel
14a290b82f Merge pull request #463 from lblod/hotfix/add-type-bestuurseenheid-to-centrale-besturen
Added migration to add besluit:Bestuurseenheid to centrale besturen
2024-10-18 11:29:15 +02:00
felix
ba4a4aa5da Added migration to add besluit:Bestuurseenheid to centrale besture 2024-10-18 11:20:37 +02:00
mirdono
b1cc9c7329 fix: correct governing body start dates for new legislature
Originally the starting dates for the new governing bodies for the new
legislature was set to `2025-01-01` for all relevant municipalities, OCMWs,
districts, and provinces.

These migrations change that to more correct starting dates:
* For organisations that are **not** involved in mergers the new starting data
  is `2024-12-02`, the first day installation meetings are allowed[1].
* For organisations that are involved in mergers the new starting date is
  `2025-01-01`, the first work day of the new year on which the mergers take
  effect. Note: this migration assumes there are no other start dates on
  `2025-01-01`, so the migrations have to be run in the specified order.

[1] https://www.vlaanderen.be/lokaal-bestuur/organisatie-en-werking/gemeenteraad/installatie
2024-10-17 15:16:54 +02:00
Riad Abdallah
25588d13ac Remove bestuursfuncties 2024-10-17 15:14:50 +02:00
mirdono
98ed3260ed fix: remove incorrect image line 2024-10-17 12:19:54 +02:00
Achraf Atauil
5e0d47053d Small indent issue 2024-10-17 11:11:41 +02:00
cecemel
99dd506f8f Merge pull request #458 from lblod/chore/remove-latest-tags-from-docker-compose-dev
Chore/remove latest tags from docker compose dev
2024-10-15 10:49:54 +02:00
cecemel
b9695eb255 Merge branch 'master' into chore/remove-latest-tags-from-docker-compose-dev 2024-10-15 10:49:41 +02:00
cecemel
4389a743b6 Merge pull request #459 from lblod/fix/produce-bestuursfunctie
Link missing classifications to public producer concept scheme
2024-10-15 10:48:52 +02:00
cecemel
e40d85b22c Merge pull request #452 from lblod/feature/bump-delta-producers-and-move-to-publication-triplestore
Bump delta producers and move to publication triplestore
2024-10-15 10:48:36 +02:00
felix
340937bc85 Remove the :latest tag from frontend in docker-compose.dev.yml 2024-10-15 10:36:50 +02:00
felix
f08e2e3df0 changed mock-login-service to tagged version in drc.dev.yml 2024-10-15 10:36:38 +02:00
Claire Lovisa
77245adbaa Link missing classifications to public producer concept scheme 2024-10-15 10:27:46 +02:00
felix
cb0191f28b Fix syntax issue in docker-compose.dev.yml 2024-10-14 15:04:22 +02:00
felix
3f460ce329 Some uri's of JobOperations were off. Fixing it here. 2024-10-14 14:51:20 +02:00
felix
6397ce2923 Change the namse of the stream to be in line with previous 2024-10-14 14:50:54 +02:00
felix
7e0a668573 Restore the old public path, to not break clients 2024-10-14 14:50:14 +02:00
Riad Abdallah
b6dd8b4519 Fix public info stream name 2024-10-08 13:35:35 +02:00
Riad Abdallah
797d3a8d44 Fix public info stream name 2024-10-08 13:19:00 +02:00
Riad Abdallah
a98f860d3c Remove individual delta rules 2024-10-03 17:05:19 +02:00
Riad Abdallah
162a6ff654 Update dispatcher rules for the delta streams 2024-10-03 16:42:00 +02:00
Riad Abdallah
d3b40b88ea Remove individual streams from docker compose configs 2024-10-03 16:40:08 +02:00
Riad Abdallah
a7d6dcfb32 Move streams to consolidated background job initiator 2024-10-03 16:39:14 +02:00
Riad Abdallah
d4f9352c61 Move streams to consolidated publication graph maintainer 2024-10-03 16:38:57 +02:00
Riad Abdallah
e182017bb0 Add queries to remove organizations 2024-09-26 14:27:27 +02:00
mirdono
0ba4a6f393 fix: let relevant producers export representative body classification
Each producer that export representative bodies should include the
classification corresponding triples. Otherwise receives might run into
problems.
2024-09-04 18:02:53 +02:00
Boris De Vloed
2e6dd74b72 export ro classifcation in other public producer too 2024-09-04 18:02:53 +02:00
Riad Abdallah
1412a767ad Merge pull request #449 from lblod/fix/remove-duplicate-uri-for-ibeg
Remove duplicate URI for IBEG
2024-09-04 13:45:55 +02:00
Riad Abdallah
e755d615fc Remove properties attached to bestuursorgaan in tijd 2024-09-04 11:30:13 +02:00
Riad Abdallah
974a966576 Remove duplicate URI for IBEG 2024-09-03 16:53:40 +02:00
mirdono
78ce1f7071 feat: mandates and functions for governing bodies legislature 2025
For each of the governing bodies created by the migrations in the previous
commit, now add the corresponding mandates and functions.

Within a organisation some governing bodies share the same mandates. For
example, for municipalities the governing body "Burgemeester" and "College van
burgemeester en schepen" both refer to the SAME instance of mandates for
"Burgemeester" and "Aangewezen burgemeester".
To achieve this the some migrations contain a second `INSERT` clause in which
the other governing body that contains the necessary mandates is selected to be
able to determine the correct mandate URI. This only works on two conditions:
1. Migrations that depend on each must be executed in the correct order. For
   example, the migration inserting the mandates for "College van burgemeester
   en schepen" must be executed after that for "Burgemeester". The former will
   reuse mandates created by the latter.
2. The UUID for the shared mandates is calculated in exactly the same way in
   migrations that depend on each other.
2024-09-02 16:44:32 +02:00
mirdono
a647c7ea69 fix: add missing governing bodies for merging OCMWs
The merged OCMWs as imported in #442 were lacking some governing bodies that are
used to relation funcations to. These migration add the missing governing
bodies for these OCMWs.
2024-09-02 16:44:32 +02:00
mirdono
8c1538d45e feat: add migrations for governing bodies 2025
These migrations create the necessary time specialised governing bodies for
municipalities, OCMWs, district and provinces for the next legislature.

The migrations work by creating a new time specialisation, with an appropriate
starting date, for each abstract governing body associated with an active
organisation. For municipalities and OCMWs some instances are explicitly
filtered, these are municipalities (OCMWs) that will be merged with another one
as of 01-01-2025 and therefore will become inactive. The listed
municipalities (OCMWs) are extracted from data provided by business.
2024-09-02 16:44:32 +02:00
mirdono
48cefe143e chore: bump frontend to latest release 2024-08-31 14:57:19 +02:00
103 changed files with 30843 additions and 280 deletions

67
CHANGELOG.md Normal file
View File

@@ -0,0 +1,67 @@
# Changelog
## 1.28.5 (2025-01-23)
### Frontend
- Bump to [v1.28.3](https://github.com/lblod/frontend-organization-portal/releases/tag/v1.28.3)
### Backend
- Datafix: correct merger change events for worship organisations (OP-3534)
- Avoid municipality filter to include partial matches (OP-3509)
### Deploy notes
- `drc restart migrations-triggering-indexing; drc logs -ft --tail=200 migrations-triggering-indexing`
- `drc pull frontend; drc up -d frontend`
- Perform a full re-index by executing `./scripts/reset-elastic.sh`
## 1.28.4 (2025-01-16)
### Backend
#### Data
- Performance fix on 1.28.3 [DL-6377]
### Deploy commands
```
drc restart migrations
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs # or wait for the healing to kick in
```
## 1.28.3 (2025-01-16)
### Backend
#### Data
- Datafix. Fusiegemeentes had different bestuursfuncties attached to OCMW and Gemeente. [DL-6377]
However, business-rule-wise, these bestuursfuncties are shared.
### Deploy commands
```
drc restart migrations
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs # or wait for the healing to kick in
```
## 1.28.2 (2025-01-13)
### Backend
- Added "Opdrachthoudende vereniging met private deelname" in delta public (DL-6368)
### Deploy commands
```
drc restart migrations
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs # or wait for the healing to kick in
```
## 1.28.1 (2025-01-11)
### Backend
- Import 2025 NIS codes and update werkingsgebieden (OP-3342)
- Add merger change events for merged police zones (OP-3454)
- Delete local involvements for worship services (OP-3501, OP-3512)
- Move link between new municipalities and province to shared graph (OP-3513, OP-3514)
### Deploy notes
- Restart both migration services
#### Docker commands
- `drc restart migrations; drc logs -ft --tail=200 migrations`
- `drc restart migrations-triggering-indexing; drc logs -ft --tail=200 migrations-triggering-indexing`
## 1.28.0 (2025-01-02)
### Backend
- Bump frontend to `v1.28.0`
- Add end date for governing bodies for municipalities and OCMWs and update status (OP-3348)
- Update municipality and province name in organisation's addresses (OP-3410)
- Add merger change events for merged municipalities and OCMWs (OP-3412)
- Updates names for merged municipalities and OCMWs (OP-3456)
### Deploy notes
- Restart both migration services
- Bump frontend
#### Docker commands
- `drc restart migrations; drc logs -ft --tail=200 migrations`
- `drc restart migrations-triggering-indexing; drc logs -ft --tail=200 migrations-triggering-indexing`
- `drc pull frontend; drc up -d frontend`

View File

@@ -1,12 +1,42 @@
[
{
"name": "organizations",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"dumpFileCreationJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations",
"cronPatternDumpJob": "42 * * * *",
"cronPatternHealingJob": "0 0 4 * * *",
"startInitialSync": true
}
]
{
"name": "organizations",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"dumpFileCreationJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations",
"cronPatternDumpJob": "42 * * * *",
"cronPatternHealingJob": "0 0 4 * * *",
"startInitialSync": true
},
{
"name": "public",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"dumpFileCreationJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/public",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/public",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/public",
"cronPatternDumpJob": "11 */4 * * *",
"cronPatternHealingJob": "0 0 4 * * *",
"startInitialSync": true
},
{
"name": "organizations-public-info",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"dumpFileCreationJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations-public-info",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations-public-info",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations-public-info",
"cronPatternDumpJob": "27 */4 * * *",
"cronPatternHealingJob": "0 0 4 * * *",
"startInitialSync": true
},
{
"name": "worship-posts",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"dumpFileCreationJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/worship-posts",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/worship-posts",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/worship-posts",
"cronPatternDumpJob": "17 */4 * * *",
"cronPatternHealingJob": "0 0 3 * * *",
"startInitialSync": true
}
]

View File

@@ -39,7 +39,7 @@
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/PublicCacheGraphDump",
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/public",
"fileBaseName": "dump-public",
"publicationGraphEndpoint": "http://triplestore:8890/sparql",
"publicationGraphEndpoint": "http://publication-triplestore:8890/sparql",
"targetDcatGraph": "http://mu.semte.ch/graphs/public",
"targetFilesGraph": "http://mu.semte.ch/graphs/public",
"cleanupOldDumps": true
@@ -48,7 +48,7 @@
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/PublicCacheGraphDump",
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/public",
"fileBaseName": "dump-public",
"publicationGraphEndpoint": "http://triplestore:8890/sparql",
"publicationGraphEndpoint": "http://publication-triplestore:8890/sparql",
"targetDcatGraph": "http://mu.semte.ch/graphs/public",
"targetFilesGraph": "http://mu.semte.ch/graphs/public",
"cleanupOldDumps": true
@@ -57,7 +57,7 @@
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/WorshipPostsCacheGraphDump",
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/worship-posts",
"fileBaseName": "dump-worship-posts",
"publicationGraphEndpoint": "http://triplestore:8890/sparql",
"publicationGraphEndpoint": "http://publication-triplestore:8890/sparql",
"targetDcatGraph": "http://mu.semte.ch/graphs/public",
"targetFilesGraph": "http://mu.semte.ch/graphs/public",
"cleanupOldDumps": true
@@ -66,7 +66,7 @@
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/WorshipPostsCacheGraphDump",
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/worship-posts",
"fileBaseName": "dump-worship-posts",
"publicationGraphEndpoint": "http://triplestore:8890/sparql",
"publicationGraphEndpoint": "http://publication-triplestore:8890/sparql",
"targetDcatGraph": "http://mu.semte.ch/graphs/public",
"targetFilesGraph": "http://mu.semte.ch/graphs/public",
"cleanupOldDumps": true

View File

@@ -205,6 +205,16 @@
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
{
"type": "http://mu.semte.ch/vocabularies/ext/RepresentatiefOrgaanClassificatieCode",
"graphsFilter": [
"http://mu.semte.ch/graphs/public"
],
"properties": [
"http://mu.semte.ch/vocabularies/core/uuid",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
{
"type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
"graphsFilter": [

View File

@@ -228,7 +228,8 @@
"http://www.w3.org/ns/org#hasPost",
"http://www.w3.org/ns/org#linkedTo",
"http://www.w3.org/ns/org#hasSubOrganization",
"http://data.lblod.info/vocabularies/erediensten/typeEredienst"
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://www.w3.org/ns/org#classification"
]
},
{
@@ -273,7 +274,8 @@
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#classification",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://www.w3.org/ns/org#hasPost"
"http://www.w3.org/ns/org#hasPost",
"http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie"
]
},
{

View File

@@ -99,6 +99,21 @@
"http://www.w3.org/ns/regorg#orgStatus"
]
},
{
"type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
"strictTypeExport": "true",
"graphsFilter": [
"http://mu.semte.ch/graphs/public"
],
"comment": "Bound to ABB only.",
"properties": [
"http://mu.semte.ch/vocabularies/core/uuid",
"http://www.w3.org/2004/02/skos/core#prefLabel",
"http://purl.org/dc/terms/identifier",
"http://www.w3.org/ns/org#classification"
],
"additionalFilter": "BIND(<http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> as ?subject)"
},
{
"type": "http://www.w3.org/ns/regorg#RegisteredOrganization",
"strictTypeExport": "true",
@@ -144,6 +159,7 @@
"http://www.w3.org/2004/02/skos/core#altLabel",
"http://www.w3.org/ns/org#linkedTo",
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://www.w3.org/ns/org#classification",
"http://www.w3.org/ns/adms#identifier"
]
},
@@ -314,6 +330,16 @@
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
{
"type": "http://mu.semte.ch/vocabularies/ext/RepresentatiefOrgaanClassificatieCode",
"graphsFilter": [
"http://mu.semte.ch/graphs/public"
],
"properties": [
"http://mu.semte.ch/vocabularies/core/uuid",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
{
"type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
"graphsFilter": [
@@ -328,7 +354,8 @@
"http://data.vlaanderen.be/ns/mandaat#bindingEinde",
"http://data.vlaanderen.be/ns/mandaat#bindingStart",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://www.w3.org/ns/org#hasPost"
"http://www.w3.org/ns/org#hasPost",
"http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie"
],
"additionalFilter": "?subject (<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan>/<http://www.w3.org/ns/org#classification>/<http://www.w3.org/2004/02/skos/core#inScheme>)|(<http://www.w3.org/ns/org#classification>/<http://www.w3.org/2004/02/skos/core#inScheme>) <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> ."
},
@@ -457,6 +484,19 @@
"http://www.w3.org/ns/org#role",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
{
"type": "http://mu.semte.ch/vocabularies/ext/GeregistreerdeOrganisatieClassificatieCode",
"graphsFilter": [
"http://mu.semte.ch/graphs/public"
],
"pathToConceptScheme": [
"http://www.w3.org/2004/02/skos/core#inScheme"
],
"properties": [
"http://mu.semte.ch/vocabularies/core/uuid",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
}
]
}

View File

@@ -1,25 +1,93 @@
{
"organizations": {
"deltaInterval": 10000,
"deltaPath": "/organizations/delta",
"errorCreatorUri": "http://lblod.data.gift/services/delta-producer-publication-graph-maintainer-organizations",
"exportConfigPath": "/config/organizations/export.json",
"filesPath": "/organizations/files",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"publicationGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
"publisherUri": "http://data.lblod.info/services/delta-production-json-diff-file-manager/organizations",
"queuePollInterval": 3000,
"relativeFilePath": "/deltas/organizations",
"serveDeltaFiles": true,
"skipMuAuthInitialSync": true,
"skipMuAuthHealing": true,
"useFileDiff": true,
"healingInitialBatchSizeInsert": 1000,
"useVirtuosoForExpensiveSelects": true,
"errorGraph": "http://mu.semte.ch/graphs/jobs",
"loginPath": "/organizations/login",
"logOutgoingDelta": true
}
}
"organizations": {
"deltaInterval": 10000,
"errorCreatorUri": "http://lblod.data.gift/services/delta-producer-publication-graph-maintainer-organizations",
"exportConfigPath": "/config/organizations/export.json",
"filesPath": "/organizations/files",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"publicationGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
"publisherUri": "http://data.lblod.info/services/delta-production-json-diff-file-manager/organizations",
"queuePollInterval": 3000,
"relativeFilePath": "/deltas/organizations",
"serveDeltaFiles": true,
"skipMuAuthInitialSync": true,
"skipMuAuthHealing": true,
"useFileDiff": true,
"healingInitialBatchSizeInsert": 1000,
"useVirtuosoForExpensiveSelects": true,
"errorGraph": "http://mu.semte.ch/graphs/jobs",
"loginPath": "/organizations/login",
"logOutgoingDelta": true
},
"public": {
"deltaInterval": 10000,
"errorCreatorUri": "http://lblod.data.gift/services/delta-producer-publication-graph-maintainer-public",
"exportConfigPath": "/config/public/export.json",
"filesPath": "/public/files",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/public",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/public",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"publicationGraph": "http://redpencil.data.gift/id/deltas/producer/public",
"publisherUri": "http://data.lblod.info/services/delta-production-json-diff-file-manager/public",
"queuePollInterval": 3000,
"relativeFilePath": "/deltas/public",
"serveDeltaFiles": true,
"skipMuAuthInitialSync": true,
"skipMuAuthHealing": true,
"useFileDiff": true,
"healingInitialBatchSizeInsert": 1000,
"healingPatchPublicationGraphTaskOperation": 500,
"useVirtuosoForExpensiveSelects": true,
"errorGraph": "http://mu.semte.ch/graphs/jobs",
"loginPath": "/public/login",
"logOutgoingDelta": true
},
"organizations-public-info": {
"deltaInterval": 10000,
"errorCreatorUri": "http://lblod.data.gift/services/delta-producer-publication-graph-maintainer-organizations-public-info",
"exportConfigPath": "/config/organizations-public-info/export.json",
"filesPath": "/organizations-public-info/files",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations-public-info",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations-public-info",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"publicationGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-public-info",
"publisherUri": "http://data.lblod.info/services/delta-production-json-diff-file-manager/organizations-public-info",
"queuePollInterval": 3000,
"relativeFilePath": "/deltas/organizations-public-info",
"serveDeltaFiles": true,
"skipMuAuthInitialSync": true,
"skipMuAuthHealing": true,
"useFileDiff": true,
"healingInitialBatchSizeInsert": 1000,
"healingPatchPublicationGraphTaskOperation": 500,
"useVirtuosoForExpensiveSelects": true,
"errorGraph": "http://mu.semte.ch/graphs/jobs",
"loginPath": "/organizations-public-info/login",
"logOutgoingDelta": true
},
"worship-posts": {
"deltaInterval": 10000,
"errorCreatorUri": "http://lblod.data.gift/services/delta-producer-publication-graph-maintainer-worship-posts",
"exportConfigPath": "/config/worship-posts/export.json",
"filesPath": "/worship-posts/files",
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/worship-posts",
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/worship-posts",
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
"publicationGraph": "http://redpencil.data.gift/id/deltas/producer/worship-posts",
"publisherUri": "http://data.lblod.info/services/delta-production-json-diff-file-manager/worship-posts",
"queuePollInterval": 3000,
"relativeFilePath": "/deltas/worship-posts",
"serveDeltaFiles": true,
"skipMuAuthInitialSync": true,
"skipMuAuthHealing": true,
"useFileDiff": true,
"healingInitialBatchSizeInsert": 1000,
"healingPatchPublicationGraphTaskOperation": 500,
"useVirtuosoForExpensiveSelects": true,
"errorGraph": "http://mu.semte.ch/graphs/jobs",
"loginPath": "/worship-posts/login",
"logOutgoingDelta": true
}
}

View File

@@ -131,6 +131,7 @@
"http://www.w3.org/ns/org#hasSite",
"http://www.w3.org/ns/org#linkedTo",
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://www.w3.org/ns/org#classification",
"http://www.w3.org/ns/adms#identifier"
]
},

View File

@@ -33,7 +33,6 @@ export default [
ignoreFromSelf: true
}
},
{
match: {
graph: {
@@ -51,7 +50,6 @@ export default [
ignoreFromSelf: true
}
},
{
match: {
graph: {
@@ -69,7 +67,6 @@ export default [
ignoreFromSelf: true
}
},
{
match: {
predicate: {
@@ -92,59 +89,7 @@ export default [
match: {
},
callback: {
url: 'http://delta-producer-publication-graph-maintainer/organizations/delta',
method: 'POST'
},
options: {
resourceFormat: 'v0.0.1',
gracePeriod: 1000,
ignoreFromSelf: true,
optOutMuScopeIds: [
"http://redpencil.data.gift/id/concept/muScope/deltas/initialSync",
"http://redpencil.data.gift/id/concept/muScope/deltas/publicationGraphMaintenance"
]
}
},
{
match: {
},
callback: {
url: 'http://delta-producer-pub-graph-maintainer-organizations-public-info/delta',
method: 'POST'
},
options: {
resourceFormat: 'v0.0.1',
gracePeriod: 1000,
ignoreFromSelf: true,
optOutMuScopeIds: [
"http://redpencil.data.gift/id/concept/muScope/deltas/initialSync",
"http://redpencil.data.gift/id/concept/muScope/deltas/publicationGraphMaintenance"
]
}
},
{
match: {
},
callback: {
url: 'http://delta-producer-pub-graph-maintainer-public/delta',
method: 'POST'
},
options: {
resourceFormat: 'v0.0.1',
gracePeriod: 1000,
ignoreFromSelf: true,
optOutMuScopeIds: [
"http://redpencil.data.gift/id/concept/muScope/deltas/initialSync",
"http://redpencil.data.gift/id/concept/muScope/deltas/publicationGraphMaintenance"
]
}
},
{
match: {
// anything
},
callback: {
url: 'http://delta-producer-pub-graph-maintainer-worship-posts/delta',
url: 'http://delta-producer-publication-graph-maintainer/delta',
method: 'POST'
},
options: {

View File

@@ -366,7 +366,7 @@ defmodule Dispatcher do
#################################################################
get "/sync/organizations/files/*path" do
Proxy.forward conn, path, "http://delta-producer-publication-graph-maintainer/files/"
Proxy.forward conn, path, "http://delta-producer-publication-graph-maintainer/organizations/files/"
end
#################################################################
@@ -374,7 +374,7 @@ defmodule Dispatcher do
#################################################################
get "/sync/organizations-public-info/files/*path" do
Proxy.forward conn, path, "http://delta-producer-pub-graph-maintainer-organizations-public-info/files/"
Proxy.forward(conn, path, "http://delta-producer-publication-graph-maintainer/organizations-public-info/files/")
end
#################################################################
@@ -382,7 +382,7 @@ defmodule Dispatcher do
#################################################################
get "/sync/public/files/*path" do
Proxy.forward conn, path, "http://delta-producer-pub-graph-maintainer-public/files/"
Proxy.forward(conn, path, "http://delta-producer-publication-graph-maintainer/public/files/")
end
#################################################################
@@ -390,7 +390,7 @@ defmodule Dispatcher do
#################################################################
get "/sync/worship-posts/files/*path" do
Proxy.forward conn, path, "http://delta-producer-pub-graph-maintainer-worship-posts/files/"
Proxy.forward(conn, path, "http://delta-producer-publication-graph-maintainer/worship-posts/files/")
end
#################################################################

View File

@@ -0,0 +1,11 @@
DELETE DATA {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
<http://data.lblod.info/id/geregistreerdeOrganisaties/8b2e8749-98a9-450f-b2f1-7a93115ef513> <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/35833ba2-7371-400b-8df2-2912f66fb153> .
}
}
;
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
<http://data.lblod.info/id/geregistreerdeOrganisaties/8b2e8749-98a9-450f-b2f1-7a93115ef513> <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7> .
}
}

View File

@@ -0,0 +1,33 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH ?g {
?organisation skos:prefLabel ?oldLabel;
regorg:legalName ?oldName.
}
} INSERT {
GRAPH ?g {
?organisation skos:prefLabel ?newName;
regorg:legalName ?newName.
}
} WHERE {
GRAPH ?g {
?organisation a besluit:Bestuurseenheid;
skos:prefLabel ?oldLabel;
regorg:legalName ?oldName.
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/shared>
}
VALUES (?organisation ?newName) {
(<http://data.lblod.info/id/bestuurseenheden/99da98a7a0087d3429b084ebfc4eb5d488c593790d4d5af7253982a2e21a6a5f> """Bilzen-Hoeselt""")
(<http://data.lblod.info/id/bestuurseenheden/9ae900a5447b7d727ca6496910220d4389aba7f1869923f1bbf9729bdeca28e2> """Bilzen-Hoeselt""")
(<http://data.lblod.info/id/bestuurseenheden/05099fa1f6524b8b994d86f61549455d2c00b2a956d5308683ac2d1f810fc729> """Tessenderlo-Ham""")
(<http://data.lblod.info/id/bestuurseenheden/42a43591e0db1dca9432f480f0f49f9bd4056c2b131e2fc997497130f5e099d0> """Tessenderlo-Ham""")
(<http://data.lblod.info/id/bestuurseenheden/104f32d7fb8d4b8b61b71717301656f136fe046eabaf126fb3325896b5c2d625> """Tongeren-Borgloon""")
(<http://data.lblod.info/id/bestuurseenheden/ab684633d605d93dbbe6b9ea40667e2bcf03a0856cafe1825e95b7829ed502a3> """Tongeren-Borgloon""")
}
}

View File

@@ -0,0 +1,102 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
DELETE {
GRAPH ?g {
?org regorg:orgStatus ?oldStatus.
}
} INSERT {
GRAPH ?g {
?org regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>.
}
} WHERE {
GRAPH ?g {
?org regorg:orgStatus ?oldStatus.
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
}
VALUES ?org {
<http://data.lblod.info/id/bestuurseenheden/e41ffa04f94bb450a79793020e70d55b5fee5033a5280277998608a9d0913117>
<http://data.lblod.info/id/bestuurseenheden/7125fcbfb7a08f8c01efbed115cea602db249c04afe9b5a2cc298cc7949cd040>
<http://data.lblod.info/id/bestuurseenheden/4f0eb4436c88cf831c35f84e7c34ce32f9ee4e99c5139aff62990e5e531aa1e7>
<http://data.lblod.info/id/bestuurseenheden/6af55cecaea3621f53bb32417a36ed6e3d41b2aa5b9f6d62ab3d80cc8ec11539>
<http://data.lblod.info/id/bestuurseenheden/c362abc58ac4579ff417824ce620962ac57bc344b34fe8f51d21b35ef54da36d>
<http://data.lblod.info/id/bestuurseenheden/72bc672ceb6894d8dd31dc2dff2faad2fd93f4b9f5347d556d092516eaa30aa3>
<http://data.lblod.info/id/bestuurseenheden/d3c76fd84794dad5e12c9eed6d6332dc5e5c99daf0e4ddd7ceebf13d5d6c0ccd>
<http://data.lblod.info/id/bestuurseenheden/bbc23313f4c8585a0c51f15f920d77123356535cd1cad9af38f5707892c7088d>
<http://data.lblod.info/id/bestuurseenheden/a3bd0845853278f478f90b14436d3efa99e73249a84d462f0ddc2e5b6e37a156>
<http://data.lblod.info/id/bestuurseenheden/785e8d5516378c7382ad0e7e356d2301496d810c6cd46d72ccebb455d3ac525e>
<http://data.lblod.info/id/bestuurseenheden/05441122597e0b20b61a8968ea1247c07f9014aad1f1f0709d0b1234e3dfbc2f>
<http://data.lblod.info/id/bestuurseenheden/3834647b5e95ea20f5ffe5a12a09fbd3d7fdf0d187fab385cb7b841422176ad6>
<http://data.lblod.info/id/bestuurseenheden/0327a51548f73607f8a5ec11b36711a3c96703686ad93a3d632718c135c295db>
<http://data.lblod.info/id/bestuurseenheden/e39bc997aa6dd9f240277735efd745b6a0422614d2b36cf01825c86b1b91a9ee>
<http://data.lblod.info/id/bestuurseenheden/0a2d980559eb9f3e0820386541274a72692f495204cd6d951ea1907ecc65829b>
<http://data.lblod.info/id/bestuurseenheden/144c75e403c5084af57f5c0c86252b8759b56baf9694326abbcb5ea40ab69f1a>
<http://data.lblod.info/id/bestuurseenheden/00eb231f51bd6b4f5dcc6536b2d09a174ea8583f5bf28b10bc4fc769a07e511d>
<http://data.lblod.info/id/bestuurseenheden/c69192b973a3ca11531b9657b3ee20aa6688fa33ea1ef1392310fec751980ab2>
<http://data.lblod.info/id/bestuurseenheden/3eb8c9fae32d02359dcd7b22e2a74e67a5b48388df31ad819c27c688fedd10b0>
<http://data.lblod.info/id/bestuurseenheden/ba8a253d98ea7d2ab1afc43e5e2cd145a12ccd86b68e71d023e3c13a83d7498f>
<http://data.lblod.info/id/bestuurseenheden/76c45d60f05bf8afc8c71859342b69cac6a57ee2b320b900a60afd6ba9b8eb9d>
<http://data.lblod.info/id/bestuurseenheden/5d21ccef2f5aa3ccbf3a74c6f25ebe9f0b1ef5a97b87f3d79c86ae9d6d857df8>
<http://data.lblod.info/id/bestuurseenheden/af8969752f6b28c66b6bc402d7987fa38774901ac72b95c5cb7976570487c3c9>
<http://data.lblod.info/id/bestuurseenheden/fb1be873c4b31e391613dfae8e68edd694b1fdf126eeecb502b1e5cad6f2f682>
<http://data.lblod.info/id/bestuurseenheden/f6b131de5e40a0dfd4fc93fedf3b95c9bf156ece718b87fe00469dea2564b3fb>
<http://data.lblod.info/id/bestuurseenheden/3e077115eeb70b649d44e2ebbb218f2cfcac5d84e130c88584f0ec23f7cebbf9>
<http://data.lblod.info/id/bestuurseenheden/1313d4a58f9ecf52cc7e274e3549a759b35e731973cc9f5e07562e5650f594dd>
<http://data.lblod.info/id/bestuurseenheden/7c6b38fa6fc65879cb674a654617de171adfcfacba086fb918da3749dbaa43b5>
<http://data.lblod.info/id/bestuurseenheden/c5dbb08e35e2d090a05d119fef4cc161b5ee1f322698cb8ea3c8c6643a521cf2>
<http://data.lblod.info/id/bestuurseenheden/f2a9a2392d5e4c0f992a84a0871d048a7b91b14681e9980a63aa6ba4b1f7eb8c>
<http://data.lblod.info/id/bestuurseenheden/c0b6b5cf198cd939251dff8ed052177cfff245074c6b8d43394c8c97f7b6e945>
<http://data.lblod.info/id/bestuurseenheden/8ef1e4a43efd913e6b09b0ddea344b7b5d723a344ad559389a55ae1ff0bebc8f>
<http://data.lblod.info/id/bestuurseenheden/04895013fe6301f32aa46deae98abfb833a717ece5a33b6c453674c6d0f4cc5e>
<http://data.lblod.info/id/bestuurseenheden/f56f068943a99059f5bfc3b905fe8848a25a47cfa30fb3ed3d294b47815b2255>
<http://data.lblod.info/id/bestuurseenheden/5a4b2b4f1de1f3b91b0348a7eb6d6aa0ef9420b8ec31374970c9ffe933a79515>
<http://data.lblod.info/id/bestuurseenheden/3f57a17fbcdfc13def910c54948bec11d71d3f75946b0336fffc0587bf18d783>
<http://data.lblod.info/id/bestuurseenheden/2564e21e3650f91625189ccb7eb055e47754a0633c54c7582a899171fef60c52>
<http://data.lblod.info/id/bestuurseenheden/60daf27c2cf12dd123447aa300dd7320890391dbd8dd6b4dd7ec02258f8281b3>
}
}
;
DELETE {
GRAPH ?g {
?org regorg:orgStatus ?oldStatus.
}
} INSERT {
GRAPH ?g {
?org regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>.
}
} WHERE {
GRAPH ?g {
?org regorg:orgStatus ?oldStatus.
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
}
VALUES ?org {
<http://data.lblod.info/id/bestuurseenheden/4b44e6f1-113b-4692-b149-44a889b215f2>
<http://data.lblod.info/id/bestuurseenheden/1ca65d65-54ff-4b44-b750-bd70c91191af>
<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e>
<http://data.lblod.info/id/bestuurseenheden/b8bb293d-aa22-4b43-bda4-0b6af76e9493>
<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6>
<http://data.lblod.info/id/bestuurseenheden/19483103-318e-435a-aa37-45e485406ee9>
<http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622>
<http://data.lblod.info/id/bestuurseenheden/add1e4eb-9ec7-4ea6-af82-335aa76b7d48>
<http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf>
}
}

View File

@@ -0,0 +1,27 @@
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH ?g {
?address locn:adminUnitL2 "Antwerpen".
}
} INSERT {
GRAPH ?g {
?address locn:adminUnitL2 "Oost-Vlaanderen".
}
} WHERE {
GRAPH ?g {
?address a locn:Address;
adres:gemeentenaam "Zwijndrecht";
locn:adminUnitL2 "Antwerpen"
FILTER (EXISTS { ?site organisatie:bestaatUit ?address. } ||
EXISTS { ?site org:siteAddress/locn:address ?address. })
}
VALUES ?g {
<http://mu.semte.ch/graphs/worship-service>
<http://mu.semte.ch/graphs/administrative-unit>
}
}

View File

@@ -0,0 +1,51 @@
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH ?g {
?address adres:gemeentenaam ?oldMunicipality.
}
}
INSERT {
GRAPH ?g {
?address adres:gemeentenaam ?newMunicipality.
}
}
WHERE {
GRAPH ?g {
?address a locn:Address;
adres:gemeentenaam ?oldMunicipality.
FILTER (EXISTS { ?site organisatie:bestaatUit ?address. } ||
EXISTS { ?site org:siteAddress/locn:address ?address. })
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/worship-service>
}
VALUES (?oldMunicipality ?newMunicipality) {
("Borsbeek" "Antwerpen")
("Galmaarden" "Pajottegem")
("Gooik" "Pajottegem")
("Herne" "Pajottegem")
("Ruiselede" "Wingene")
("Meulebeke" "Tielt")
("De Pinte" "Nazareth-De Pinte")
("Nazareth" "Nazareth-De Pinte")
("Wachtebeke" "Lochristi")
("Moerbeke" "Lokeren")
("Melle" "Merelbeke-Melle")
("Merelbeke" "Merelbeke-Melle")
("Beveren" "Beveren-Kruibeke-Zwijndrecht")
("Kruibeke" "Beveren-Kruibeke-Zwijndrecht")
("Zwijndrecht" "Beveren-Kruibeke-Zwijndrecht")
("Bilzen" "Bilzen-Hoeselt")
("Hoeselt" "Bilzen-Hoeselt")
("Borgloon" "Tongeren-Borgloon")
("Tongeren" "Tongeren-Borgloon")
("Ham" "Tessenderlo-Ham")
("Tessenderlo" "Tessenderlo-Ham")
("Kortessem" "Hasselt")
}
}

View File

@@ -0,0 +1,92 @@
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH ?g {
?address locn:fullAddress ?fullAddress.
}
} INSERT {
GRAPH ?g {
?address locn:fullAddress ?newFullAddress.
}
} WHERE {
GRAPH ?g {
?address locn:fullAddress ?fullAddress;
locn:thoroughfare ?street;
adres:Adresvoorstelling.huisnummer ?buildingNo;
locn:postCode ?postalCode;
adres:gemeentenaam ?municipality;
adres:land ?country.
FILTER NOT EXISTS { ?address adres:Adresvoorstelling.busnummer ?boxNo. }
FILTER (EXISTS { ?site organisatie:bestaatUit ?address. } ||
EXISTS { ?site org:siteAddress/locn:address ?address. })
FILTER (?municipality IN (
"Antwerpen",
"Pajottegem",
"Wingene",
"Tielt",
"Nazareth-De Pinte",
"Lochristi",
"Lokeren",
"Merelbeke-Melle",
"Beveren-Kruibeke-Zwijndrecht",
"Bilzen-Hoeselt",
"Tongeren-Borgloon",
"Tessenderlo-Ham",
"Hasselt"
))
BIND (CONCAT(?street, " ", ?buildingNo, ", ", ?postalCode, " ", ?municipality, ", ", ?country) AS ?newFullAddress)
FILTER (?fullAddress != ?newFullAddress)
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/worship-service>
}
}
;
DELETE {
GRAPH ?g {
?address locn:fullAddress ?fullAddress.
}
} INSERT {
GRAPH ?g {
?address locn:fullAddress ?newFullAddress.
}
} WHERE {
GRAPH ?g {
?address locn:fullAddress ?fullAddress;
locn:thoroughfare ?street;
adres:Adresvoorstelling.huisnummer ?buildingNo;
adres:Adresvoorstelling.busnummer ?boxNo;
locn:postCode ?postalCode;
adres:gemeentenaam ?municipality;
adres:land ?country.
FILTER (EXISTS { ?site organisatie:bestaatUit ?address. } ||
EXISTS { ?site org:siteAddress/locn:address ?address. })
FILTER (?municipality IN (
"Antwerpen",
"Pajottegem",
"Wingene",
"Tielt",
"Nazareth-De Pinte",
"Lochristi",
"Lokeren",
"Merelbeke-Melle",
"Beveren-Kruibeke-Zwijndrecht",
"Bilzen-Hoeselt",
"Tongeren-Borgloon",
"Tessenderlo-Ham",
"Hasselt"
))
BIND (CONCAT(?street, " ", ?buildingNo, " ", ?boxNo, ", ", ?postalCode, " ", ?municipality, ", ", ?country) AS ?newFullAddress)
FILTER (?fullAddress != ?newFullAddress)
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/worship-service>
}
}

View File

@@ -0,0 +1,25 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s regorg:orgStatus ?activeStatus.
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s regorg:orgStatus ?notActiveStatus.
}
} WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/150440a8bb763d6f53d24ca1c6f1460cb5817c8a261fd90e74aadac3292c3efe>
<http://data.lblod.info/id/bestuurseenheden/41d31a2eb697af977aadf64c73e0bcffb094e0f20e4017fe3b49c507079c0976>
<http://data.lblod.info/id/bestuurseenheden/330516b323c00851cf4b93e6d5d7a2ef4591f68ae6e71ad9c1f432ee70521bb2>
<http://data.lblod.info/id/bestuurseenheden/7dd1250996188607bb1e28df1ebea0b943e8db59c08ea01e3c57672531c43ec6>
<http://data.lblod.info/id/bestuurseenheden/541c1603eb8c01968f95d1f262854134499e00d135cd7c9147d307ccbd1e20fd>
<http://data.lblod.info/id/bestuurseenheden/4deae42b2b25bff407f5abc7cbb6d62eb02afaf2892086341c324fdf2c0e6e92>
<http://data.lblod.info/id/bestuurseenheden/b7af3483cb5d0021c6f5864a433b211fce30246ef685621d104b1951915c21c4>
}
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
}

View File

@@ -0,0 +1,23 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?stAmandus regorg:orgStatus ?oldStatus.
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?stAmandus regorg:orgStatus ?notActiveStatus.
?mergerChangeEvent org:originalOrganization ?stAmandus.
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?stAmandus regorg:orgStatus ?oldStatus.
}
VALUES ?stAmandus {
<http://data.lblod.info/id/besturenVanDeEredienst/b18a5d3943087d509d76dcceeba102c3>
}
BIND (<http://data.lblod.info/id/veranderingsgebeurtenissen/677E445E29299CC832892A0F> AS ?mergerChangeEvent)
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
}

View File

@@ -0,0 +1,60 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
# Note: for municipalities and provinces the graphs differ, splitting this
# WHERE clause in two GRAPH clauses simplifies the generation of these
# migrations.
GRAPH <http://mu.semte.ch/graphs/shared> {
?organization mu:uuid ?organizationUuid ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001> . # Gemeente
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBody besluit:bestuurt ?organization ;
org:classification ?governingBodyClassification .
# Only active organizations should get new timed governing bodies
?organization regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief (Eng. Active)
}
FILTER (
?organization
NOT IN
(<http://data.lblod.info/id/bestuurseenheden/4f0eb4436c88cf831c35f84e7c34ce32f9ee4e99c5139aff62990e5e531aa1e7> # Beveren
, <http://data.lblod.info/id/bestuurseenheden/05441122597e0b20b61a8968ea1247c07f9014aad1f1f0709d0b1234e3dfbc2f> # Borgloon
, <http://data.lblod.info/id/bestuurseenheden/e41ffa04f94bb450a79793020e70d55b5fee5033a5280277998608a9d0913117> # Borsbeek
, <http://data.lblod.info/id/bestuurseenheden/e39bc997aa6dd9f240277735efd745b6a0422614d2b36cf01825c86b1b91a9ee> # De Pinte
, <http://data.lblod.info/id/bestuurseenheden/00eb231f51bd6b4f5dcc6536b2d09a174ea8583f5bf28b10bc4fc769a07e511d> # Galmaarden
, <http://data.lblod.info/id/bestuurseenheden/c69192b973a3ca11531b9657b3ee20aa6688fa33ea1ef1392310fec751980ab2> # Gooik
, <http://data.lblod.info/id/bestuurseenheden/3eb8c9fae32d02359dcd7b22e2a74e67a5b48388df31ad819c27c688fedd10b0> # Herne
, <http://data.lblod.info/id/bestuurseenheden/a3bd0845853278f478f90b14436d3efa99e73249a84d462f0ddc2e5b6e37a156> # Hoeselt
, <http://data.lblod.info/id/bestuurseenheden/f6b131de5e40a0dfd4fc93fedf3b95c9bf156ece718b87fe00469dea2564b3fb> # Kortessem
, <http://data.lblod.info/id/bestuurseenheden/6af55cecaea3621f53bb32417a36ed6e3d41b2aa5b9f6d62ab3d80cc8ec11539> # Kruibeke
, <http://data.lblod.info/id/bestuurseenheden/c0b6b5cf198cd939251dff8ed052177cfff245074c6b8d43394c8c97f7b6e945> # Melle
, <http://data.lblod.info/id/bestuurseenheden/8ef1e4a43efd913e6b09b0ddea344b7b5d723a344ad559389a55ae1ff0bebc8f> # Merelbeke
, <http://data.lblod.info/id/bestuurseenheden/5a4b2b4f1de1f3b91b0348a7eb6d6aa0ef9420b8ec31374970c9ffe933a79515> # Meulebeke
, <http://data.lblod.info/id/bestuurseenheden/c5dbb08e35e2d090a05d119fef4cc161b5ee1f322698cb8ea3c8c6643a521cf2> # Moerbeke
, <http://data.lblod.info/id/bestuurseenheden/0327a51548f73607f8a5ec11b36711a3c96703686ad93a3d632718c135c295db> # Nazareth
, <http://data.lblod.info/id/bestuurseenheden/2564e21e3650f91625189ccb7eb055e47754a0633c54c7582a899171fef60c52> # Ruiselede
, <http://data.lblod.info/id/bestuurseenheden/af8969752f6b28c66b6bc402d7987fa38774901ac72b95c5cb7976570487c3c9> # Tessenderlo
, <http://data.lblod.info/id/bestuurseenheden/1313d4a58f9ecf52cc7e274e3549a759b35e731973cc9f5e07562e5650f594dd> # Wachtebeke
, <http://data.lblod.info/id/bestuurseenheden/c362abc58ac4579ff417824ce620962ac57bc344b34fe8f51d21b35ef54da36d> # Zwijndrecht
)
)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,60 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
# Note: for municipalities and provinces the graphs differ, splitting this
# WHERE clause in two GRAPH clauses simplifies the generation of these
# migrations.
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?organization mu:uuid ?organizationUuid ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002> . # OCMW
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBody besluit:bestuurt ?organization ;
org:classification ?governingBodyClassification .
# Only active organizations should get new timed governing bodies
?organization regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief (Eng. Active)
}
FILTER (
?organization
NOT IN
(<http://data.lblod.info/id/bestuurseenheden/72bc672ceb6894d8dd31dc2dff2faad2fd93f4b9f5347d556d092516eaa30aa3> # Beveren
, <http://data.lblod.info/id/bestuurseenheden/3834647b5e95ea20f5ffe5a12a09fbd3d7fdf0d187fab385cb7b841422176ad6> # Borgloon
, <http://data.lblod.info/id/bestuurseenheden/7125fcbfb7a08f8c01efbed115cea602db249c04afe9b5a2cc298cc7949cd040> # Borsbeek
, <http://data.lblod.info/id/bestuurseenheden/144c75e403c5084af57f5c0c86252b8759b56baf9694326abbcb5ea40ab69f1a> # De Pinte
, <http://data.lblod.info/id/bestuurseenheden/ba8a253d98ea7d2ab1afc43e5e2cd145a12ccd86b68e71d023e3c13a83d7498f> # Galmaarden
, <http://data.lblod.info/id/bestuurseenheden/76c45d60f05bf8afc8c71859342b69cac6a57ee2b320b900a60afd6ba9b8eb9d> # Gooik
, <http://data.lblod.info/id/bestuurseenheden/5d21ccef2f5aa3ccbf3a74c6f25ebe9f0b1ef5a97b87f3d79c86ae9d6d857df8> # Herne
, <http://data.lblod.info/id/bestuurseenheden/785e8d5516378c7382ad0e7e356d2301496d810c6cd46d72ccebb455d3ac525e> # Hoeselt
, <http://data.lblod.info/id/bestuurseenheden/3e077115eeb70b649d44e2ebbb218f2cfcac5d84e130c88584f0ec23f7cebbf9> # Kortessem
, <http://data.lblod.info/id/bestuurseenheden/d3c76fd84794dad5e12c9eed6d6332dc5e5c99daf0e4ddd7ceebf13d5d6c0ccd> # Kruibeke
, <http://data.lblod.info/id/bestuurseenheden/04895013fe6301f32aa46deae98abfb833a717ece5a33b6c453674c6d0f4cc5e> # Melle
, <http://data.lblod.info/id/bestuurseenheden/f56f068943a99059f5bfc3b905fe8848a25a47cfa30fb3ed3d294b47815b2255> # Merelbeke
, <http://data.lblod.info/id/bestuurseenheden/3f57a17fbcdfc13def910c54948bec11d71d3f75946b0336fffc0587bf18d783> # Meulebeke
, <http://data.lblod.info/id/bestuurseenheden/f2a9a2392d5e4c0f992a84a0871d048a7b91b14681e9980a63aa6ba4b1f7eb8c> # Moerbeke
, <http://data.lblod.info/id/bestuurseenheden/0a2d980559eb9f3e0820386541274a72692f495204cd6d951ea1907ecc65829b> # Nazareth
, <http://data.lblod.info/id/bestuurseenheden/60daf27c2cf12dd123447aa300dd7320890391dbd8dd6b4dd7ec02258f8281b3> # Ruiselede
, <http://data.lblod.info/id/bestuurseenheden/fb1be873c4b31e391613dfae8e68edd694b1fdf126eeecb502b1e5cad6f2f682> # Tessenderlo
, <http://data.lblod.info/id/bestuurseenheden/7c6b38fa6fc65879cb674a654617de171adfcfacba086fb918da3749dbaa43b5> # Wachtebeke
, <http://data.lblod.info/id/bestuurseenheden/bbc23313f4c8585a0c51f15f920d77123356535cd1cad9af38f5707892c7088d> # Zwijndrecht
)
)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,35 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
# Note: for municipalities and provinces the graphs differ, splitting this
# WHERE clause in two GRAPH clauses simplifies the generation of these
# migrations.
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?organization mu:uuid ?organizationUuid ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000003> . # District
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBody besluit:bestuurt ?organization ;
org:classification ?governingBodyClassification .
# Only active organizations should get new timed governing bodies
?organization regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief (Eng. Active)
}
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,35 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
# Note: for municipalities and provinces the graphs differ, splitting this
# WHERE clause in two GRAPH clauses simplifies the generation of these
# migrations.
GRAPH <http://mu.semte.ch/graphs/shared> {
?organization mu:uuid ?organizationUuid ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000> . # Provincie
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBody besluit:bestuurt ?organization ;
org:classification ?governingBodyClassification .
# Only active organizations should get new timed governing bodies
?organization regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief (Eng. Active)
}
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,113 @@
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
# Algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,113 @@
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
# Algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,113 @@
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
# Algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,113 @@
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
# Algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-algemeen directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}
;
# Adjunct-financieel directeur
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# Abstract governing body
?governingBody a besluit:Bestuursorgaan ;
mu:uuid ?governingBodyUuid ;
skos:prefLabel ?governingBodyLabel ;
besluit:bestuurt <http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> .
# Timed specialisation for governing body
?timedGoverningBody a besluit:Bestuursorgaan ;
mu:uuid ?timedGoverningBodyUuid ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} WHERE {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> skos:prefLabel ?classificationLabel .
BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel)
BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR(<http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf>))) AS ?governingBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody)
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/4955bd72cd0e4eb895fdbfab08da0284> . # Burgemeester
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000013> # Burgemeester
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/7b038cc40bba10bec833ecfe6f15bc7a> # Aangewezen burgemeester
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000005> . # Gemeenteraad
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000012> # Voorzitter van de gemeenteraad
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000011> # Gemeenteraadslid
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,67 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000006> . # College van Burgemeester en Schepenen
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000014> # Schepen
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/59a90e03-4f22-4bb9-8c91-132618db4b38> # Toegevoegde schepen
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}
;
# Link mandates shared with Burgemeester governing body
# !! Make sure the Burgemeester governing body and its mandates are !!
# !! already created, otherwise this will not work correctly. !!
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000006> . # College van Burgemeester en Schepenen
# Find the other governing body as it is needed to determine correct UUID and URI
?governingBody besluit:bestuurt ?organisation .
?governingBodyOther besluit:bestuurt ?organisation ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/4955bd72cd0e4eb895fdbfab08da0284> . # Burgemeester
?governingBodyInTimeOther a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBodyOther ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000013> # Burgemeester
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/7b038cc40bba10bec833ecfe6f15bc7a> # Aangewezen burgemeester
}
BIND(SHA256(CONCAT(STR(?governingBodyOther), STR(?governingBodyInTimeOther), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,31 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/53c0d8cd-f3a2-411d-bece-4bd83ae2bbc9> . # Voorzitter van het Bijzonder Comité voor de Sociale Dienst
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001a> # Voorzitter van het Bijzonder Comité voor de Sociale Dienst
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000007> . # Raad voor Maatschappelijk Welzijn
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000016> # Voorzitter van de Raad voor Maatschappelijk Welzijn
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000015> # Lid van de Raad voor Maatschappelijk Welzijn
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000008> . # Vast Bureau
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000018> # Voorzitter van het Vast bureau
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000017> # Lid van het Vast Bureau
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,65 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000009> . # Bijzonder Comité voor de Sociale Dienst
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000019> # Lid van het Bijzonder Comité voor de Sociale Dienst
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}
;
# Link mandates shared with Voorzitter van het Bijzonder Comité voor de Sociale Dienst governing body
# !! Make sure the Voorzitter van het Bijzonder Comité voor de Sociale Dienst governing body and its mandates are !!
# !! already created, otherwise this will not work correctly. !!
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000009> . # Bijzonder Comité voor de Sociale Dienst
# Find the other governing body as it is needed to determine correct UUID and URI
?governingBody besluit:bestuurt ?organisation .
?governingBodyOther besluit:bestuurt ?organisation ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/53c0d8cd-f3a2-411d-bece-4bd83ae2bbc9> . # Voorzitter van het Bijzonder Comité voor de Sociale Dienst
?governingBodyInTimeOther a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBodyOther ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001a> # Voorzitter van het Bijzonder Comité voor de Sociale Dienst
}
BIND(SHA256(CONCAT(STR(?governingBodyOther), STR(?governingBodyInTimeOther), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000c> . # Provincieraad
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000027> # Voorzitter van de provincieraad
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001f> # Provincieraadslid
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,31 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/180a2fba-6ca9-4766-9b94-82006bb9c709> . # Gouverneur
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/d7c00cd1-baf1-4346-83c0-6796c0bedd85> # Gouverneur
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,31 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000d> . # Deputatie
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000020> # Gedeputeerde
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000a> . # Districtsraad
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001c> # Voorzitter van de districtsraad
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001b> # Districtsraadslid
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,31 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/9314533e-891f-4d84-a492-0338af104065> . # Districtsburgemeester
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001d> # Districtsburgemeester
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,65 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
?mandate a mandaat:Mandaat , org:Post ;
mu:uuid ?mandateUuid ;
org:role ?mandateRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000b> . # Districtscollege
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001e> # Districtsschepen
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}
;
# Link mandates shared with Districtsburgemeester governing body
# !! Make sure the Districtsburgemeester governing body and its mandates are !!
# !! already created, otherwise this will not work correctly. !!
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime org:hasPost ?mandate .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000b> . # Districtscollege
# Find the other governing body as it is needed to determine correct UUID and URI
?governingBody besluit:bestuurt ?organisation .
?governingBodyOther besluit:bestuurt ?organisation ;
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/9314533e-891f-4d84-a492-0338af104065> . # Districtsburgemeester
?governingBodyInTimeOther a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBodyOther ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
VALUES ?mandateRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e00001d> # Districtsburgemeester
}
BIND(SHA256(CONCAT(STR(?governingBodyOther), STR(?governingBodyInTimeOther), STR(?mandateRole), " 2025")) AS ?mandateUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime lblodlg:heeftBestuursfunctie ?function .
?function a lblodlg:Bestuursfunctie , org:Post ;
mu:uuid ?functionUuid ;
org:role ?functionRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> . # Algemeen directeur
}
VALUES ?functionRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/39e08271-68db-4282-897f-5cba88c71862> # Algemeen directeur
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime lblodlg:heeftBestuursfunctie ?function .
?function a lblodlg:Bestuursfunctie , org:Post ;
mu:uuid ?functionUuid ;
org:role ?functionRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> . # Adjunct-algemeen directeur
}
VALUES ?functionRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f7b4e17b-6f4e-48e7-a558-bce61669f59a> # Adjunct algemeen directeur
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime lblodlg:heeftBestuursfunctie ?function .
?function a lblodlg:Bestuursfunctie , org:Post ;
mu:uuid ?functionUuid ;
org:role ?functionRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> . # Financieel directeur
}
VALUES ?functionRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6d4cf4dd-2080-4752-8733-d02a036b2df0> # Financieel directeur
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime lblodlg:heeftBestuursfunctie ?function .
?function a lblodlg:Bestuursfunctie , org:Post ;
mu:uuid ?functionUuid ;
org:role ?functionRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> . # Adjunct-financieel directeur
}
VALUES ?functionRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/3200ffc1-bb72-4235-a81c-64aa578b0789> # Adjunct financieel directeur
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime lblodlg:heeftBestuursfunctie ?function .
?function a lblodlg:Bestuursfunctie , org:Post ;
mu:uuid ?functionUuid ;
org:role ?functionRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab19107-82d2-4273-a986-3da86fda050d> . # Griffier
}
VALUES ?functionRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/63195ec6-02cb-4f86-ac8e-29c5183a11dc> # Griffier
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function)
}

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime lblodlg:heeftBestuursfunctie ?function .
?function a lblodlg:Bestuursfunctie , org:Post ;
mu:uuid ?functionUuid ;
org:role ?functionRole .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBodyInTime a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
?governingBody org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/3e9f22c1-0d35-445b-8a37-494addedf2d8> . # Financieel beheerder
}
VALUES ?functionRole {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/b213c870-c762-4e39-9f78-3abdeda4b64a> # Financieel beheerder
}
BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function)
}

View File

@@ -0,0 +1,91 @@
# Delete old bestuursorganen
DELETE {
GRAPH ?g {
?bestuursorganen ?p ?o .
}
}
WHERE {
VALUES ?bestuursorganen {
<http://data.lblod.info/id/bestuursorganen/65a0c535-a6e0-4229-b565-5e93df72acf2>
<http://data.lblod.info/id/bestuursorganen/21f0b18a-7a9f-4777-84c2-7f53313e3ad9>
<http://data.lblod.info/id/bestuursorganen/9285a0c5-ec17-4d89-83b1-5b8a96a05096>
<http://data.lblod.info/id/bestuursorganen/d909e52a8215a7423082a7a800da7f171a713022e0c4475e12dcd44906982f12>
<http://data.lblod.info/id/bestuursorganen/2e6b537b-b486-4456-aab6-c421a85cf55d>
}
GRAPH ?g {
?bestuursorganen ?p ?o .
}
}
;
# Remove associated properties for one of the bestuursorganen in tijd
DELETE {
GRAPH ?g {
?post ?p ?o .
}
}
WHERE {
VALUES ?bestuursorgaanInTijd {
<http://data.lblod.info/id/bestuursorganen/b2bea1a43457ea68652f2f7d9b3fa396e952b7fb80d782fcc8660fea42d0c5d5>
}
GRAPH ?g {
?bestuursorgaanInTijd <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?post .
?post ?p ?o .
}
}
;
# Delete old bestuursorganen in tijd
DELETE {
GRAPH ?g {
?bestuursorgaanInTijd ?p ?o .
}
}
WHERE {
VALUES ?bestuursorgaanInTijd {
<http://data.lblod.info/id/bestuursorganen/7264b6d0-f123-493a-8fe2-4802b5be1aec>
<http://data.lblod.info/id/bestuursorganen/8bcdcde8-edeb-4cb5-aae3-0c147d631abc>
<http://data.lblod.info/id/bestuursorganen/7ac7d2cb-5fc6-4f36-a6dd-8813cd3e6f3a>
<http://data.lblod.info/id/bestuursorganen/b2bea1a43457ea68652f2f7d9b3fa396e952b7fb80d782fcc8660fea42d0c5d5>
<http://data.lblod.info/id/bestuursorganen/2a96151e-cbf1-42f6-ac5d-3f9780b3667d>
}
GRAPH ?g {
?bestuursorgaanInTijd ?p ?o .
}
}
;
# Remove wrong URI + reverse properties
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/bestuurseenheden/2559a855-a1c9-489d-964b-1d3c9bada85b> ?p ?o .
}
}
WHERE {
GRAPH ?g {
<http://data.lblod.info/id/bestuurseenheden/2559a855-a1c9-489d-964b-1d3c9bada85b> ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p <http://data.lblod.info/id/bestuurseenheden/2559a855-a1c9-489d-964b-1d3c9bada85b> .
}
}
WHERE {
GRAPH ?g {
?s ?p <http://data.lblod.info/id/bestuurseenheden/2559a855-a1c9-489d-964b-1d3c9bada85b> .
}
}

View File

@@ -0,0 +1,146 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/adressen/cb091a60-2397-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursorganen/688a6c6ee994118067e951daf5ae36a61a5006727fcb245d2275c4dfd1f560df>
<http://data.lblod.info/id/bestuursorganen/26ad3d6848a85b60ddf95c1abf0cca7cde7eaa9b62b44e04daa37eb99c951dbe>
<http://data.lblod.info/id/bestuursorganen/8ed710c24ece66d6aa9f31ca209d89cba2070521c74cdb7fed9149c2a08553f8>
<http://data.lblod.info/id/bestuursorganen/2a6533fc650e80a10af547dedde0eb162eda0715835fb056f265da847d88a154>
<http://data.lblod.info/id/bestuursorganen/3cc108abec6c37a6e56fc04d78ba162a3c8412b0507711b576945d146bac3b32>
<http://data.lblod.info/id/bestuursorganen/7bacffa8fb9d5d83b16ab5c79d6c52e6f5bb11941eb9256d993c5ef091ed9211>
<http://data.lblod.info/id/bestuursorganen/02b9d64da7cf5c9ef20b3b036400aeb2c5fc7078ee0b0cb0b9429ca07ad5c93c>
<http://data.lblod.info/id/bestuursorganen/2df471c3c8a592d527220d612538e4cc3d722398d80e28d159c0ce3417a7c382>
<http://data.lblod.info/id/bestuursorganen/d0ff01118d5b6aee2260754bd14bbd59c6b2347dd3501d501bfae4def2a22032>
<http://data.lblod.info/id/bestuursorganen/8075960c2054f38245e14c106d276ed8ca90ad67d89c68d0d89253d2f576b748>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursfuncties/0da9c13a61c6a7d9b1585573607aa1910bab5a0cb4694d2039db72de34a9aa72>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/kboOrganisaties/cb091a64-2397-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/identificatoren/06f4d030-834a-11ee-8e4b-c582e0b3e4df>
<http://data.lblod.info/id/identificatoren/c23b22d46df71b01700172c440cef58b>
<http://data.lblod.info/id/identificatoren/cb091a62-2397-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/9af828073bb4c53989fe0693526a31aec47d85a4bc6ac9d485ca6878eb3b3f1c>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/contact-punten/cb091a61-2397-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/gestructureerdeIdentificatoren/06f4d031-834a-11ee-8e4b-c582e0b3e4df>
<http://data.lblod.info/id/gestructureerdeIdentificator/7fdaf88760a2fe54f93281fbd815aa40>
<http://data.lblod.info/id/gestructureerdeIdentificator/cb091a63-2397-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}

View File

@@ -0,0 +1,146 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursorganen/00f340a3-7b5e-4408-9100-2834595ea89d>
<http://data.lblod.info/id/bestuursorganen/945bcb0e4a90a96af7410e06df53cdb912e11919dfce25b680dcb250f96dbd47>
<http://data.lblod.info/id/bestuursorganen/53ec55f7-e9ed-45e2-b9c0-df75ed35a26e>
<http://data.lblod.info/id/bestuursorganen/3cb6342d-c7b6-4b38-bfe8-83f62f4b303c>
<http://data.lblod.info/id/bestuursorganen/e4b96110-28cb-438d-bf63-f0d6ebf25ecf>
<http://data.lblod.info/id/bestuursorganen/1d56660e7657f66c1763fde4c021c5589f5aa2e467f4d7677580b1153dd275d2>
<http://data.lblod.info/id/bestuursorganen/6c4d9ebf-249e-41d3-8a09-c6b642071ce4>
<http://data.lblod.info/id/bestuursorganen/3e0046d2-5d99-49b3-9881-9c3cfb719da5>
<http://data.lblod.info/id/bestuursorganen/b2b36c3c-587a-48c1-8493-1f79f1f72825>
<http://data.lblod.info/id/bestuursorganen/f013c879-5d2e-43fc-8b35-6ce932214afd>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursfuncties/0fc5c952a6136b49721d9ce5794c6c262a38188a4b57cede9d9aea0f91f62d23>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/contact-punten/88dd9981-2398-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/kboOrganisaties/88dd9984-2398-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/cadbde55-c68c-47c1-8da1-905a171b844b>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/identificatoren/05446110-834a-11ee-8e4b-c582e0b3e4df>
<http://data.lblod.info/id/identificatoren/4fedb1a294f5603eb57247fa7b296697>
<http://data.lblod.info/id/identificatoren/88dd9982-2398-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/gestructureerdeIdentificator/b449f47111558a5386ad28e1c80623a0>
<http://data.lblod.info/id/gestructureerdeIdentificator/88dd9983-2398-11ef-bbd8-0fbcdf882161>
<http://data.lblod.info/id/gestructureerdeIdentificatoren/05446111-834a-11ee-8e4b-c582e0b3e4df>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/adressen/88dd9980-2398-11ef-bbd8-0fbcdf882161>
}
GRAPH ?g {
?s ?p ?o .
}
}

View File

@@ -0,0 +1,91 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/identificatoren/9d9db143b43e1f295da41118ef4aee6f>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/gestructureerdeIdentificator/037364b2a398a5449ea864c9d2040385>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursorganen/5ff0ba8bfb12ca4d9db49c25c120c4f21d41e9d34bec021a1ba4850012d1659b>
<http://data.lblod.info/id/bestuursorganen/b77e152f212b08ccbf109a33e102898f34a0190b932259065960deda0cb327db>
<http://data.lblod.info/id/bestuursorganen/8d09dfd3541fca32168df7c5dc0d25aa670d4dd31dcdf816199a0217a8988925>
<http://data.lblod.info/id/bestuursorganen/eb0d25900cebf0cca13e8eb19407d336a2eb7974cab850e59a2751463f13a190>
<http://data.lblod.info/id/bestuursorganen/b7ca71fd52e235aa3a8c5daf598db8d743e5c6e13a6b10590ea4a1897ebfdb48>
<http://data.lblod.info/id/bestuursorganen/63f28f66b955fb8a7ef22044111294a592d58c04677894dc5f4d982d8f8ccb23>
<http://data.lblod.info/id/bestuursorganen/56359589cfe7818209112862b1a8780f33ae33581919e128fb122db33e35dfa4>
<http://data.lblod.info/id/bestuursorganen/8750a24ef3ecd21ffbaae5846a3a72870fff576bfad8d309d9399e42a5277e84>
<http://data.lblod.info/id/bestuursorganen/a8e61b544549054ac977ef0f7aa8e34c44089ca7299bb19e6a20da3cffe1d4d9>
<http://data.lblod.info/id/bestuursorganen/a7b2c9b2c8d470ce3137c8606b6b8b585ddbbed0490811f22dab69151bd637e8>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursfuncties/bb5df2d9fcdff9d9d49da656d8f46f7ae7ed3f0af2323568471351b691f7793c>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/c5774766b2549ebd3590b1c9ae955636a8f1b90f01b06c1713aeb0a9ccd0845b>
}
GRAPH ?g {
?s ?p ?o .
}
}

View File

@@ -0,0 +1,91 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/identificatoren/86065994a24bd307d2d4fecc5dd3f980>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/ad5b386c0cb68ca51133b8e689e21ba6d3dc94726f2578f14631a61caaeaf8ac>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursorganen/67bcfd3785b7bac768f63441179b454320dae9643f5c8330135a8d33655451b5>
<http://data.lblod.info/id/bestuursorganen/270c30ec3c5333fb3d6d8fba7d308116ea4cc6b938b13a44b2cbb49bfad10695>
<http://data.lblod.info/id/bestuursorganen/6fcbd46463225c08b5d18ea4352f96b3abc02b8b7c0edec8683011cff8bd3139>
<http://data.lblod.info/id/bestuursorganen/45aac0dd02c2819acdaf3e35eb7e1347abff810570544d132fd225a5d849ac71>
<http://data.lblod.info/id/bestuursorganen/9c0bcf0597a73715ee872e0585bc32c375abb457bce86ce56361845ff18a31de>
<http://data.lblod.info/id/bestuursorganen/29cef84016679926ae4972f07ec64e547161dbdb767d0a9273b5a3c1f0bf9ba2>
<http://data.lblod.info/id/bestuursorganen/57b9846b8f46781b911ddf4b0fb59c7f885e9f29c04fbc16c69756867c1b9856>
<http://data.lblod.info/id/bestuursorganen/6af413c25a1cb3e27aacc0f09527a700fd660c4b0c2532e5a79f900c6545be13>
<http://data.lblod.info/id/bestuursorganen/453d783f600a6ed661f9f85ad6d56992f6d6e6c3552270368f85c34484755003>
<http://data.lblod.info/id/bestuursorganen/af067097648b6018170d9cf49670ca4bda04db29671bf76b533036e6c8edf343>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursfuncties/6d1459b94e32f5338d83fcf83625390be07b607fb911b2cbf0c4f4eda74ea526>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/gestructureerdeIdentificator/b8fc242e00b69088d3f5cc4c68cea5db>
}
GRAPH ?g {
?s ?p ?o .
}
}

View File

@@ -0,0 +1,91 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/71dc3947-975f-4540-bd50-1f50f29d7567>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/gestructureerdeIdentificator/0e28e5e2153feee0bc4546037c41a2a6>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/identificatoren/dc9d186cba7b3c0c1da655a2de68be5d>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursorganen/05ceb71b-0fc8-4ed0-bbd0-02ff2ee0aa2e>
<http://data.lblod.info/id/bestuursorganen/60aae03fc563203e27a979355813b67a9bb9aa51ae5c1c7301582dfaf1d77bb3>
<http://data.lblod.info/id/bestuursorganen/7dac3a02-e217-476f-8fee-aa2eab5187df>
<http://data.lblod.info/id/bestuursorganen/1e1f655a-89d2-4cad-be7c-a69132b5a82e>
<http://data.lblod.info/id/bestuursorganen/7979918afb0b0428825280d92af8d20ca9cfc4554f3c291bb24dba2314b67bd1>
<http://data.lblod.info/id/bestuursorganen/36715ba0-f50a-431e-943b-041933df4d01>
<http://data.lblod.info/id/bestuursorganen/e7b395c5-4bd2-43c5-acc4-3a3feb66953f>
<http://data.lblod.info/id/bestuursorganen/44195d20-2b99-4d7d-b0d4-a4db1696ff7d>
<http://data.lblod.info/id/bestuursorganen/9d62e9af-6ce7-4f27-9426-b587243db9e3>
<http://data.lblod.info/id/bestuursorganen/909e64a8-a2d6-4dbc-bac4-0f445a05af6e>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursfuncties/d9efd2b03d6645c72a43f684f11a2b2e9c9f26bce0e549f7df397d1256e572aa>
}
GRAPH ?g {
?s ?p ?o .
}
}

View File

@@ -0,0 +1,91 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuurseenheden/ba8ffc97-5490-4ecc-b24e-aab26b23c026>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/identificatoren/6e8a9d7c55868b80d176fe00db97816b>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursorganen/be697a9b-248f-431e-90cd-474ee79a5c6a>
<http://data.lblod.info/id/bestuursorganen/dddb39fb-a19b-491b-b1bf-a431406e383f>
<http://data.lblod.info/id/bestuursorganen/e5645fd6-ef7b-4705-8eed-9ee7de102f8c>
<http://data.lblod.info/id/bestuursorganen/bfc5523b-6fe8-425e-a65f-6202f73c7d42>
<http://data.lblod.info/id/bestuursorganen/ea7ecf04-ad05-486e-b77e-437b8577b7df>
<http://data.lblod.info/id/bestuursorganen/4824c430-9c4f-4258-842e-bd631d910377>
<http://data.lblod.info/id/bestuursorganen/a974b0dc-cbd6-4f9b-8211-cd487c4ede35>
<http://data.lblod.info/id/bestuursorganen/f5e8775d-b723-4fa3-9ddd-66751057ea34>
<http://data.lblod.info/id/bestuursorganen/0c0b86269ddc09cbcffc2cb4e39f458df15265f24d7a46f3a8f45c9567a1b44d>
<http://data.lblod.info/id/bestuursorganen/4a7c956f6d418d0031de1a1b15de74d6a87edf824f464caf02a1145b461cd1d9>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/bestuursfuncties/fbb286f45244f2cc64d40987bab1645acd78e3637f4a7a5f8c4dd33f9a7a3541>
}
GRAPH ?g {
?s ?p ?o .
}
}
;
DELETE {
GRAPH ?g {
?s ?p ?o .
}
}
WHERE {
VALUES ?s {
<http://data.lblod.info/id/gestructureerdeIdentificator/e6795bc0c5c2cf66591e7ff62e770bf5>
}
GRAPH ?g {
?s ?p ?o .
}
}

View File

@@ -0,0 +1,34 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/41caf7e6-b040-4720-9cc2-a96cfffed5b4>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab19107-82d2-4273-a986-3da86fda050d>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/3e9f22c1-0d35-445b-8a37-494addedf2d8>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
}
}
# # To find the relevant classifications:
# SELECT DISTINCT ?classification WHERE {
# ?bestuursfunctie a <http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie> .
#
# ?orgaanInTime <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?bestuursfunctie ;
# <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
#
# ?orgaan <http://www.w3.org/ns/org#classification> ?classification .
# }

View File

@@ -0,0 +1,28 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2024-12-02T00:00:00"^^xsd:dateTime .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?organization org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000003> . # District
# Filter new district Borsbeek which is the result of municipality Borsbeek
# merging into Antwerp
FILTER (?organization != <http://data.lblod.info/id/bestuurseenheden/4b44e6f1-113b-4692-b149-44a889b215f2>)
?governingBody besluit:bestuurt ?organization .
?timedGoverningBody a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
}

View File

@@ -0,0 +1,46 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2024-12-02T00:00:00"^^xsd:dateTime .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?organization org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001> . # Municipality
# Filter new municipalities that will the result of a merger
FILTER (?organization NOT IN
(
# Merged municipalities with new URIs
<http://data.lblod.info/id/bestuurseenheden/19483103-318e-435a-aa37-45e485406ee9> , # Beveren-Kruibeke-Zwijndrecht
<http://data.lblod.info/id/bestuurseenheden/b8bb293d-aa22-4b43-bda4-0b6af76e9493> , # Merelbeke-Melle
<http://data.lblod.info/id/bestuurseenheden/1ca65d65-54ff-4b44-b750-bd70c91191af> , # Nazareth-De Pinte
<http://data.lblod.info/id/bestuurseenheden/add1e4eb-9ec7-4ea6-af82-335aa76b7d48> , # Pajottegem
# Merged municipalities that keep URI
<http://data.lblod.info/id/bestuurseenheden/670db1d66c0de3b931962e1044033ccfa9d6e3023aa9828a5f252c3bc69bd32c> , # Antwerpen
<http://data.lblod.info/id/bestuurseenheden/99da98a7a0087d3429b084ebfc4eb5d488c593790d4d5af7253982a2e21a6a5f> , # Bilzen
<http://data.lblod.info/id/bestuurseenheden/05099fa1f6524b8b994d86f61549455d2c00b2a956d5308683ac2d1f810fc729> , # Ham
<http://data.lblod.info/id/bestuurseenheden/9db1b46874a57fe63c08fb5f16b117e6f61fdd98e7f64f745d0fceb9d3731169> , # Hasselt
<http://data.lblod.info/id/bestuurseenheden/2ac1bb2a7d7bbd98e2e7a24be2c67e42171788a71c2436a33060626593bb2f78> , # Lochristi
<http://data.lblod.info/id/bestuurseenheden/cb2a6e0a490ee881ddd0d9ded7f2b3d1dc2df7e57a19d014caac054bfa355f5a> , # Lokeren
<http://data.lblod.info/id/bestuurseenheden/b36da606fba6dd4dc99ae1ef5f4a52bba3268d33f4bc2cd1e65b87f01f35101a> , # Tielt
<http://data.lblod.info/id/bestuurseenheden/104f32d7fb8d4b8b61b71717301656f136fe046eabaf126fb3325896b5c2d625> , # Tongeren
<http://data.lblod.info/id/bestuurseenheden/99ed6eee81a7aca47517cbffb46eaba38f3987eeb4ad32c020898644769eb615> # Wingene
)
)
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBody besluit:bestuurt ?organization .
?timedGoverningBody a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
}

View File

@@ -0,0 +1,45 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2024-12-02T00:00:00"^^xsd:dateTime .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?organization org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002> . # OCMW
# Filter new OCMWs that will the result of a merger
FILTER (?organization NOT IN
(
# Merged OCMWs with new URIs
<http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622> , # Beveren-Kruibeke-Zwijndrecht
<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6> , # Merelbeke-Melle
<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e> , # Nazareth-De Pinte
<http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf> , # Pajottegem
# Merged OCMWs that keep URI
<http://data.lblod.info/id/bestuurseenheden/83c7a12a4a8ac8dd82895715095a866dc4794e60de61b967419bdfc1e207ad96> , # Antwerpen
<http://data.lblod.info/id/bestuurseenheden/9ae900a5447b7d727ca6496910220d4389aba7f1869923f1bbf9729bdeca28e2> , # Bilzen
<http://data.lblod.info/id/bestuurseenheden/42a43591e0db1dca9432f480f0f49f9bd4056c2b131e2fc997497130f5e099d0> , # Ham
<http://data.lblod.info/id/bestuurseenheden/026509cf3b4eeb7ad88fe57a270060574f60abd1c3524837d36700e40809d210> , # Hasselt
<http://data.lblod.info/id/bestuurseenheden/ee5d6d9da5fcf9e7bbd5c60931e37451f6bc816233c9c269565d79c2b2a37af5> , # Lochristi
<http://data.lblod.info/id/bestuurseenheden/323a24f2fe81ee0b6586ec78be36760e478092e07386b2785992ea8b61941833> , # Lokeren
<http://data.lblod.info/id/bestuurseenheden/f6ef0202c1dca780c66e269f2d21aa39a690f4c57ad05ece63f178b629bbb98e> , # Tielt
<http://data.lblod.info/id/bestuurseenheden/ab684633d605d93dbbe6b9ea40667e2bcf03a0856cafe1825e95b7829ed502a3> , # Tongeren
<http://data.lblod.info/id/bestuurseenheden/518c31a6e89f514c075e0927bce9fb2c91a552b6d65208c04a687d4bcb81148c> # Wingene
)
)
?governingBody besluit:bestuurt ?organization .
?timedGoverningBody a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
}

View File

@@ -0,0 +1,26 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2024-12-02T00:00:00"^^xsd:dateTime .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?organization org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000> . # Province
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?governingBody besluit:bestuurt ?organization .
?timedGoverningBody a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?governingBody ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
}

View File

@@ -0,0 +1,23 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
# Set the start date for governing bodies for organisations that are the result
# of a merger to 02 January 2025 which is the first working day of the year.
# Note: this migration assumes that all other `2025-01-01` starting dates have
# already been replaced by previous migrations. So order matters here!
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody mandaat:bindingStart "2025-01-02T00:00:00"^^xsd:dateTime .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody a besluit:Bestuursorgaan ;
mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime .
}
}

View File

@@ -0,0 +1,10 @@
INSERT {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?s a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>.
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?s a <http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst>.
}
}

View File

@@ -0,0 +1,16 @@
INSERT {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?s a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>;
a <http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid>.
}
}
WHERE {
VALUES ?type {
<http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst>
<http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst>
}
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?s a ?type.
}
}

View File

@@ -0,0 +1,59 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?oldVersion mandaat:bindingEinde ?newStartDate .
}
}
WHERE {
VALUES ?orgaanClass {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/180a2fba-6ca9-4766-9b94-82006bb9c709> #Gouverneur
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000c> # Provincieraad
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000d> # deputatie
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/4955bd72cd0e4eb895fdbfab08da0284> # Burgemeester
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000005> # gemeenteraad
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000006> # college
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000007> # rmw
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000008> # Vast Bureau
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/53c0d8cd-f3a2-411d-bece-4bd83ae2bbc9> # Voorzitter van het Bijzonder Comité voor de Sociale Dienst
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000009> # Bijzonder Comité voor de Sociale Dienst
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/9314533e-891f-4d84-a492-0338af104065> #districtburgemeester
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000a> # Districtsraad
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e00000b> # Districtscollege
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?bestuursorgaan besluit:bestuurt ?bestuurseenheid;
skos:prefLabel ?orgaanLabel;
<http://www.w3.org/ns/org#classification> ?orgaanClass.
# Find the bestuursorgaan version without an end date
?oldVersion a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?bestuursorgaan ;
mandaat:bindingStart ?oldStartDate .
FILTER NOT EXISTS { ?oldVersion mandaat:bindingEinde ?_ }
# Find newer bestuursorgaan version
?newVersion a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?bestuursorgaan ;
mandaat:bindingStart ?newStartDate .
FILTER (?newStartDate > ?oldStartDate)
# Ensure there's no version with an earlier or same start date than the new one
FILTER NOT EXISTS {
?otherVersion a besluit:Bestuursorgaan ;
generiek:isTijdspecialisatieVan ?bestuursorgaan ;
mandaat:bindingStart ?otherStartDate .
FILTER (?otherStartDate > ?oldStartDate && ?otherStartDate < ?newStartDate)
}
}
}

View File

@@ -0,0 +1,36 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?municipality org:linkedTo ?apb .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?apb a besluit:Bestuurseenheid;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/80310756-ce0a-4a1b-9b8e-7c01b6cc7a2d>; # APB
org:hasPrimarySite/organisatie:bestaatUit/adres:gemeentenaam ?apbMunicipalityName .
?municipality org:linkedTo ?apb .
# Filter APBs with more than 1 linked municipality, this avoids removing
# triples for APBs created by users.
{
SELECT DISTINCT ?apb
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?municipality org:linkedTo ?apb .
}
} GROUP BY ?apb HAVING (COUNT(?municipality) > 1)
}
}
# Filter municipalities that are different from the APB's primary site's
# municipality
GRAPH <http://mu.semte.ch/graphs/shared> {
?municipality a besluit:Bestuurseenheid;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>; # municipality
skos:prefLabel ?municipalityName .
}
FILTER (?apbMunicipalityName != ?municipalityName)
}

View File

@@ -0,0 +1,11 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/b52094ff-21a2-4da8-8dbe-f513365d1528> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5733254e-73ff-4844-8d43-7afb7ec726e8> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/17e76b36-64a1-4db1-8927-def3064b4bf1> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/013cc838-173a-4657-b1ae-b00c048df943> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/1afce932-53c1-46d8-8aab-90dcc331e67d> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a9e30e31-0cd2-4f4a-9352-545c5d43be83> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/0dbc70ec-6be9-4997-b8e1-11b6c0542382> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
}
}

View File

@@ -0,0 +1,38 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?orgIntijdNew ?orgIntijdNewP ?orgIntijdNewO.
?bestuursfunctie ?bestuursfunctieP ?bestuursfunctieO.
}
}
WHERE {
VALUES ?class {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> # "Adjunct-algemeen directeur"
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> # "Algemeen directeur"
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/41caf7e6-b040-4720-9cc2-a96cfffed5b4> # "Leidend Ambtenaar"
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> # "Financieel directeu"
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> # "Adjunct-financieel directeur"
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/3e9f22c1-0d35-445b-8a37-494addedf2d8> # "Financieel beheerder"
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab19107-82d2-4273-a986-3da86fda050d> # Griffier
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
<http://www.w3.org/ns/org#classification> ?class.
?orgIntijdOld generiek:isTijdspecialisatieVan ?s;
<http://data.vlaanderen.be/ns/mandaat#bindingStart> ?old.
?orgIntijdNew generiek:isTijdspecialisatieVan ?s;
<http://data.vlaanderen.be/ns/mandaat#bindingStart> ?new.
FILTER(?new > ?old)
?orgIntijdNew ?orgIntijdNewP ?orgIntijdNewO.
?orgIntijdNew <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?bestuursfunctie.
?bestuursfunctie ?bestuursfunctieP ?bestuursfunctieO.
}
}

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/temp/c97a100a-d8d4-464d-a87d-83882738fdec

View File

@@ -0,0 +1,25 @@
# First we flush triples that might lead to 'double' entries, depending on the way they were generated from the original data.
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?subject ?predicateToDelete ?objectToDelete.
}
}
WHERE {
VALUES ?predicateToDelete {
<http://data.vlaanderen.be/ns/mandaat#bindingStart>
<http://www.w3.org/2004/02/skos/core#prefLabel>
}
{
SELECT DISTINCT ?subject WHERE {
GRAPH <http://mu.semte.ch/graphs/temp/c97a100a-d8d4-464d-a87d-83882738fdec> {
?subject ?predicateToDelete ?o.
}
}
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?subject ?predicateToDelete ?objectToDelete.
}
}

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/administrative-unit

View File

@@ -0,0 +1 @@
CLEAR GRAPH <http://mu.semte.ch/graphs/temp/c97a100a-d8d4-464d-a87d-83882738fdec>

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/administrative-unit

View File

@@ -0,0 +1,27 @@
# Organen
<http://data.lblod.info/id/bestuursorganen/14b2eda7-d980-4284-ae4d-54186cd9d963> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> .
<http://data.lblod.info/id/bestuursorganen/d6a6eb27-6a1c-464f-abd3-1060175dfe4b> <http://data.vlaanderen.be/ns/mandaat#bindingStart> "2019-01-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<http://data.lblod.info/id/bestuursorganen/d6a6eb27-6a1c-464f-abd3-1060175dfe4b> <http://mu.semte.ch/vocabularies/core/uuid> "d6a6eb27-6a1c-464f-abd3-1060175dfe4b" .
<http://data.lblod.info/id/bestuursorganen/d6a6eb27-6a1c-464f-abd3-1060175dfe4b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> .
<http://data.lblod.info/id/bestuursorganen/2d983006-e602-4979-9465-9dadb09912a0> <http://mu.semte.ch/vocabularies/core/uuid> "2d983006-e602-4979-9465-9dadb09912a0" .
<http://data.lblod.info/id/bestuursorganen/42f42909-d8a8-47ef-a702-6d6902b777c3> <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> <http://data.lblod.info/id/bestuursorganen/2d983006-e602-4979-9465-9dadb09912a0> .
<http://data.lblod.info/id/bestuursorganen/42f42909-d8a8-47ef-a702-6d6902b777c3> <http://mu.semte.ch/vocabularies/core/uuid> "42f42909-d8a8-47ef-a702-6d6902b777c3" .
<http://data.lblod.info/id/bestuursorganen/14b2eda7-d980-4284-ae4d-54186cd9d963> <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/7148e12a-ae03-4a7b-bb16-7b6269b84175> .
<http://data.lblod.info/id/bestuursorganen/42f42909-d8a8-47ef-a702-6d6902b777c3> <http://data.vlaanderen.be/ns/mandaat#bindingStart> "2019-01-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<http://data.lblod.info/id/bestuursorganen/14b2eda7-d980-4284-ae4d-54186cd9d963> <http://data.vlaanderen.be/ns/besluit#bestuurt> <http://data.lblod.info/id/bestuurseenheden/9e6b6eb3-2f0b-4723-876b-178dfaecfddf> .
<http://data.lblod.info/id/bestuursorganen/d6a6eb27-6a1c-464f-abd3-1060175dfe4b> <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> <http://data.lblod.info/id/bestuursorganen/14b2eda7-d980-4284-ae4d-54186cd9d963> .
<http://data.lblod.info/id/bestuursorganen/14b2eda7-d980-4284-ae4d-54186cd9d963> <http://mu.semte.ch/vocabularies/core/uuid> "14b2eda7-d980-4284-ae4d-54186cd9d963" .
<http://data.lblod.info/id/bestuursorganen/2d983006-e602-4979-9465-9dadb09912a0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> .
<http://data.lblod.info/id/bestuursorganen/2d983006-e602-4979-9465-9dadb09912a0> <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ff20fa3e-806b-4160-b74b-7483fe3a6ecd> .
<http://data.lblod.info/id/bestuursorganen/42f42909-d8a8-47ef-a702-6d6902b777c3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> .
<http://data.lblod.info/id/bestuursorganen/2d983006-e602-4979-9465-9dadb09912a0> <http://data.vlaanderen.be/ns/besluit#bestuurt> <http://data.lblod.info/id/bestuurseenheden/9e6b6eb3-2f0b-4723-876b-178dfaecfddf> .
# Classificatie
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ff20fa3e-806b-4160-b74b-7483fe3a6ecd> <http://www.w3.org/2004/02/skos/core#prefLabel> "Collegelid" .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ff20fa3e-806b-4160-b74b-7483fe3a6ecd> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ff20fa3e-806b-4160-b74b-7483fe3a6ecd> <http://mu.semte.ch/vocabularies/core/uuid> "ff20fa3e-806b-4160-b74b-7483fe3a6ecd" .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/7148e12a-ae03-4a7b-bb16-7b6269b84175> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/7148e12a-ae03-4a7b-bb16-7b6269b84175> <http://mu.semte.ch/vocabularies/core/uuid> "7148e12a-ae03-4a7b-bb16-7b6269b84175" .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/7148e12a-ae03-4a7b-bb16-7b6269b84175> <http://www.w3.org/2004/02/skos/core#prefLabel> "College" .

View File

@@ -0,0 +1,7 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/7148e12a-ae03-4a7b-bb16-7b6269b84175> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ff20fa3e-806b-4160-b74b-7483fe3a6ecd> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/d90c511e-f827-488c-84ba-432c8f69561c> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
}
}

View File

@@ -0,0 +1,14 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/52cc9d8d-1c9a-4d92-9936-da9d4a622ec4>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode> ;
<http://www.w3.org/2004/02/skos/core#inScheme> <http://data.vlaanderen.be/id/conceptscheme/BestuurseenheidClassificatieCode> ;
<http://mu.semte.ch/vocabularies/core/uuid> "52cc9d8d-1c9a-4d92-9936-da9d4a622ec4" ;
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> ;
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://data.vlaanderen.be/id/conceptscheme/BestuurseenheidClassificatieCode> ;
<http://www.w3.org/2004/02/skos/core#prefLabel> "Agentschap Binnenlands Bestuur" ;
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://mu.semte.ch/vocabularies/ext/OrganizationClassificationCode> .
<http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/52cc9d8d-1c9a-4d92-9936-da9d4a622ec4>.
}
}

View File

@@ -0,0 +1,31 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFiX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH ?g {
?betrokkenLokaleBesturen a ere:BetrokkenLokaleBesturen ;
mu:uuid ?uuidBetrokkeLokaleBesturen ;
ere:financieringspercentage ?percentage ;
org:organization ?worshipAdminUnit ;
ere:typebetrokkenheid ?betrokkenheidsType .
?bestuurseenheid ere:betrokkenBestuur ?betrokkenLokaleBesturen .
}
}
WHERE {
VALUES ?worshipAdminUnit { <http://data.lblod.info/id/besturenVanDeEredienst/47cd23c6261e4b3e08c14c2f7c4bbc04> } #"Protestantse Kerk Opstandingskerk van Aalst"
VALUES ?bestuurseenheid { <http://data.lblod.info/id/bestuurseenheden/1f1e0b8819cb311774b62e85f5d701fcd0a50410894da331687b66b4ce3e96c5> } # Nieuwerkerken
GRAPH ?g {
?betrokkenLokaleBesturen a ere:BetrokkenLokaleBesturen ;
mu:uuid ?uuidBetrokkeLokaleBesturen ;
ere:financieringspercentage ?percentage ;
org:organization ?worshipAdminUnit ;
ere:typebetrokkenheid ?betrokkenheidsType .
?bestuurseenheid ere:betrokkenBestuur ?betrokkenLokaleBesturen .
}
}

View File

@@ -0,0 +1,155 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX schema: <http://schema.org/>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX person: <http://www.w3.org/ns/person#>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX dbpedia: <http://dbpedia.org/ontology/>
PREFIX adms: <http://www.w3.org/ns/adms#>
PREFIX euro: <http://data.europa.eu/m8g/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX persoon: <https://data.vlaanderen.be/ns/persoon#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX lblodlg: <https://data.lblod.info/vocabularies/leidinggevenden/>
PREFIX dc_terms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
DELETE {
GRAPH ?g {
?testKerkNijlen a ?type;
ere:wordtBediendDoor ?positieBedienaar;
ere:typeEredienst ?typeEredienst;
adms:identifier ?identifier;
regorg:orgStatus ?orgStatus;
regorg:legalName ?legalName;
org:hasPrimarySite ?hasPrimarySite;
org:classification ?classification;
skos:prefLabel ?prefLabel;
mu:uuid ?uuid.
?identifier ?pIdentifier ?oIdentifier.
?identifier generiek:gestructureerdeIdentificator ?gestructureerdeIdentificator.
?gestructureerdeIdentificator ?pGestructureerdeIdentificator ?oGestructureerdeIdentificator.
?positieBedienaar a ?positieBedienaarType;
mu:uuid ?positieBedienaarUUID;
ere:functie ?positieBedienaarFtie.
?representatiefOrgaan org:linkedTo ?testKerkNijlen.
?ckb org:hasSubOrganization ?testKerkNijlen.
?kerkraad besluit:bestuurt ?testKerkNijlen;
a ?kerkraadType;
org:classification ?kerkraadClassificatie;
mu:uuid ?kerkraadUUID;
skos:prefLabel ?kerkraadLabel.
?kerkraadInDeTijd
generiek:isTijdspecialisatieVan ?kerkraad;
org:hasPost ?kerkraadPost.
?kerkraadPost a ?kerkraadPostType;
mu:uuid ?kerkraadPostUUID;
org:role ?kerkraadPostRole.
?hasPrimarySite a ?siteType;
mu:uuid ?siteUUID;
organisatie:bestaatUit ?adres;
org:siteAddress ?contactPoint.
?adres a ?adresType;
mu:uuid ?adresUUID;
adres:verwijstNaar ?adresURI;
locn:fullAddress ?fullAddress;
locn:thoroughfare ?thoroughfare;
adres:Adresvoorstelling.huisnummer ?huisnummer;
locn:postCode ?postCode;
adres:gemeentenaam ?gemeentenaam;
locn:adminUnitL2 ?province;
adres:land ?country.
?adres adres:Adresvoorstelling.busnummer ?busnummer.
?contactPoint a ?contactPointType;
mu:uuid ?contactPointUUID;
schema:contactType ?contactType.
}
} WHERE {
VALUES ?testKerkNijlen { <http://data.lblod.info/id/besturenVanDeEredienst/6745DA1D80B4579ABA1BF044> }
VALUES ?g { <http://mu.semte.ch/graphs/worship-service> }
GRAPH ?g {
?testKerkNijlen a ?type;
ere:wordtBediendDoor ?positieBedienaar;
ere:typeEredienst ?typeEredienst;
adms:identifier ?identifier;
regorg:orgStatus ?orgStatus;
regorg:legalName ?legalName;
org:hasPrimarySite ?hasPrimarySite;
org:classification ?classification;
skos:prefLabel ?prefLabel;
mu:uuid ?uuid.
?identifier ?pIdentifier ?oIdentifier.
?identifier generiek:gestructureerdeIdentificator ?gestructureerdeIdentificator.
?gestructureerdeIdentificator ?pGestructureerdeIdentificator ?oGestructureerdeIdentificator.
?positieBedienaar a ?positieBedienaarType;
mu:uuid ?positieBedienaarUUID;
ere:functie ?positieBedienaarFtie.
?representatiefOrgaan org:linkedTo ?testKerkNijlen.
?ckb org:hasSubOrganization ?testKerkNijlen.
?kerkraad besluit:bestuurt ?testKerkNijlen;
a ?kerkraadType;
org:classification ?kerkraadClassificatie;
mu:uuid ?kerkraadUUID;
skos:prefLabel ?kerkraadLabel.
?kerkraadInDeTijd
generiek:isTijdspecialisatieVan ?kerkraad;
org:hasPost ?kerkraadPost.
?kerkraadPost a ?kerkraadPostType;
mu:uuid ?kerkraadPostUUID;
org:role ?kerkraadPostRole.
?hasPrimarySite a ?siteType;
mu:uuid ?siteUUID;
organisatie:bestaatUit ?adres;
org:siteAddress ?contactPoint.
?adres a ?adresType;
mu:uuid ?adresUUID;
adres:verwijstNaar ?adresURI;
locn:fullAddress ?fullAddress;
locn:thoroughfare ?thoroughfare;
adres:Adresvoorstelling.huisnummer ?huisnummer;
locn:postCode ?postCode;
adres:gemeentenaam ?gemeentenaam;
locn:adminUnitL2 ?province;
adres:land ?country.
OPTIONAL {
?adres adres:Adresvoorstelling.busnummer ?busnummer.
}
?contactPoint a ?contactPointType;
mu:uuid ?contactPointUUID;
schema:contactType ?contactType.
}
}

View File

@@ -0,0 +1,73 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedBody mandaat:bindingEinde "2025-01-02"^^xsd:dateTime
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?body besluit:bestuurt ?org.
?timedBody generiek:isTijdspecialisatieVan ?body;
mandaat:bindingStart ?startDate.
FILTER (YEAR(?startDate) = 2019)
FILTER NOT EXISTS {?timedBody mandaat:bindingEinde ?endDate}
}
# These are the municipalities and OCMWs that will become inactive after the
# merger. For the organisations that are already active, such as Antwerp and
# Bilzen, an end date was already set previously.
VALUES ?org {
<http://data.lblod.info/id/bestuurseenheden/7125fcbfb7a08f8c01efbed115cea602db249c04afe9b5a2cc298cc7949cd040> # Borsbeek (OCMW)
<http://data.lblod.info/id/bestuurseenheden/e41ffa04f94bb450a79793020e70d55b5fee5033a5280277998608a9d0913117> # Borsbeek (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/72bc672ceb6894d8dd31dc2dff2faad2fd93f4b9f5347d556d092516eaa30aa3> # Beveren (OCMW)
<http://data.lblod.info/id/bestuurseenheden/4f0eb4436c88cf831c35f84e7c34ce32f9ee4e99c5139aff62990e5e531aa1e7> # Beveren (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/d3c76fd84794dad5e12c9eed6d6332dc5e5c99daf0e4ddd7ceebf13d5d6c0ccd> # Kruibeke (OCMW)
<http://data.lblod.info/id/bestuurseenheden/6af55cecaea3621f53bb32417a36ed6e3d41b2aa5b9f6d62ab3d80cc8ec11539> # Kruibeke (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/bbc23313f4c8585a0c51f15f920d77123356535cd1cad9af38f5707892c7088d> # Zwijndrecht (OCMW)
<http://data.lblod.info/id/bestuurseenheden/c362abc58ac4579ff417824ce620962ac57bc344b34fe8f51d21b35ef54da36d> # Zwijndrecht (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/785e8d5516378c7382ad0e7e356d2301496d810c6cd46d72ccebb455d3ac525e> # Hoeselt (OCMW)
<http://data.lblod.info/id/bestuurseenheden/a3bd0845853278f478f90b14436d3efa99e73249a84d462f0ddc2e5b6e37a156> # Hoeselt (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/3834647b5e95ea20f5ffe5a12a09fbd3d7fdf0d187fab385cb7b841422176ad6> # Borgloon (OCMW)
<http://data.lblod.info/id/bestuurseenheden/05441122597e0b20b61a8968ea1247c07f9014aad1f1f0709d0b1234e3dfbc2f> # Borgloon (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/0a2d980559eb9f3e0820386541274a72692f495204cd6d951ea1907ecc65829b> # Nazareth (OCMW)
<http://data.lblod.info/id/bestuurseenheden/0327a51548f73607f8a5ec11b36711a3c96703686ad93a3d632718c135c295db> # Nazareth (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/144c75e403c5084af57f5c0c86252b8759b56baf9694326abbcb5ea40ab69f1a> # De Pinte (OCMW)
<http://data.lblod.info/id/bestuurseenheden/e39bc997aa6dd9f240277735efd745b6a0422614d2b36cf01825c86b1b91a9ee> # De Pinte (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/ba8a253d98ea7d2ab1afc43e5e2cd145a12ccd86b68e71d023e3c13a83d7498f> # Galmaarden (OCMW)
<http://data.lblod.info/id/bestuurseenheden/00eb231f51bd6b4f5dcc6536b2d09a174ea8583f5bf28b10bc4fc769a07e511d> # Galmaarden (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/76c45d60f05bf8afc8c71859342b69cac6a57ee2b320b900a60afd6ba9b8eb9d> # Gooik (OCMW)
<http://data.lblod.info/id/bestuurseenheden/c69192b973a3ca11531b9657b3ee20aa6688fa33ea1ef1392310fec751980ab2> # Gooik (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/5d21ccef2f5aa3ccbf3a74c6f25ebe9f0b1ef5a97b87f3d79c86ae9d6d857df8> # Herne (OCMW)
<http://data.lblod.info/id/bestuurseenheden/3eb8c9fae32d02359dcd7b22e2a74e67a5b48388df31ad819c27c688fedd10b0> # Herne (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/fb1be873c4b31e391613dfae8e68edd694b1fdf126eeecb502b1e5cad6f2f682> # Tessenderlo (OCMW)
<http://data.lblod.info/id/bestuurseenheden/af8969752f6b28c66b6bc402d7987fa38774901ac72b95c5cb7976570487c3c9> # Tessenderlo (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/3e077115eeb70b649d44e2ebbb218f2cfcac5d84e130c88584f0ec23f7cebbf9> # Kortessem (OCMW)
<http://data.lblod.info/id/bestuurseenheden/f6b131de5e40a0dfd4fc93fedf3b95c9bf156ece718b87fe00469dea2564b3fb> # Kortessem (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/7c6b38fa6fc65879cb674a654617de171adfcfacba086fb918da3749dbaa43b5> # Wachtebeke (OCMW)
<http://data.lblod.info/id/bestuurseenheden/1313d4a58f9ecf52cc7e274e3549a759b35e731973cc9f5e07562e5650f594dd> # Wachtebeke (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/04895013fe6301f32aa46deae98abfb833a717ece5a33b6c453674c6d0f4cc5e> # Melle (OCMW)
<http://data.lblod.info/id/bestuurseenheden/c0b6b5cf198cd939251dff8ed052177cfff245074c6b8d43394c8c97f7b6e945> # Melle (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/f56f068943a99059f5bfc3b905fe8848a25a47cfa30fb3ed3d294b47815b2255> # Merelbeke (OCMW)
<http://data.lblod.info/id/bestuurseenheden/8ef1e4a43efd913e6b09b0ddea344b7b5d723a344ad559389a55ae1ff0bebc8f> # Merelbeke (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/3f57a17fbcdfc13def910c54948bec11d71d3f75946b0336fffc0587bf18d783> # Meulebeke (OCMW)
<http://data.lblod.info/id/bestuurseenheden/5a4b2b4f1de1f3b91b0348a7eb6d6aa0ef9420b8ec31374970c9ffe933a79515> # Meulebeke (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/f2a9a2392d5e4c0f992a84a0871d048a7b91b14681e9980a63aa6ba4b1f7eb8c> # Moerbeke (OCMW)
<http://data.lblod.info/id/bestuurseenheden/c5dbb08e35e2d090a05d119fef4cc161b5ee1f322698cb8ea3c8c6643a521cf2> # Moerbeke (Gemeente)
<http://data.lblod.info/id/bestuurseenheden/60daf27c2cf12dd123447aa300dd7320890391dbd8dd6b4dd7ec02258f8281b3> # Ruiselede (OCMW)
<http://data.lblod.info/id/bestuurseenheden/2564e21e3650f91625189ccb7eb055e47754a0633c54c7582a899171fef60c52> # Ruiselede (Gemeente)
}
}

View File

@@ -0,0 +1,178 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
# This migration add merger change events for municipalities and OCMWs for which
# the resulting active organisation is a new, different resource.
## Mergers involving two original organisations
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
org:resultingOrganization ?resultingOrg;
dct:date "2025-01-01"^^xsd:dateTime;
dct:description ?description;
org:originalOrganization ?firstOrgToMerge;
org:originalOrganization ?secondOrgToMerge;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventFirstNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventSecondNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventActiveResult;
ch:typeWijziging <http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1>. # Merger
?changeEventFirstNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventFirstNotActiveResult;
ext:resultingOrganization ?firstOrgToMerge;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventSecondNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventSecondNotActiveResult;
ext:resultingOrganization ?secondOrgToMerge;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventActiveResult;
ext:resultingOrganization ?resultingOrg;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>. # active
}
} WHERE {
VALUES (?firstOrgToMerge ?secondOrgToMerge ?resultingOrg) {
# Nazareth (municipality) + De Pinte (municipality) = Nazareth-De Pinte (municipality)
(<http://data.lblod.info/id/bestuurseenheden/0327a51548f73607f8a5ec11b36711a3c96703686ad93a3d632718c135c295db>
<http://data.lblod.info/id/bestuurseenheden/e39bc997aa6dd9f240277735efd745b6a0422614d2b36cf01825c86b1b91a9ee>
<http://data.lblod.info/id/bestuurseenheden/1ca65d65-54ff-4b44-b750-bd70c91191af>)
# Nazareth (OCMW) + De Pinte (OCMW) = Nazareth-De Pinte (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/0a2d980559eb9f3e0820386541274a72692f495204cd6d951ea1907ecc65829b>
<http://data.lblod.info/id/bestuurseenheden/144c75e403c5084af57f5c0c86252b8759b56baf9694326abbcb5ea40ab69f1a>
<http://data.lblod.info/id/bestuurseenheden/7d53f659-3a3b-44b1-9e77-3ea067678c0e>)
# Melle (municipality) + Merelbeke (municipality) = Merelbeke-Melle (municipality)
(<http://data.lblod.info/id/bestuurseenheden/c0b6b5cf198cd939251dff8ed052177cfff245074c6b8d43394c8c97f7b6e945>
<http://data.lblod.info/id/bestuurseenheden/8ef1e4a43efd913e6b09b0ddea344b7b5d723a344ad559389a55ae1ff0bebc8f>
<http://data.lblod.info/id/bestuurseenheden/b8bb293d-aa22-4b43-bda4-0b6af76e9493>)
# Melle (OCMW) + Merelbeke (OCMW) = Merelbeke-Melle (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/04895013fe6301f32aa46deae98abfb833a717ece5a33b6c453674c6d0f4cc5e>
<http://data.lblod.info/id/bestuurseenheden/f56f068943a99059f5bfc3b905fe8848a25a47cfa30fb3ed3d294b47815b2255>
<http://data.lblod.info/id/bestuurseenheden/5d94b2fd-60ee-4e56-a1f0-a586d596adf6>)
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/shared>
}
GRAPH ?g {
?firstOrgToMerge skos:prefLabel ?labelFirstOrg.
?secondOrgToMerge skos:prefLabel ?labelSecondOrg.
?resultingOrg skos:prefLabel ?labelResultingOrg;
org:classification ?classification.
}
GRAPH <http://mu.semte.ch/graphs/public> {
?classification skos:prefLabel ?classificationResultingOrg.
}
BIND(CONCAT("Fusie tussen ", ?labelFirstOrg," en ", ?labelSecondOrg, " resulteert in ", ?classificationResultingOrg, " ", ?labelResultingOrg) as ?description)
BIND(SHA256(CONCAT(STR(?firstOrgToMerge), STR(?secondOrgToMerge), STR(?resultingOrg),"fusieChangeEvent")) AS ?uuidChangeEvent)
BIND(IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent)
BIND(SHA256(CONCAT(STR(?firstOrgToMerge),"fusieChangeEventFirstNotActiveResult")) AS ?uuidChangeEventFirstNotActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventFirstNotActiveResult))) AS ?changeEventFirstNotActiveResult)
BIND(SHA256(CONCAT(STR(?secondOrgToMerge),"fusieChangeEventSecondNotActiveResult")) AS ?uuidChangeEventSecondNotActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventSecondNotActiveResult))) AS ?changeEventSecondNotActiveResult)
BIND(SHA256(CONCAT(STR(?firstOrgToMerge), STR(?secondOrgToMerge), STR(?resultingOrg),"fusieChangeEventActiveResult")) AS ?uuidChangeEventActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventActiveResult))) AS ?changeEventActiveResult)
}
;
## Mergers involving three original organisations
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
org:resultingOrganization ?resultingOrg;
dct:date "2025-01-01"^^xsd:dateTime;
dct:description ?description;
org:originalOrganization ?firstOrgToMerge;
org:originalOrganization ?secondOrgToMerge;
org:originalOrganization ?thirdOrgToMerge;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventFirstNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventSecondNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventThirdNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventActiveResult;
ch:typeWijziging <http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1>. # Merger
?changeEventFirstNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventFirstNotActiveResult;
ext:resultingOrganization ?firstOrgToMerge;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventSecondNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventSecondNotActiveResult;
ext:resultingOrganization ?secondOrgToMerge;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventThirdNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventThirdNotActiveResult;
ext:resultingOrganization ?thirdOrgToMerge;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventActiveResult;
ext:resultingOrganization ?resultingOrg;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>. # active
}
} WHERE {
VALUES (?firstOrgToMerge ?secondOrgToMerge ?thirdOrgToMerge ?resultingOrg) {
# Beveren (municipality) + Kruibeke (municipality) + Zwijndrecht (municipality) = Beveren-Kruibeke-Zwijndrecht (municipality)
(<http://data.lblod.info/id/bestuurseenheden/4f0eb4436c88cf831c35f84e7c34ce32f9ee4e99c5139aff62990e5e531aa1e7> <http://data.lblod.info/id/bestuurseenheden/6af55cecaea3621f53bb32417a36ed6e3d41b2aa5b9f6d62ab3d80cc8ec11539> <http://data.lblod.info/id/bestuurseenheden/c362abc58ac4579ff417824ce620962ac57bc344b34fe8f51d21b35ef54da36d> <http://data.lblod.info/id/bestuurseenheden/19483103-318e-435a-aa37-45e485406ee9>)
# Beveren (OCMW) + Kruibeke (OCMW) + Zwijndrecht (OCMW) = Beveren-Kruibeke-Zwijndrecht (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/72bc672ceb6894d8dd31dc2dff2faad2fd93f4b9f5347d556d092516eaa30aa3> <http://data.lblod.info/id/bestuurseenheden/d3c76fd84794dad5e12c9eed6d6332dc5e5c99daf0e4ddd7ceebf13d5d6c0ccd> <http://data.lblod.info/id/bestuurseenheden/bbc23313f4c8585a0c51f15f920d77123356535cd1cad9af38f5707892c7088d> <http://data.lblod.info/id/bestuurseenheden/fd41f573-7d9a-4d9f-b7d0-d5b6114d1622>)
# Galmaarden (municipality) + Gooik (municipality) + Herne (municipality) = Pajottegem (municipality)
(<http://data.lblod.info/id/bestuurseenheden/00eb231f51bd6b4f5dcc6536b2d09a174ea8583f5bf28b10bc4fc769a07e511d> <http://data.lblod.info/id/bestuurseenheden/c69192b973a3ca11531b9657b3ee20aa6688fa33ea1ef1392310fec751980ab2> <http://data.lblod.info/id/bestuurseenheden/3eb8c9fae32d02359dcd7b22e2a74e67a5b48388df31ad819c27c688fedd10b0> <http://data.lblod.info/id/bestuurseenheden/add1e4eb-9ec7-4ea6-af82-335aa76b7d48>)
# Galmaarden (OCMW) + Gooik (OCMW) + Herne (OCMW) = Pajottegem (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/ba8a253d98ea7d2ab1afc43e5e2cd145a12ccd86b68e71d023e3c13a83d7498f> <http://data.lblod.info/id/bestuurseenheden/76c45d60f05bf8afc8c71859342b69cac6a57ee2b320b900a60afd6ba9b8eb9d> <http://data.lblod.info/id/bestuurseenheden/5d21ccef2f5aa3ccbf3a74c6f25ebe9f0b1ef5a97b87f3d79c86ae9d6d857df8> <http://data.lblod.info/id/bestuurseenheden/650378e7-1bee-4737-91ff-5b20ac4623cf>)
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/shared>
}
GRAPH ?g {
?firstOrgToMerge skos:prefLabel ?labelFirstOrg.
?secondOrgToMerge skos:prefLabel ?labelSecondOrg.
?thirdOrgToMerge skos:prefLabel ?labelThirdOrg.
?resultingOrg skos:prefLabel ?labelResultingOrg;
org:classification ?classification.
}
GRAPH <http://mu.semte.ch/graphs/public> {
?classification skos:prefLabel ?classificationResultingOrg.
}
BIND(CONCAT("Fusie tussen ", ?labelFirstOrg, ", ", ?labelSecondOrg," en ", ?labelThirdOrg, " resulteert in ", ?classificationResultingOrg, " ", ?labelResultingOrg) as ?description)
BIND(SHA256(CONCAT(STR(?firstOrgToMerge), STR(?secondOrgToMerge), STR(?thirdOrgToMerge), STR(?resultingOrg),"fusieChangeEvent")) AS ?uuidChangeEvent)
BIND(IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent)
BIND(SHA256(CONCAT(STR(?firstOrgToMerge),"fusieChangeEventFirstNotActiveResult")) AS ?uuidChangeEventFirstNotActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventFirstNotActiveResult))) AS ?changeEventFirstNotActiveResult)
BIND(SHA256(CONCAT(STR(?secondOrgToMerge),"fusieChangeEventSecondNotActiveResult")) AS ?uuidChangeEventSecondNotActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventSecondNotActiveResult))) AS ?changeEventSecondNotActiveResult)
BIND(SHA256(CONCAT(STR(?thirdOrgToMerge),"fusieChangeEventThirdNotActiveResult")) AS ?uuidChangeEventThirdNotActiveResult) .
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventThirdNotActiveResult))) AS ?changeEventThirdNotActiveResult)
BIND(SHA256(CONCAT(STR(?resultingOrg),"fusieChangeEventActiveResult")) AS ?uuidChangeEventActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventActiveResult))) AS ?changeEventActiveResult)
}

View File

@@ -0,0 +1,118 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
# This migration adds merger change events for municipalities and OCMWs for
# which the resulting active organisation is one of the original organisations.
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
org:resultingOrganization ?resultingOrg;
dct:date "2025-01-01"^^xsd:dateTime;
dct:description ?description;
org:originalOrganization ?resultingOrg;
org:originalOrganization ?notActiveOrganisation;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventActiveResult;
ch:typeWijziging <http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1>. # Merger
?changeEventNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventNotActiveResult;
ext:resultingOrganization ?notActiveOrganisation;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventActiveResult;
ext:resultingOrganization ?resultingOrg;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>. # Active
}
} WHERE {
VALUES (?notActiveOrganisation ?resultingOrg) {
# Hoeselt (municipality) + Bilzen (municipality) = Bilzen (municipality)
(<http://data.lblod.info/id/bestuurseenheden/a3bd0845853278f478f90b14436d3efa99e73249a84d462f0ddc2e5b6e37a156>
<http://data.lblod.info/id/bestuurseenheden/99da98a7a0087d3429b084ebfc4eb5d488c593790d4d5af7253982a2e21a6a5f>)
# Hoeselt (OCMW) + Bilzen (OCMW) = Bilzen (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/785e8d5516378c7382ad0e7e356d2301496d810c6cd46d72ccebb455d3ac525e>
<http://data.lblod.info/id/bestuurseenheden/9ae900a5447b7d727ca6496910220d4389aba7f1869923f1bbf9729bdeca28e2>)
# Borgloon (municipality) + Tongeren (municipality) = Tongeren (municipality)
(<http://data.lblod.info/id/bestuurseenheden/05441122597e0b20b61a8968ea1247c07f9014aad1f1f0709d0b1234e3dfbc2f>
<http://data.lblod.info/id/bestuurseenheden/104f32d7fb8d4b8b61b71717301656f136fe046eabaf126fb3325896b5c2d625>)
# Borgloon (OCMW) + Tongeren (OCMW) = Tongeren (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/3834647b5e95ea20f5ffe5a12a09fbd3d7fdf0d187fab385cb7b841422176ad6>
<http://data.lblod.info/id/bestuurseenheden/ab684633d605d93dbbe6b9ea40667e2bcf03a0856cafe1825e95b7829ed502a3>)
# Tessenderlo (municipality) + Ham (municipality) = Ham (municipality)
(<http://data.lblod.info/id/bestuurseenheden/af8969752f6b28c66b6bc402d7987fa38774901ac72b95c5cb7976570487c3c9>
<http://data.lblod.info/id/bestuurseenheden/05099fa1f6524b8b994d86f61549455d2c00b2a956d5308683ac2d1f810fc729>)
# Tessenderlo (OCMW) + Ham (OCMW) = Ham (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/fb1be873c4b31e391613dfae8e68edd694b1fdf126eeecb502b1e5cad6f2f682>
<http://data.lblod.info/id/bestuurseenheden/42a43591e0db1dca9432f480f0f49f9bd4056c2b131e2fc997497130f5e099d0>)
# Kortessem (municipality) + Hasselt (municipality) = Hasselt (municipality)
(<http://data.lblod.info/id/bestuurseenheden/f6b131de5e40a0dfd4fc93fedf3b95c9bf156ece718b87fe00469dea2564b3fb>
<http://data.lblod.info/id/bestuurseenheden/9db1b46874a57fe63c08fb5f16b117e6f61fdd98e7f64f745d0fceb9d3731169>)
# Kortessem (OCMW) + Hasselt (OCMW) = Hasselt (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/3e077115eeb70b649d44e2ebbb218f2cfcac5d84e130c88584f0ec23f7cebbf9>
<http://data.lblod.info/id/bestuurseenheden/026509cf3b4eeb7ad88fe57a270060574f60abd1c3524837d36700e40809d210>)
# Wachtebeke (municipality) + Lochristi (municipality) = Lochristi (municipality)
(<http://data.lblod.info/id/bestuurseenheden/1313d4a58f9ecf52cc7e274e3549a759b35e731973cc9f5e07562e5650f594dd>
<http://data.lblod.info/id/bestuurseenheden/2ac1bb2a7d7bbd98e2e7a24be2c67e42171788a71c2436a33060626593bb2f78>)
# Wachtebeke (OCMW) + Lochristi (OCMW) = Lochristi (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/7c6b38fa6fc65879cb674a654617de171adfcfacba086fb918da3749dbaa43b5>
<http://data.lblod.info/id/bestuurseenheden/ee5d6d9da5fcf9e7bbd5c60931e37451f6bc816233c9c269565d79c2b2a37af5>)
# Moerbeke (municipality) + Lokeren (municipality) = Lokeren (municipality)
(<http://data.lblod.info/id/bestuurseenheden/c5dbb08e35e2d090a05d119fef4cc161b5ee1f322698cb8ea3c8c6643a521cf2>
<http://data.lblod.info/id/bestuurseenheden/cb2a6e0a490ee881ddd0d9ded7f2b3d1dc2df7e57a19d014caac054bfa355f5a>)
# Moerbeke (OCMW) + Lokeren (OCMW) = Lokeren (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/f2a9a2392d5e4c0f992a84a0871d048a7b91b14681e9980a63aa6ba4b1f7eb8c>
<http://data.lblod.info/id/bestuurseenheden/323a24f2fe81ee0b6586ec78be36760e478092e07386b2785992ea8b61941833>)
# Meulebeke (municipality) + Tielt (municipality) = Tielt (municipality)
(<http://data.lblod.info/id/bestuurseenheden/5a4b2b4f1de1f3b91b0348a7eb6d6aa0ef9420b8ec31374970c9ffe933a79515>
<http://data.lblod.info/id/bestuurseenheden/b36da606fba6dd4dc99ae1ef5f4a52bba3268d33f4bc2cd1e65b87f01f35101a>)
# Meulebeke (OCMW) + Tielt (OCMW) = Tielt (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/3f57a17fbcdfc13def910c54948bec11d71d3f75946b0336fffc0587bf18d783>
<http://data.lblod.info/id/bestuurseenheden/f6ef0202c1dca780c66e269f2d21aa39a690f4c57ad05ece63f178b629bbb98e>)
# Ruiselede (municipality) + Wingene (municipality) = Wingene (municipality)
(<http://data.lblod.info/id/bestuurseenheden/2564e21e3650f91625189ccb7eb055e47754a0633c54c7582a899171fef60c52>
<http://data.lblod.info/id/bestuurseenheden/99ed6eee81a7aca47517cbffb46eaba38f3987eeb4ad32c020898644769eb615>)
# Ruiselede (OCMW) + Wingene (OCMW) = Wingene (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/60daf27c2cf12dd123447aa300dd7320890391dbd8dd6b4dd7ec02258f8281b3>
<http://data.lblod.info/id/bestuurseenheden/518c31a6e89f514c075e0927bce9fb2c91a552b6d65208c04a687d4bcb81148c>)
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/shared>
}
GRAPH ?g {
?notActiveOrganisation skos:prefLabel ?labelNotActiveOrganisation.
?resultingOrg skos:prefLabel ?labelResultingOrg;
org:classification ?classification.
}
GRAPH <http://mu.semte.ch/graphs/public> {
?classification skos:prefLabel ?classificationResultingOrg.
}
BIND(CONCAT("Fusie tussen ", ?labelResultingOrg," en ", ?labelNotActiveOrganisation, " resulteert in ", ?classificationResultingOrg, " ", ?labelResultingOrg) as ?description)
BIND(SHA256(CONCAT(STR(?notActiveOrganisation), STR(?resultingOrg),"fusieChangeEvent")) AS ?uuidChangeEvent)
BIND(IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent)
BIND(SHA256(CONCAT(STR(?notActiveOrganisation),"fusieChangeEventNotActiveResult")) AS ?uuidChangeEventNotActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventNotActiveResult))) AS ?changeEventNotActiveResult)
BIND(SHA256(CONCAT(STR(?notActiveOrganisation), STR(?resultingOrg),"fusieChangeEventActiveResult")) AS ?uuidChangeEventActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventActiveResult))) AS ?changeEventActiveResult)
}

View File

@@ -0,0 +1,137 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
# Add merger change event for Borsbeek (municipality) + Antwerpen (municipality) = Borsbeek (district) + Antwerpen (municipality)
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
ch:typeWijziging <http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1>; # Merger
dct:date "2025-01-01"^^xsd:dateTime;
dct:description ?description;
org:originalOrganization ?borsbeekMunicipality;
org:originalOrganization ?antwerpMunicipality;
org:resultingOrganization ?borsbeekDistrict;
org:resultingOrganization ?antwerpMunicipality;
lblodOrg:veranderingsgebeurtenisResultaat ?borsbeekMunicipalityResult;
lblodOrg:veranderingsgebeurtenisResultaat ?borsbeekDistrictResult;
lblodOrg:veranderingsgebeurtenisResultaat ?antwerpMunicipalityResult.
?borsbeekMunicipalityResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidBorsbeekMunicipalityResult;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; # not active
ext:resultingOrganization ?borsbeekMunicipality.
?borsbeekDistrictResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidBorsbeekDistrictResult;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; # Active
ext:resultingOrganization ?borsbeekDistrict.
?antwerpMunicipalityResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidAntwerpMunicipalityResult;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; # Active
ext:resultingOrganization ?antwerpMunicipality.
}
} WHERE {
VALUES (?borsbeekMunicipality ?antwerpMunicipality ?borsbeekDistrict) {
(<http://data.lblod.info/id/bestuurseenheden/e41ffa04f94bb450a79793020e70d55b5fee5033a5280277998608a9d0913117> # Borsbeek (municipality)
<http://data.lblod.info/id/bestuurseenheden/670db1d66c0de3b931962e1044033ccfa9d6e3023aa9828a5f252c3bc69bd32c> # Antwerpen (municipality)
<http://data.lblod.info/id/bestuurseenheden/4b44e6f1-113b-4692-b149-44a889b215f2>) # Borsbeek (district)
}
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/shared>
}
GRAPH ?g {
?antwerpMunicipality skos:prefLabel ?antwerpMunicipalityLabel;
org:classification ?antwerpClassification.
?borsbeekMunicipality skos:prefLabel ?borsbeekMunicipalityLabel.
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?borsbeekDistrict skos:prefLabel ?borsbeekDistrictLabel;
org:classification ?borsbeekDistrictClassification.
}
GRAPH <http://mu.semte.ch/graphs/public> {
?antwerpClassification skos:prefLabel ?antwerpClassificationLabel.
?borsbeekDistrictClassification skos:prefLabel ?borsbeekDistrictClassificationLabel.
}
BIND(CONCAT("Fusie tussen ", ?borsbeekMunicipalityLabel," en ", ?antwerpMunicipalityLabel, " resulteert in ", ?borsbeekDistrictClassificationLabel, " ", ?borsbeekDistrictLabel, " en ", ?antwerpClassificationLabel, " ", ?antwerpMunicipalityLabel) as ?description)
BIND(SHA256(CONCAT(STR(?borsbeekMunicipality), STR(?antwerpMunicipality), STR(?borsbeekDistrict),"fusieChangeEvent")) AS ?uuidChangeEvent)
BIND(IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent)
BIND(SHA256(CONCAT(STR(?borsbeekMunicipality),"mergerBorsbeekMunicipalityChangeEventResult")) AS ?uuidBorsbeekMunicipalityResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidBorsbeekMunicipalityResult))) AS ?borsbeekMunicipalityResult)
BIND(SHA256(CONCAT(STR(?borsbeekDistrict),"mergerBorsbeekDistrictChangeEventResult")) AS ?uuidBorsbeekDistrictResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidBorsbeekDistrictResult))) AS ?borsbeekDistrictResult)
BIND(SHA256(CONCAT(STR(?antwerpMunicipality),"mergerAntwerpMunicipalityChangeEventResult")) AS ?uuidAntwerpMunicipalityResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidAntwerpMunicipalityResult))) AS ?antwerpMunicipalityResult)
}
;
# Add merger change event for Borsbeek (OCMW) + Antwerp (OCMW) = Antwerp (OCMW)
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
org:resultingOrganization ?resultingOrg;
dct:date "2025-01-01"^^xsd:dateTime;
dct:description ?description;
org:originalOrganization ?resultingOrg;
org:originalOrganization ?notActiveOrganisation;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventNotActiveResult;
lblodOrg:veranderingsgebeurtenisResultaat ?changeEventActiveResult;
ch:typeWijziging <http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1>. # Merger
?changeEventNotActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventNotActiveResult;
ext:resultingOrganization ?notActiveOrganisation;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>. # not active
?changeEventActiveResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidChangeEventActiveResult;
ext:resultingOrganization ?resultingOrg;
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>. # Active
}
} WHERE {
VALUES (?notActiveOrganisation ?resultingOrg) {
# Borsbeek (OCMW) + Antwerp (OCMW) = Antwerp (OCMW)
(<http://data.lblod.info/id/bestuurseenheden/7125fcbfb7a08f8c01efbed115cea602db249c04afe9b5a2cc298cc7949cd040>
<http://data.lblod.info/id/bestuurseenheden/83c7a12a4a8ac8dd82895715095a866dc4794e60de61b967419bdfc1e207ad96>)
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?notActiveOrganisation skos:prefLabel ?labelNotActiveOrganisation.
?resultingOrg skos:prefLabel ?labelResultingOrg;
org:classification ?classification.
}
GRAPH <http://mu.semte.ch/graphs/public> {
?classification skos:prefLabel ?classificationResultingOrg.
}
BIND(CONCAT("Fusie tussen ", ?labelResultingOrg," en ", ?labelNotActiveOrganisation, " resulteert in ", ?classificationResultingOrg, " ", ?labelResultingOrg) as ?description)
BIND(SHA256(CONCAT(STR(?notActiveOrganisation), STR(?resultingOrg),"fusieChangeEvent")) AS ?uuidChangeEvent)
BIND(IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent)
BIND(SHA256(CONCAT(STR(?notActiveOrganisation),"fusieChangeEventNotActiveResult")) AS ?uuidChangeEventNotActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventNotActiveResult))) AS ?changeEventNotActiveResult)
BIND(SHA256(CONCAT(STR(?notActiveOrganisation), STR(?resultingOrg),"fusieChangeEventActiveResult")) AS ?uuidChangeEventActiveResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidChangeEventActiveResult))) AS ?changeEventActiveResult)
}

View File

@@ -0,0 +1,32 @@
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?structuredId <https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> ?kbo
}
}
WHERE {
VALUES (?eenheid ?kbo) {
(<http://data.lblod.info/id/bestuurseenheden/33a1886b07b64ebe3a0e6c5ed8086f030ef1109492cb254832a716dd7e1b8d7b> "2166001684")
(<http://data.lblod.info/id/bestuurseenheden/43e3009526dac139a0abdcf75c1ddc5fa3fe9217391d6f64f7b7a30a99a4cda6> "2165926559")
(<http://data.lblod.info/id/bestuurseenheden/5be3ff820769b385a32e499d17bbf1f15feeacb65381d5384841732dd4a1209b> "2165924084")
(<http://data.lblod.info/id/bestuurseenheden/73e8904d83f7324e39abc0adf639b0e48bc52533c4c243b6419cac8fb70784cf> "2165906862")
(<http://data.lblod.info/id/bestuurseenheden/859f08dcfbc8f68bac0879e7baf6463b260b6f4c16b734d0d1986f5f3af0407b> "2165940120")
(<http://data.lblod.info/id/bestuurseenheden/a2ee394059cce91526392e73e4de974d90caffb92f70cde23b9e9e1a965526fa> "2165926262")
(<http://data.lblod.info/id/bestuurseenheden/e7a75861661ee14ebe2bca0c79bda8b23f2f943d00a9693d2bff401a8f8dea65> "2165997726")
(<http://data.lblod.info/id/bestuurseenheden/f1ad80291fbdc1f0b9b25d729ecc608a8e28fdddab01a1b8e135c841c75586e2> "2165996340")
(<http://data.lblod.info/id/bestuurseenheden/fb56bc40ce36390d2f12fc2057c89d4b6bc5b3217eabd41995b6401318ff648a> "2165911218")
(<http://data.lblod.info/id/bestuurseenheden/4b44e6f1-113b-4692-b149-44a889b215f2> "2165162239")
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?eenheid a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>;
<http://www.w3.org/ns/adms#identifier> ?identifier;
<http://www.w3.org/2004/02/skos/core#prefLabel> ?label.
?identifier <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer";
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredId .
FILTER NOT EXISTS {
?structuredId <https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> ?foo
}
}
}

View File

@@ -0,0 +1,20 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s <http://www.w3.org/2004/02/skos/core#notation> ?notation.
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s <http://www.w3.org/2004/02/skos/core#notation> ?plainNotation.
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s a <http://www.w3.org/ns/adms#Identifier>;
<http://www.w3.org/2004/02/skos/core#notation> ?notation.
}
BIND(LANG(?notation) as ?lang)
BIND(STR(?notation) as ?plainNotation)
FILTER(?lang != "")
}

View File

@@ -0,0 +1,24 @@
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ?gebied.
}
}
WHERE {
?s a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid> ;
<http://www.w3.org/ns/org#classification>
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002>; # ocmw
skos:prefLabel ?label.
FILTER NOT EXISTS {
?s <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ?ocmwGebied.
}
?gemeente <http://www.w3.org/ns/org#linkedTo> ?s.
?gemeente <http://www.w3.org/ns/org#classification>
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>.
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?gemeente <http://data.vlaanderen.be/ns/besluit#werkingsgebied> ?gebied.
}
}

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/public

View File

@@ -0,0 +1,12 @@
INSERT {
GRAPH ?g {
?nisCode <http://mu.semte.ch/vocabularies/core/uuid> ?uuid .
}
} WHERE {
GRAPH ?g {
?nisCode a skos:Concept ;
skos:inScheme <http://vocab.belgif.be/auth/refnis2025> .
BIND(SHA256(CONCAT("NIS codes 2025", STR(?nisCode))) AS ?uuid) .
}
}

View File

@@ -0,0 +1,18 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?werkingsgebied <http://www.w3.org/2004/02/skos/core#exactMatch> ?nis2019 .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?werkingsgebied <http://www.w3.org/2004/02/skos/core#exactMatch> ?nis2025 .
}
} WHERE {
?werkingsgebied a <http://www.w3.org/ns/prov#Location> ;
<http://www.w3.org/2004/02/skos/core#exactMatch> ?nis2019 .
?nis2019 skos:inScheme <http://vocab.belgif.be/auth/refnis2019> .
?nis2025 a skos:Concept ;
skos:inScheme <http://vocab.belgif.be/auth/refnis2025> ;
skos:exactMatch ?nis2019 .
}

View File

@@ -0,0 +1,30 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?werkingsgebied <http://www.w3.org/2004/02/skos/core#exactMatch> ?preMergerNIS .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?werkingsgebied <http://www.w3.org/2004/02/skos/core#exactMatch> ?postMergerNIS .
}
} WHERE {
VALUES (?werkingsgebied ?postMergerNIS) {
(<http://data.lblod.info/id/werkingsgebieden/92398c49-30d5-46b2-af90-37f135c89e47> <http://vocab.belgif.be/auth/refnis2025/23106>) # Pajottegem
(<http://data.lblod.info/id/werkingsgebieden/21034a361da5b5c45424cbbef38a89029ca025e32aa1b132fcceca1d13149ee6> <http://vocab.belgif.be/auth/refnis2025/37021>) # Wingene
(<http://data.lblod.info/id/werkingsgebieden/1fb92312354f3d900670e2b9cfbd80148910f1227e321f2c377f92957b071cb1> <http://vocab.belgif.be/auth/refnis2025/37022>) # Tielt
(<http://data.lblod.info/id/werkingsgebieden/41362ab2-5130-4160-b76b-4bfa5d9a1f59> <http://vocab.belgif.be/auth/refnis2025/44086>) # Nazareth-De Pinte
(<http://data.lblod.info/id/werkingsgebieden/f1552be4471af0742d8ea03cd8596900c634a66f67e1fbc130d79f655de0240e> <http://vocab.belgif.be/auth/refnis2025/44087>) # Lochristi
(<http://data.lblod.info/id/werkingsgebieden/4afbdfef4de7314c2637a9f950b13bb9b0b4eaaf3413c0bd5d0600852a9d7cb3> <http://vocab.belgif.be/auth/refnis2025/46029>) # Lokeren
(<http://data.lblod.info/id/werkingsgebieden/62fef519-b1de-4a0f-911a-c63a5365c17b> <http://vocab.belgif.be/auth/refnis2025/44088>) # Merelbeke-Melle
(<http://data.lblod.info/id/werkingsgebieden/b97c1b58-6431-4509-ab94-3300d27759a8> <http://vocab.belgif.be/auth/refnis2025/46030>) # Beveren-Kruibeke-Zwijndrecht
(<http://data.lblod.info/id/werkingsgebieden/1f5dd7043ad54d07751da8689d5b47ad9ae0e52dccce8f00cc8debab35f8e2b2> <http://vocab.belgif.be/auth/refnis2025/73110>) # Bilzen-Hoeselt
(<http://data.lblod.info/id/werkingsgebieden/fabec9e745fc9efa32afadd8b7268938805b9679dcf3b032c9b9a9a3530d6b59> <http://vocab.belgif.be/auth/refnis2025/73111>) # Tongeren-Borgloon
(<http://data.lblod.info/id/werkingsgebieden/fc34bb0a1dbf157ac5e5f8e657dd774210f03d2efa21370dd3b9a6342906c7ab> <http://vocab.belgif.be/auth/refnis2025/71071>) # Tessenderlo-Ham
(<http://data.lblod.info/id/werkingsgebieden/e55336a3ecbae33f21e595458ba93eeeb0fa4390626622884d4d32523d0e0033> <http://vocab.belgif.be/auth/refnis2025/71072>) # Hasselt
}
?werkingsgebied a <http://www.w3.org/ns/prov#Location> .
OPTIONAL {
?werkingsgebied <http://www.w3.org/2004/02/skos/core#exactMatch> ?preMergerNIS .
}
}

View File

@@ -0,0 +1,35 @@
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/betrokkenLokaleBesturen/0da11d9fdef2d45f90fd4ebd353ecd3c> ?p ?o.
}
}
;
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/bestuurseenheden/d9f7c0ab4920fdecf3f9a60b92e921b5ca07248fcb0eac2113eb97392ddd6c6c> <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> <http://data.lblod.info/id/betrokkenLokaleBesturen/0da11d9fdef2d45f90fd4ebd353ecd3c>.
}
}
;
DELETE {
GRAPH ?g {
?localInvolvementWortegemPetegem <http://data.lblod.info/vocabularies/erediensten/financieringspercentage> ?percentage.
}
}
INSERT {
GRAPH ?g {
?localInvolvementWortegemPetegem <http://data.lblod.info/vocabularies/erediensten/financieringspercentage> 100.
}
}
WHERE {
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?g)
GRAPH ?g {
?localInvolvementWortegemPetegem <http://data.lblod.info/vocabularies/erediensten/financieringspercentage> ?percentage.
}
VALUES ?localInvolvementWortegemPetegem {
<http://data.lblod.info/id/betrokkenLokaleBesturen/00b8f19ce0fafa090df049498337aad8>
}
}

View File

@@ -0,0 +1,23 @@
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?province org:hasSubOrganization ?municipality.
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?province org:hasSubOrganization ?municipality.
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?province org:hasSubOrganization ?municipality.
}
VALUES ?municipality {
<http://data.lblod.info/id/bestuurseenheden/19483103-318e-435a-aa37-45e485406ee9> # Beveren-Kruibeke-Zwijndrecht
<http://data.lblod.info/id/bestuurseenheden/1ca65d65-54ff-4b44-b750-bd70c91191af> # Nazareth-De Pinte
<http://data.lblod.info/id/bestuurseenheden/add1e4eb-9ec7-4ea6-af82-335aa76b7d48> # Pajottegem
<http://data.lblod.info/id/bestuurseenheden/b8bb293d-aa22-4b43-bda4-0b6af76e9493> # Merelbeke-Melle
}
}

View File

@@ -0,0 +1,13 @@
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/betrokkenLokaleBesturen/b38d5606b539da68af04891d9ca08605> ?p ?o.
}
}
;
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/bestuurseenheden/e41ffa04f94bb450a79793020e70d55b5fee5033a5280277998608a9d0913117> <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> <http://data.lblod.info/id/betrokkenLokaleBesturen/b38d5606b539da68af04891d9ca08605>.
}
}

View File

@@ -0,0 +1,13 @@
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/betrokkenLokaleBesturen/1f525a624264469c0a765a33f1c609cc> ?p ?o.
}
}
;
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/bestuurseenheden/5a4b2b4f1de1f3b91b0348a7eb6d6aa0ef9420b8ec31374970c9ffe933a79515> <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> <http://data.lblod.info/id/betrokkenLokaleBesturen/1f525a624264469c0a765a33f1c609cc>.
}
}

View File

@@ -0,0 +1,13 @@
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/betrokkenLokaleBesturen/623B1D5CB72F9F4B3350823E> ?p ?o.
}
}
;
DELETE WHERE {
graph <http://mu.semte.ch/graphs/worship-service> {
<http://data.lblod.info/id/bestuurseenheden/a3bd0845853278f478f90b14436d3efa99e73249a84d462f0ddc2e5b6e37a156> <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> <http://data.lblod.info/id/betrokkenLokaleBesturen/623B1D5CB72F9F4B3350823E>.
}
}

View File

@@ -0,0 +1,60 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
ch:typeWijziging ?mergerChangeEventType;
org:resultingOrganization ?resultingOrganisation;
dct:date "2025-01-01"^^xsd:date;
dct:description "Fusie tussen PZ Alken/Borgloon/Heers/Kortessem/Wellen (= 5379 PZ Kanton Borgloon) en PZ Tongeren/Herstappe (= 5380 PZ Tongeren/Herstappe) resulteert in PZ Tongeren-Borgloon/Herstappe/Heers/Wellen (= 5962 PZ Haspengouw)";
org:originalOrganization ?firstNotActiveOriginal;
org:originalOrganization ?secondNotActiveOriginal;
lblodOrg:veranderingsgebeurtenisResultaat ?firstNotActiveChangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?secondNotActivechangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?resultingOrganisationChangeEventResult.
?firstNotActiveChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidFirstNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?firstNotActiveOriginal.
?secondNotActivechangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidSecondNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?secondNotActiveOriginal.
?resultingOrganisationChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidResultingOrganisationChangeEventResult;
lblodOrg:resulterendeStatus ?activeStatus;
ext:resultingOrganization ?resultingOrganisation.
}
} WHERE {
VALUES (?firstNotActiveOriginal ?secondNotActiveOriginal ?resultingOrganisation) {
(<http://data.lblod.info/id/bestuurseenheden/150440a8bb763d6f53d24ca1c6f1460cb5817c8a261fd90e74aadac3292c3efe> # PZ Alken/Borgloon/Heers/Kortessem/Wellen
<http://data.lblod.info/id/bestuurseenheden/41d31a2eb697af977aadf64c73e0bcffb094e0f20e4017fe3b49c507079c0976> # PZ Tongeren/Herstappe
<http://data.lblod.info/id/bestuurseenheden/677E848329299CC832892A1B> # PZ Tongeren-Borgloon/Herstappe/Heers/Wellen
)
}
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), STR(?secondNotActiveOriginal), STR(?resultingOrganization))) AS ?uuidChangeEvent) .
BIND (IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent) .
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), "FirstNotActiveMergerChangeEventResult")) AS ?uuidFirstNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidFirstNotActiveChangeEventResult))) AS ?firstNotActiveChangeEventResult) .
BIND (SHA256(CONCAT(STR(?secondNotActiveOriginal), "SecondNotActiveMergerChangeEventResult")) AS ?uuidSecondNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidSecondNotActiveChangeEventResult))) AS ?secondNotActivechangeEventResult) .
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), STR(?secondNotActiveOriginal), STR(?resultingOrganization), "fusieChangeEventActiveResult")) AS ?uuidResultingOrganisationChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidResultingOrganisationChangeEventResult))) AS ?resultingOrganisationChangeEventResult) .
BIND (<http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1> AS ?mergerChangeEventType)
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
}

View File

@@ -0,0 +1,72 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
# Add fusion change event
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
ch:typeWijziging ?mergerChangeEventType;
org:resultingOrganization ?resultingOrganisation;
dct:date "2025-01-01"^^xsd:date;
dct:description "Fusie tussen PZ Zwijndrecht (= 5346 PZ Zwijndrecht) en PZ Kruibeke/Temse (= 5433 PZ Kruibeke/Temse) en PZ Beveren/Sint-Gillis-Waas/Stekene (= 5904 Waasland-Noord) resulteert in PZ Beveren-Kruibeke-Zwijndrecht/Sint-Gillis-Waas/Stekene/Temse (= 5964 PZ Scheldewaas)";
org:originalOrganization ?firstNotActiveOriginal;
org:originalOrganization ?secondNotActiveOriginal;
org:originalOrganization ?thirdNotActiveOriginal;
lblodOrg:veranderingsgebeurtenisResultaat ?firstNotActiveChangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?secondNotActiveChangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?thirdNotActiveChangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?resultingOrganisationChangeEventResult.
?firstNotActiveChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidFirstNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?firstNotActiveOriginal.
?secondNotActiveChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidSecondNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?secondNotActiveOriginal.
?thirdNotActiveChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidThirdNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?thirdNotActiveOriginal.
?resultingOrganisationChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidResultingOrganisationChangeEventResult;
lblodOrg:resulterendeStatus ?activeStatus;
ext:resultingOrganization ?resultingOrganisation.
}
} WHERE {
VALUES (?firstNotActiveOriginal ?secondNotActiveOriginal ?thirdNotActiveOriginal ?resultingOrganisation) {
(<http://data.lblod.info/id/bestuurseenheden/330516b323c00851cf4b93e6d5d7a2ef4591f68ae6e71ad9c1f432ee70521bb2> # PZ Zwijndrecht
<http://data.lblod.info/id/bestuurseenheden/7dd1250996188607bb1e28df1ebea0b943e8db59c08ea01e3c57672531c43ec6> # PZ Kruibeke/Temse
<http://data.lblod.info/id/bestuurseenheden/541c1603eb8c01968f95d1f262854134499e00d135cd7c9147d307ccbd1e20fd> # PZ Beveren/Sint-Gillis-Waas/Stekene
<http://data.lblod.info/id/bestuurseenheden/677E959629299CC832892A24> # PZ Beveren-Kruibeke-Zwijndrecht/Sint-Gillis-Waas/Stekene/Temse
)
}
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), STR(?secondNotActiveOriginal), STR(?resultingOrganization))) AS ?uuidChangeEvent) .
BIND (IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent) .
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), "FirstNotActiveMergerChangeEventResult")) AS ?uuidFirstNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidFirstNotActiveChangeEventResult))) AS ?firstNotActiveChangeEventResult) .
BIND (SHA256(CONCAT(STR(?secondNotActiveOriginal), "SecondNotActiveMergerChangeEventResult")) AS ?uuidSecondNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidSecondNotActiveChangeEventResult))) AS ?secondNotActiveChangeEventResult) .
BIND (SHA256(CONCAT(STR(?thirdNotActiveOriginal), "ThirdNotActiveMergerChangeEventResult")) AS ?uuidThirdNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidThirdNotActiveChangeEventResult))) AS ?thirdNotActiveChangeEventResult) .
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), STR(?secondNotActiveOriginal), STR(?thirdNotActiveOriginal), STR(?resultingOrganization), "MergerChangeEventResultActiveResult")) AS ?uuidResultingOrganisationChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidResultingOrganisationChangeEventResult))) AS ?resultingOrganisationChangeEventResult) .
BIND (<http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1> AS ?mergerChangeEventType)
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
}

View File

@@ -0,0 +1,61 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
# Add fusion change event
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?changeEvent a org:ChangeEvent;
mu:uuid ?uuidChangeEvent;
ch:typeWijziging ?mergerChangeEventType;
org:resultingOrganization ?resultingOrganisation;
dct:date "2025-01-01"^^xsd:date;
dct:description "Fusie tussen PZ Kluisbergen/Kruisem/Oudenaarde/Wortegem-Petegem (= 5425 PZ Vlaamse Ardennen) en PZ Brakel/Horebeke/Maarkedal/Zwalm (= 5426 PZ Brakel) resulteert in PZ Vlaamse Ardennen (= 5915 PZ Vlaamse Ardennen)";
org:originalOrganization ?firstNotActiveOriginal;
org:originalOrganization ?secondNotActiveOriginal;
lblodOrg:veranderingsgebeurtenisResultaat ?firstNotActiveChangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?secondNotActivechangeEventResult;
lblodOrg:veranderingsgebeurtenisResultaat ?resultingOrganisationChangeEventResult.
?firstNotActiveChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidFirstNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?firstNotActiveOriginal.
?secondNotActivechangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidSecondNotActiveChangeEventResult;
lblodOrg:resulterendeStatus ?notActiveStatus;
ext:resultingOrganization ?secondNotActiveOriginal.
?resultingOrganisationChangeEventResult a lblodOrg:VeranderingsgebeurtenisResultaat;
mu:uuid ?uuidResultingOrganisationChangeEventResult;
lblodOrg:resulterendeStatus ?activeStatus;
ext:resultingOrganization ?resultingOrganisation.
}
} WHERE {
VALUES (?firstNotActiveOriginal ?secondNotActiveOriginal ?resultingOrganisation) {
(<http://data.lblod.info/id/bestuurseenheden/4deae42b2b25bff407f5abc7cbb6d62eb02afaf2892086341c324fdf2c0e6e92> # PZ Kluisbergen/Kruisem/Oudenaarde/Wortegem-Petegem
<http://data.lblod.info/id/bestuurseenheden/b7af3483cb5d0021c6f5864a433b211fce30246ef685621d104b1951915c21c4> # PZ Brakel/Horebeke/Maarkedal/Zwalm
<http://data.lblod.info/id/bestuurseenheden/677E966229299CC832892A2D> # PZ Vlaamse Ardennen
)
}
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), STR(?secondNotActiveOriginal), STR(?resultingOrganization))) AS ?uuidChangeEvent) .
BIND (IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", STR(?uuidChangeEvent))) AS ?changeEvent) .
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), "FirstNotActiveMergerChangeEventResult")) AS ?uuidFirstNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidFirstNotActiveChangeEventResult))) AS ?firstNotActiveChangeEventResult) .
BIND (SHA256(CONCAT(STR(?secondNotActiveOriginal), "SecondNotActiveMergerChangeEventResult")) AS ?uuidSecondNotActiveChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidSecondNotActiveChangeEventResult))) AS ?secondNotActivechangeEventResult) .
BIND (SHA256(CONCAT(STR(?firstNotActiveOriginal), STR(?secondNotActiveOriginal), STR(?resultingOrganization), "fusieChangeEventActiveResult")) AS ?uuidResultingOrganisationChangeEventResult) .
BIND (IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", STR(?uuidResultingOrganisationChangeEventResult))) AS ?resultingOrganisationChangeEventResult) .
BIND (<http://lblod.data.gift/concepts/fa80032794c841ecac73ff874f856db1> AS ?mergerChangeEventType)
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
}

View File

@@ -0,0 +1,6 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/4b8450cf-a326-4c66-9e63-b4ec10acc7f6>
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
}
}

View File

@@ -0,0 +1,35 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?ocmwBestuursorgaanT <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?ocmwFunctie.
?ocmwFunctie a <http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie>;
?ocmwFunctieP ?ocmwFunctieO.
}
} WHERE {
?ocmwBestuur a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>;
# OCMW
<http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002>;
<http://www.w3.org/ns/org#linkedTo> ?gemeenteBestuur.
?gemeenteBestuur a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>;
# GEMEENTE
<http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>.
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?ocmwBestuursorgaan a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
<http://data.vlaanderen.be/ns/besluit#bestuurt> ?ocmwBestuur.
?ocmwBestuursorgaanT <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?ocmwBestuursorgaan;
<http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?ocmwFunctie.
?ocmwFunctie a <http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie>;
?ocmwFunctieP ?ocmwFunctieO.
}
FILTER NOT EXISTS {
?gemeenteBestuursorgaan a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
<http://data.vlaanderen.be/ns/besluit#bestuurt> ?gemeenteBestuur.
?gemeenteBestuursorgaanT <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?gemeenteBestuursorgaan;
<http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?ocmwFunctie.
}
}

View File

@@ -0,0 +1,42 @@
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?ocmwBestuursorgaanT <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?gemeenteFunctie.
}
}
WHERE {
VALUES ?orgaanClassification {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35>
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa>
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc>
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0>
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
# OCMW
?ocmwBestuur a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>;
<http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002>;
<http://www.w3.org/ns/org#linkedTo> ?gemeenteBestuur.
?ocmwBestuursorgaan a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
<http://data.vlaanderen.be/ns/besluit#bestuurt> ?ocmwBestuur;
<http://www.w3.org/ns/org#classification> ?orgaanClassification.
?ocmwBestuursorgaanT <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?ocmwBestuursorgaan.
FILTER NOT EXISTS {
?ocmwBestuursorgaanT <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?ocmwFunctie.
}
?gemeenteBestuur a <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>;
# GEMEENTE
<http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>.
?gemeenteBestuursorgaan a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
<http://data.vlaanderen.be/ns/besluit#bestuurt> ?gemeenteBestuur;
<http://www.w3.org/ns/org#classification> ?orgaanClassification.
?gemeenteBestuursorgaanT <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?gemeenteBestuursorgaan;
<http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?gemeenteFunctie.
}
}

View File

@@ -223,7 +223,7 @@
}
},
"organization_municipality": {
"type": "text",
"type": "keyword",
"fields": {
"field": {
"type": "keyword",
@@ -385,7 +385,7 @@
}
},
"organization_municipality": {
"type": "text",
"type": "keyword",
"fields": {
"field": {
"type": "keyword",
@@ -540,7 +540,7 @@
}
},
"organization_municipality": {
"type": "text",
"type": "keyword",
"fields": {
"field": {
"type": "keyword",
@@ -727,7 +727,7 @@
}
},
"organization_municipality": {
"type": "text",
"type": "keyword",
"fields": {
"field": {
"type": "keyword",
@@ -880,7 +880,7 @@
}
},
"municipality": {
"type": "text",
"type": "keyword",
"fields": {
"field": {
"type": "keyword",

Some files were not shown because too many files have changed in this diff Show More