Compare commits

...

45 Commits

Author SHA1 Message Date
Claire Lovisa
21ee39edd6 Bump frontend 2022-12-06 13:29:57 +01:00
Iulian Andriescu
75d77f2b2e Fix/delete duplicate services (#194)
* update fuzzy search version

* migration to delete duplicate services

* Revert "update fuzzy search version"

This reverts commit b0dc0ebad472c7e9e57e4ab792d6fce382147bb5.
2022-12-06 13:22:59 +01:00
Iulian Andriescu
cc6c73eb5b Incidents handling (#197)
* update fuzzy search version

* Revert "update fuzzy search version"

This reverts commit 18efa236dc.

* update fuzzy search version (#193)

* Fix change event date for Attaqwa

* migrationto delete duplicates

* Revert "Fix change event date for Attaqwa"

This reverts commit 924bc407eb1a012ce69a85b762978f92fdbc4288.

* Revert "migrationto delete duplicates"

This reverts commit 7736607655e1b7343e553174528d487981da8027.

* re-upload Attaqwa migration
2022-12-06 12:36:52 +02:00
Claire Lovisa
13170dfd26 Change role of some bedienaren (#196) 2022-12-05 16:44:37 +01:00
Claire Lovisa
b4b997f89a update fuzzy search version (#195)
Co-authored-by: iurianu <iulianandriescu@gmail.com>
2022-12-05 15:48:15 +01:00
Boris De Vloed
b19f8f070f bump frontend version 2022-11-30 12:49:47 +01:00
Boris De Vloed
352c41502b Merge pull request #192 from lblod/hotfix-1.13.2
Hotfix 1.13.2
2022-11-30 10:11:20 +01:00
Boris De Vloed
4c8c4877c0 Merge pull request #185 from lblod/fix/op-1806
Fix/op 1806
2022-11-30 10:06:43 +01:00
Boris De Vloed
91b49104a6 Merge pull request #186 from lblod/fix/primary-site-uris
delete wrong and insert new primary addresses
2022-11-30 10:06:07 +01:00
Claire Lovisa
55ea87dd6c Bump frontend 2022-11-25 18:24:25 +01:00
Claire Lovisa
64af5d00f0 Bump frontend 2022-11-25 17:11:36 +01:00
Claire Lovisa
449245700e Merge branch 'development' 2022-11-24 12:23:30 +01:00
Claire Lovisa
a4940c0aa4 Bump frontend 2022-11-24 12:22:45 +01:00
Iulian Andriescu
bb6a916e45 Fix / Create dummy worship service 'Kerkfabriek Vredegem' in OP (#190)
update-name-kerkfabriek
2022-11-22 18:37:40 +02:00
Iulian Andriescu
f236290b62 OP-1708 Fix typo in name (#187)
Fix typo in name
2022-11-03 12:18:37 +02:00
Claire Lovisa
1ba0cbbf70 Add construct-administrative-unit-relationships service and config (#189) 2022-11-02 08:48:53 +01:00
Boris De Vloed
c37ad8c764 delete wrong and insert new primary addresses 2022-10-21 14:57:03 +02:00
Boris De Vloed
996f81bb76 Delete duplicate betrokken lokale besturen 2022-10-20 11:59:57 +02:00
Boris De Vloed
9a1188fa7d remove duplicate relationships 2022-10-20 11:54:33 +02:00
Boris De Vloed
7223549102 Merge pull request #184 from lblod/fix/data-from-incidents
Fix/data from incidents
2022-10-13 09:04:25 +02:00
Boris De Vloed
305a1fcb41 OP-1854 2022-10-12 16:27:59 +02:00
Boris De Vloed
03d2d4ee3d OP-1852 2022-10-12 16:27:50 +02:00
Boris De Vloed
7287b2fe78 OP-1819 2022-10-12 16:27:26 +02:00
Nordine Bittich
b13e30447c bump mu auth (#183) 2022-10-11 09:16:19 +02:00
Nordine Bittich
582e2a7203 Create and uniformize dates or organen before 2023 (#180)
Co-authored-by: Claire Lovisa <lovisa.claire@gmail.com>
2022-10-07 17:22:02 +02:00
Claire Lovisa
a0d0d76a61 Create missing mandates for 2017 to 2023 (#181) 2022-10-07 17:21:48 +02:00
Nordine Bittich
179b3d6643 bump frontend 2022-10-07 17:15:40 +02:00
Nordine Bittich
aab72d2373 remove bestrokken (#182) 2022-10-07 13:43:03 +02:00
Nordine Bittich
532ea6d31b bump frontend 2022-10-07 13:04:39 +02:00
Nordine Bittich
0df998940f bump frontend 2022-10-05 18:17:53 +02:00
Nordine Bittich
b372d382d0 Revert "Create and uniformize dates or organen before 2023 (#178)" (#179)
This reverts commit 94ecc51678.
2022-10-05 09:58:21 +02:00
Claire Lovisa
94ecc51678 Create and uniformize dates or organen before 2023 (#178) 2022-10-05 09:43:28 +02:00
Claire Lovisa
01a4de2d03 Replace dates by datetimes in the db for organen (#176) 2022-10-04 10:30:57 +02:00
Nordine Bittich
5c1f091c20 fix order migration (#177) 2022-10-04 10:00:38 +02:00
Nordine Bittich
0488495d78 fix wrong function (#175) 2022-09-30 15:27:50 +02:00
Claire Lovisa
13d6e2554c Create worship organen and mandates for 2023 to 2029 (#170) 2022-09-30 09:10:53 +02:00
Nordine Bittich
a69ba129fd adjust codelist functies (#174) 2022-09-28 13:51:52 +02:00
Boris De Vloed
db64953815 Merge pull request #173 from lblod/fix/various-data-corrections
OP-1812, OP-1813, OP-1814 + lang typed literals
2022-09-28 09:17:13 +02:00
Boris De Vloed
5e0ac45f42 OP-1812, OP-1813, OP-1814 + lang typed literals 2022-09-27 16:54:37 +02:00
Nordine Bittich
70ceb04087 add stadstitel (#172) 2022-09-21 20:01:31 +02:00
Nordine Bittich
9f04b47ff7 duplicate municipality for aalter (#171) 2022-09-21 11:46:58 +02:00
Nordine Bittich
93a77d3bf1 Missing status for Aalter voor fusie (#169) 2022-09-19 10:53:02 +02:00
Nordine Bittich
69e9e021e1 bump frontend 2022-09-16 12:16:27 +02:00
Boris De Vloed
a67a14c1ad Use maatschappelijke zetel from KBO with corrections (#168) 2022-09-16 08:26:15 +02:00
Nordine Bittich
97244e0c57 bump frontend 2022-09-14 14:04:50 +02:00
41 changed files with 13193 additions and 8776 deletions

View File

@@ -282,6 +282,9 @@ defmodule Dispatcher do
forward conn, path, "http://uri-info/"
end
post "/create-administrative-unit-relationships/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://construct-administrative-unit-relationships/create-relationships/"
end
#################################################################
# ERROR REPORT

View File

@@ -0,0 +1,9 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
INSERT DATA{
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://data.lblod.info/id/bestuurseenheden/c895809729a165666fc111a40affe229f3c8e8f1ce9dec2dcc1be1ed81b52d9b>
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
}
}

View File

@@ -0,0 +1,26 @@
PREFIX adms: <http://www.w3.org/ns/adms#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
graph ?g {
<http://data.lblod.info/id/adressen/7fad170b6755d0e424498ed460d3322a> ?p ?o.
<http://data.lblod.info/id/vestigingen/7c6b24aac9de9c25aec3a1b3962235f6> <https://data.vlaanderen.be/ns/organisatie#bestaatUit> <http://data.lblod.info/id/adressen/7fad170b6755d0e424498ed460d3322a>
}
}where {
graph ?g {
<http://data.lblod.info/id/adressen/7fad170b6755d0e424498ed460d3322a> ?p ?o.
<http://data.lblod.info/id/vestigingen/7c6b24aac9de9c25aec3a1b3962235f6> <https://data.vlaanderen.be/ns/organisatie#bestaatUit> <http://data.lblod.info/id/adressen/7fad170b6755d0e424498ed460d3322a>
}
}

View File

@@ -0,0 +1,26 @@
PREFIX adms: <http://www.w3.org/ns/adms#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://data.lblod.info/id/adressen/7fad170b6755d0e424498ed460d3322a> a locn:Address ;
mu:uuid "7fad170b6755d0e424498ed460d3322a" ;
locn:adminUnitL2 "Oost-Vlaanderen" ;
locn:fullAddress "Europalaan 22, 9880 Aalter, België" ;
locn:postCode "9880" ;
locn:thoroughfare "Europalaan" ;
adres:Adresvoorstelling.huisnummer "22" ;
adres:gemeentenaam "Aalter" ;
adres:land "België" .
<http://data.lblod.info/id/vestigingen/7c6b24aac9de9c25aec3a1b3962235f6> <https://data.vlaanderen.be/ns/organisatie#bestaatUit> <http://data.lblod.info/id/adressen/7fad170b6755d0e424498ed460d3322a>
}
}

View File

@@ -0,0 +1,124 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX concepts: <http://lblod.data.gift/concepts/>
PREFIX bestuur: <http://data.lblod.info/id/besturenVanDeEredienst/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX contacthub: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ce: <http://data.lblod.info/id/veranderingsgebeurtenissen/>
PREFIX cer: <http://data.lblod.info/id/veranderingsgebeurtenis-resultaten/>
PREFIX m8g: <http://data.europa.eu/m8g/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX eli: <http://data.europa.eu/eli/ontology#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
INSERT {
graph ?g {
?changeEvent a <http://www.w3.org/ns/org#ChangeEvent>;
<http://www.w3.org/ns/org#resultingOrganization> ?administrativeUnit;
<http://www.w3.org/ns/org#originalOrganization> ?administrativeUnit;
<http://lblod.data.gift/vocabularies/organisatie/veranderingsgebeurtenisResultaat> ?changeEventResult;
mu:uuid ?uuidChangeEvent;
<http://data.lblod.info/vocabularies/contacthub/typeWijziging> <http://lblod.data.gift/concepts/e4c3d1ef-a34d-43b0-a18c-f4e60e2c8af3>.
?changeEventResult a <http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat>;
mu:uuid ?uuidChangeEventResult;
<http://lblod.data.gift/vocabularies/organisatie/resulterendeStatus> <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>;
<http://mu.semte.ch/vocabularies/ext/resultingOrganization> ?administrativeUnit.
}
}
where {
graph ?g {
?administrativeUnit a besluit:Bestuurseenheid;
mu:uuid ?id;
skos:prefLabel ?label;
org:classification ?classification.
?classification mu:uuid ?classificationCode.
filter (?classificationCode = "5ab0e9b8a3b2ca7c5e000001").
filter(?label in ("Aalst",
"Aarschot",
"Antwerpen",
"Beringen",
"Bilzen",
"Blankenberge",
"Borgloon",
"Bree",
"Brugge",
"Damme",
"Deinze",
"Dendermonde",
"Diest",
"Diksmuide",
"Dilsen-Stokkem",
"Eeklo",
"Geel",
"Genk",
"Gent",
"Geraardsbergen",
"Gistel",
"Halen",
"Halle",
"Hamont-Achel",
"Harelbeke",
"Hasselt",
"Herentals",
"Herk-de-Stad",
"Hoogstraten",
"Ieper",
"Izegem",
"Kortrijk",
"Landen",
"Leuven",
"Lier",
"Lokeren",
"Lommel",
"Lo-Reninge",
"Maaseik",
"Mechelen",
"Menen",
"Mesen",
"Mortsel",
"Nieuwpoort",
"Ninove",
"Oostende",
"Oudenaarde",
"Oudenburg",
"Peer",
"Poperinge",
"Roeselare",
"Ronse",
"Scherpenheuvel-Zichem",
"Sint-Niklaas",
"Sint-Truiden",
"Tielt",
"Tienen",
"Tongeren",
"Torhout",
"Turnhout",
"Veurne",
"Vilvoorde",
"Waregem",
"Wervik",
"Zottegem",
"Zoutleeuw"))
}
BIND(MD5(CONCAT(?administrativeUnit, 'Stadstitel')) as ?uuidChangeEvent)
BIND(IRI(CONCAT("http://data.lblod.info/id/veranderingsgebeurtenissen/", ?uuidChangeEvent)) AS ?changeEvent)
BIND(MD5(CONCAT(?changeEvent, 'Stadstitel')) as ?uuidChangeEventResult)
BIND(IRI(CONCAT("http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/", ?uuidChangeEventResult)) AS ?changeEventResult)
}

View File

@@ -0,0 +1,40 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?org
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
}
} WHERE {
VALUES ?org {
<http://data.lblod.info/id/bestuurseenheden/1d43739442010a95b1910af237a4f6aa9a26ca6c9c83f646bad44a8181d407c7> # Gemeente Lovendegem
<http://data.lblod.info/id/bestuurseenheden/1b11f7f11c3c74c54acf86b8c1a9b8b2865e22b8973818486045a5d3aa8dff14> # Gemeente Puurs
<http://data.lblod.info/id/bestuurseenheden/b85b33fb0ce57e2b332599d2aaafcab35a3560b709add3cec98e21dca6cdc210> # Gemeente Knesselare
<http://data.lblod.info/id/bestuurseenheden/8ed14ecd083fb231f9af0f2698de728bba3f11deb0f4ea4caf9d5c1f9e3a771b> # Gemeente Nevele
<http://data.lblod.info/id/bestuurseenheden/db046b577b77c00cc82b51b1cdf14396364cbe1ebc0f4cfee09619bec9b0bd5e> # Gemeente Kruishoutem
<http://data.lblod.info/id/bestuurseenheden/e3fc7eb1c6f50aa4277e0ae180b002eddf243dab630e9278996df9951316da68> # Gemeente Neerpelt
<http://data.lblod.info/id/bestuurseenheden/25b05f670144f166a485a1d0ac37faca672b36642cf1647d846010d6fe9cabb5> # Gemeente Deinze (voor fusie)
<http://data.lblod.info/id/bestuurseenheden/d7d9ef5babd2876ad492a71c2019f02cf90c813c00befcf3682ba49186d0f4b1> # Gemeente Overpelt
<http://data.lblod.info/id/bestuurseenheden/5eaaceb01cc2a6bc418d5fcdc6c855bdfe1d1fcbc8abf8bb9cfcea76edbc8936> # Gemeente Meeuwen-Gruitrode
<http://data.lblod.info/id/bestuurseenheden/571b85dc585067ac92f9de90133e747c75f3f7e7948087ae193583b9f0fe1141> # Gemeente Sint-Amands
<http://data.lblod.info/id/bestuurseenheden/19537690173d82d774bf34abaa07f3b1af78139014e53aa8f172a0a558bc5e09> # Gemeente Zingem
<http://data.lblod.info/id/bestuurseenheden/be8c097326db7ba0e0e7c81b832da8b4cdeabe22b515494753dd95d33d9ea295> # Gemeente Opglabbeek
<http://data.lblod.info/id/bestuurseenheden/66374f1f46137c3240ba0690b24056a014f9ad5f36ae81e10bc14ad5a6305089> # Gemeente Zomergem
<http://data.lblod.info/id/bestuurseenheden/46a7ee2627bf51959f9a72fdb6f5aec942f5e07484c1bfe7da2fb8a74c830326> # Gemeente Waarschoot
<http://data.lblod.info/id/bestuurseenheden/cb6ea2dd7a009bca2aa4c1058cce5545420792b9db0a6b5516e49a4ae4b03701> # OCMW Zingem
<http://data.lblod.info/id/bestuurseenheden/56db39c0bb1c85e9c5aec9adb3f5af9720d4702e30f4772aecd272f03c7becea> # OCMW Deinze (voor fusie)
<http://data.lblod.info/id/bestuurseenheden/43ad404aee5fd4f07d575e118883934b0ad0ead0ef8cee0793b7f72e4c1ce19f> # OCMW Opglabbeek
<http://data.lblod.info/id/bestuurseenheden/c78f64baa2f264a2c8b5207f788c285ffc1c0393cf20e6fc83ab61548a2baf9c> # OCMW Nevele
<http://data.lblod.info/id/bestuurseenheden/f879d68d0f66af67aa045b1194cde7dc5d82e3bfe07746cc682be472c9556631> # OCMW Waarschoot
<http://data.lblod.info/id/bestuurseenheden/be5f63236aacb5478334077a901dbda6816a7b923753b49c06295777b47e6aa4> # OCMW Meeuwen-Gruitrode
<http://data.lblod.info/id/bestuurseenheden/19673274e30b682be3dd3178352611aa26c28ea8907fd4990ff69e01af7019f6> # OCMW Kruishoutem
<http://data.lblod.info/id/bestuurseenheden/2712dbaca999e57d26f1f0d3e72b2ed96113d6ac62d72b7228fd682e1324e4e5> # OCMW Puurs
<http://data.lblod.info/id/bestuurseenheden/51793f0f16c2b06e9c64cbc141407fcafaa340576c96988971dc0855f032940c> # OCMW Zomergem
<http://data.lblod.info/id/bestuurseenheden/be274f73ffbd75a9cf28222f45044f468b40692ca9c80c8c5899acf554498e24> # OCMW Sint-Amands
<http://data.lblod.info/id/bestuurseenheden/e3289466b88127a445e1467a360f24221bdac2723613b8adabeb131e8d9a3659> # OCMW Overpelt
<http://data.lblod.info/id/bestuurseenheden/92207a4e09455f59f19553e95ebc4ea1b33e6f7b2e5cf317ea31ba7ac0cbca45> # OCMW Knesselare
<http://data.lblod.info/id/bestuurseenheden/32d0fce422c04b004e3cf640d3aa06468f8ec8f650d578806642c1097b95d782> # OCMW Lovendegem
<http://data.lblod.info/id/bestuurseenheden/f5077ea4d13ee6d74749b2d9e7de428b0633388a10b436984859021cf62731b9> # OCMW Neerpelt
}
}

View File

@@ -0,0 +1,20 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?org
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
}
} WHERE {
VALUES ?org {
<http://data.lblod.info/id/bestuurseenheden/33a1886b07b64ebe3a0e6c5ed8086f030ef1109492cb254832a716dd7e1b8d7b> # District Ekeren
<http://data.lblod.info/id/bestuurseenheden/43e3009526dac139a0abdcf75c1ddc5fa3fe9217391d6f64f7b7a30a99a4cda6> # District Deurne
<http://data.lblod.info/id/bestuurseenheden/859f08dcfbc8f68bac0879e7baf6463b260b6f4c16b734d0d1986f5f3af0407b> # District Berendrecht-Zandvliet-Lillo
<http://data.lblod.info/id/bestuurseenheden/fb56bc40ce36390d2f12fc2057c89d4b6bc5b3217eabd41995b6401318ff648a> # District Berchem
<http://data.lblod.info/id/bestuurseenheden/a2ee394059cce91526392e73e4de974d90caffb92f70cde23b9e9e1a965526fa> # District Hoboken
<http://data.lblod.info/id/bestuurseenheden/73e8904d83f7324e39abc0adf639b0e48bc52533c4c243b6419cac8fb70784cf> # District Wilrijk
<http://data.lblod.info/id/bestuurseenheden/5be3ff820769b385a32e499d17bbf1f15feeacb65381d5384841732dd4a1209b> # District Antwerpen
<http://data.lblod.info/id/bestuurseenheden/e7a75861661ee14ebe2bca0c79bda8b23f2f943d00a9693d2bff401a8f8dea65> # District Borgerhout
<http://data.lblod.info/id/bestuurseenheden/f1ad80291fbdc1f0b9b25d729ecc608a8e28fdddab01a1b8e135c841c75586e2> # District Merksem
}
}

View File

@@ -0,0 +1,185 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
# When only a language typed address literal is available, replace it with a plain literal
# When both plain and language typed are available, remove the language typed literal
# Rationale: lang typed literals are inserted via the migrations. When both types are available
# this new value is the plain literal, the old language typed literal is not deleted by the application
# and thus should be deleted via this migration - without - copying the value to a plain literal.
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:fullAddress ?literal_withLang
}
INSERT {
?address locn:fullAddress ?literal_cleansed
}
WHERE {
?address locn:fullAddress ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER NOT EXISTS {
?address locn:fullAddress ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
BIND(str(?literal_withLang) AS ?literal_cleansed)
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:fullAddress ?literal_withLang
}
WHERE {
?address locn:fullAddress ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER EXISTS {
?address locn:fullAddress ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:adminUnitL2 ?literal_withLang
}
INSERT {
?address locn:adminUnitL2 ?literal_cleansed
}
WHERE {
?address locn:adminUnitL2 ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER NOT EXISTS {
?address locn:adminUnitL2 ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
BIND(str(?literal_withLang) AS ?literal_cleansed)
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:adminUnitL2 ?literal_withLang
}
WHERE {
?address locn:adminUnitL2 ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER EXISTS {
?address locn:adminUnitL2 ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:thoroughfare ?literal_withLang
}
INSERT {
?address locn:thoroughfare ?literal_cleansed
}
WHERE {
?address locn:thoroughfare ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER NOT EXISTS {
?address locn:thoroughfare ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
BIND(str(?literal_withLang) AS ?literal_cleansed)
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:thoroughfare ?literal_withLang
}
WHERE {
?address locn:thoroughfare ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER EXISTS {
?address locn:thoroughfare ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address adres:gemeentenaam ?literal_withLang
}
INSERT {
?address adres:gemeentenaam ?literal_cleansed
}
WHERE {
?address adres:gemeentenaam ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER NOT EXISTS {
?address adres:gemeentenaam ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
BIND(str(?literal_withLang) AS ?literal_cleansed)
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address adres:gemeentenaam ?literal_withLang
}
WHERE {
?address adres:gemeentenaam ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER EXISTS {
?address adres:gemeentenaam ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address adres:land ?literal_withLang
}
INSERT {
?address adres:land ?literal_cleansed
}
WHERE {
?address adres:land ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER NOT EXISTS {
?address adres:land ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
BIND(str(?literal_withLang) AS ?literal_cleansed)
}
;
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address adres:land ?literal_withLang
}
WHERE {
?address adres:land ?literal_withLang.
FILTER(lang(?literal_withLang) != "")
FILTER EXISTS {
?address adres:land ?literal_withoutLang
FILTER(lang(?literal_withoutLang) = "")
}
}
;

View File

@@ -0,0 +1,21 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
# In order to be consistent with the rest of the OP application.
WITH <http://mu.semte.ch/graphs/organisatieportaal>
DELETE {
?address locn:fullAddress ?fullAddressWithCountry
}
INSERT {
?address locn:fullAddress ?fullAddressWithoutCountry
}
WHERE {
?address locn:fullAddress ?fullAddressWithCountry
FILTER(STRENDS(?fullAddressWithCountry, ", België"))
BIND(STRBEFORE(?fullAddressWithCountry, ", België") AS ?fullAddressWithoutCountry)
}

View File

@@ -0,0 +1,114 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
# change functie for persoon with kerkbedienaar
DELETE {
graph ?g {
<http://data.lblod.info/id/positiesBedienaar/615C0FB9375CFC000A0005DB> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/61C1A7043C1A230C43B452EC> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/61EAC54BBA00DD4BE2501C75> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/61373446375CFC000A0002DA> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/631994372F583C7A1CD0DBE5> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/6156C06B375CFC000A000548> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
}
}
INSERT {
graph ?g {
<http://data.lblod.info/id/positiesBedienaar/615C0FB9375CFC000A0005DB> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/61C1A7043C1A230C43B452EC> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/61EAC54BBA00DD4BE2501C75> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/61373446375CFC000A0002DA> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/631994372F583C7A1CD0DBE5> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/6156C06B375CFC000A000548> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711>.
}
}
WHERE {
graph ?g {
<http://data.lblod.info/id/positiesBedienaar/615C0FB9375CFC000A0005DB> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/61C1A7043C1A230C43B452EC> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/61EAC54BBA00DD4BE2501C75> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/61373446375CFC000A0002DA> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/631994372F583C7A1CD0DBE5> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
<http://data.lblod.info/id/positiesBedienaar/6156C06B375CFC000A000548> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb>.
}
}
;
# remove the old functies
DELETE {
graph ?g {
?functie ?p ?o.
}
}
where {
graph ?g {
?functie ?p ?o.
VALUES ?functie {
<http://lblod.data.gift/concepts/689b3123e29cff78e310df38a774b9bb> # Kerkbedienaar
<http://lblod.data.gift/concepts/97083de35cd36b36a72185807e941c8a> # Tweede predikant
<http://lblod.data.gift/concepts/158b739bc1087d5246df2fa54acff29c> # Secretaris bij het voorzitterschap van de Synode
<http://lblod.data.gift/concepts/92aad8fc5cc7a13a7b0ddc7cc13c02aa> # Hulppredikant
<http://lblod.data.gift/concepts/67548f1fe5bf52e5a7ad33dcce47472d> # Kapelaan van de andere kerken
<http://lblod.data.gift/concepts/85543bba7601ca598212f0feb9bdb4c2> # Predikant bij het voorzitterschap van de Synode
}
}
}
;
# rename functies
DELETE {
graph ?g {
<http://lblod.data.gift/concepts/ea58c73d9b4fc8a24a4b3eaa73a33995> skos:prefLabel "Kapelaan".
<http://lblod.data.gift/concepts/59837b12c14f215a4efadae950be0072> skos:prefLabel "Onderpastoor".
<http://lblod.data.gift/concepts/84b3a2321d1b69b6de782bb04e1a6862> skos:prefLabel "Parochieassistent".
<http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6> skos:prefLabel "Eerste predikant".
<http://lblod.data.gift/concepts/04d3b5325f2ebc5eaf96849519af4254> skos:prefLabel "Pastoor-deken".
<http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2> skos:prefLabel "Bedienaar".
<http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711> skos:prefLabel "Kapelaan van de kerken te Antwerpen en te Elsene (Geünifieerde anglicaanse kerk)".
}
}
INSERT {
graph ?g {
<http://lblod.data.gift/concepts/ea58c73d9b4fc8a24a4b3eaa73a33995> skos:prefLabel "Coördinator".
<http://lblod.data.gift/concepts/59837b12c14f215a4efadae950be0072> skos:prefLabel "Medepastoor".
<http://lblod.data.gift/concepts/84b3a2321d1b69b6de782bb04e1a6862> skos:prefLabel "Aangesteld priester".
<http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6> skos:prefLabel "Predikant".
<http://lblod.data.gift/concepts/04d3b5325f2ebc5eaf96849519af4254> skos:prefLabel "Rector".
<http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2> skos:prefLabel "Priester".
<http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711> skos:prefLabel "Kapelaan".
}
}
WHERE {
graph ?g {
<http://lblod.data.gift/concepts/ea58c73d9b4fc8a24a4b3eaa73a33995> skos:prefLabel "Kapelaan".
<http://lblod.data.gift/concepts/59837b12c14f215a4efadae950be0072> skos:prefLabel "Onderpastoor".
<http://lblod.data.gift/concepts/84b3a2321d1b69b6de782bb04e1a6862> skos:prefLabel "Parochieassistent".
<http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6> skos:prefLabel "Eerste predikant".
<http://lblod.data.gift/concepts/04d3b5325f2ebc5eaf96849519af4254> skos:prefLabel "Pastoor-deken".
<http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2> skos:prefLabel "Bedienaar".
<http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711> skos:prefLabel "Kapelaan van de kerken te Antwerpen en te Elsene (Geünifieerde anglicaanse kerk)".
}
}
;
INSERT DATA {
graph <http://mu.semte.ch/graphs/organisatieportaal> {
<http://lblod.data.gift/concepts/f274cb5a-ba44-4931-a1a8-38ec34513215> a <http://lblod.data.gift/vocabularies/organisatie/EredienstBeroepen>;
mu:uuid "f274cb5a-ba44-4931-a1a8-38ec34513215";
skos:prefLabel "Diaken";
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/0637cccd657df25049af6c4580c6b2be>;
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://lblod.data.gift/concept-schemes/0637cccd657df25049af6c4580c6b2be>.
}
}

View File

@@ -0,0 +1,19 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3>
a <http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode> ;
<http://mu.semte.ch/vocabularies/core/uuid> "a8b5509b-f86b-48f8-94d6-fe463a9b77e3" ;
<http://www.w3.org/2004/02/skos/core#prefLabel> "Bestuurslid van het bestuur van de eredienst (Grote Helft)" ;
<http://www.w3.org/2004/02/skos/core#inScheme> <http://data.vlaanderen.be/id/conceptscheme/BestuursfunctieCode> ;
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://data.vlaanderen.be/id/conceptscheme/BestuursfunctieCode> ;
<http://mu.semte.ch/vocabularies/ext/appliesTo> <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/04f65457bf125b2dc59fd71917ac3d08> .
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/2962f0bd-2836-4758-9866-8ce8ea2c536f>
a <http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode> ;
<http://mu.semte.ch/vocabularies/core/uuid> "2962f0bd-2836-4758-9866-8ce8ea2c536f" ;
<http://www.w3.org/2004/02/skos/core#prefLabel> "Bestuurslid van het bestuur van de eredienst (Kleine Helft)" ;
<http://www.w3.org/2004/02/skos/core#inScheme> <http://data.vlaanderen.be/id/conceptscheme/BestuursfunctieCode> ;
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://data.vlaanderen.be/id/conceptscheme/BestuursfunctieCode> ;
<http://mu.semte.ch/vocabularies/ext/appliesTo> <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/04f65457bf125b2dc59fd71917ac3d08> .
}
}

View File

@@ -0,0 +1,72 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime a besluit:Bestuursorgaan ;
mu:uuid ?uuidOrgaanInTime ;
org:hasPost ?lidVanRechtswege ;
org:hasPost ?voorzitter ;
org:hasPost ?secretaris ;
org:hasPost ?penningmeester ;
org:hasPost ?bestuurslidGH ;
org:hasPost ?bestuurslidKH ;
mandaat:bindingStart "2023-04-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
mandaat:bindingEinde "2026-03-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
generiek:isTijdspecialisatieVan ?orgaan .
?lidVanRechtswege a mandaat:Mandaat ;
mu:uuid ?uuidLidVanRechtswege ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5972fccd87f864c4ec06bfbd20b5008b> .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/67e6e585166cd97575b3e17ffc430a43> .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ac134b9800b81da3c450d6b9605cef2> .
?penningmeester a mandaat:Mandaat ;
mu:uuid ?uuidPenningmeester ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/180d13930d6f1a3938e0aa7fa9990002> .
?bestuurslidGH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidGH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
?bestuurslidKH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidKH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/2962f0bd-2836-4758-9866-8ce8ea2c536f> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "2023-2026")) as ?uuidOrgaanInTime)
BIND(IRI(CONCAT("http://data.lblod.info/id/eredienstbestuursorganen/", ?uuidOrgaanInTime)) AS ?orgaanInTime)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Rechtswege")) as ?uuidLidVanRechtswege)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidLidVanRechtswege)) AS ?lidVanRechtswege)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2023-2026")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2023-2026")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Penningmeester 2023-2026")) as ?uuidPenningmeester)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidPenningmeester)) AS ?penningmeester)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidGH 2020-2026")) as ?uuidBestuurslidGH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidGH)) AS ?bestuurslidGH)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidKH 2023-2029")) as ?uuidBestuurslidKH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidKH)) AS ?bestuurslidKH)
}

View File

@@ -0,0 +1,64 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime a besluit:Bestuursorgaan ;
mu:uuid ?uuidOrgaanInTime ;
org:hasPost ?expert ;
org:hasPost ?vertegenwoordiger ;
org:hasPost ?secretaris ;
org:hasPost ?voorzitter ;
org:hasPost ?bestuurslid ;
mandaat:bindingStart "2023-04-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
mandaat:bindingEinde "2026-03-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
generiek:isTijdspecialisatieVan ?orgaan .
?expert a mandaat:Mandaat ;
mu:uuid ?uuidExpert ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/8c91c321ad477c4fc372ee36358d3ed4> .
?vertegenwoordiger a mandaat:Mandaat ;
mu:uuid ?uuidVertegenwoordiger ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6e26e94ea4b127eeb850fb6debe07271> .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <hhttp://data.vlaanderen.be/id/concept/BestuursfunctieCode/e2af0ea1a6af96cfb698ac39ad985eea> .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5960262f753661cf84329f3afa9f7df7> .
?bestuurslid a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslid ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f848fa3cc2c5fb7c581a116866293925> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "2023-2026")) as ?uuidOrgaanInTime)
BIND(IRI(CONCAT("http://data.lblod.info/id/eredienstbestuursorganen/", ?uuidOrgaanInTime)) AS ?orgaanInTime)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Expert 2023-2026")) as ?uuidExpert)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidExpert)) AS ?expert)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Vertegenwoordiger 2023-2026")) as ?uuidVertegenwoordiger)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVertegenwoordiger)) AS ?vertegenwoordiger)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2023-2026")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2023-2026")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Bestuurslid 2023-2026")) as ?uuidBestuurslid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslid)) AS ?bestuurslid)
}

View File

@@ -0,0 +1,72 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime a besluit:Bestuursorgaan ;
mu:uuid ?uuidOrgaanInTime ;
org:hasPost ?lidVanRechtswege ;
org:hasPost ?voorzitter ;
org:hasPost ?secretaris ;
org:hasPost ?penningmeester ;
org:hasPost ?bestuurslidGH ;
org:hasPost ?bestuurslidKH ;
mandaat:bindingStart "2026-04-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
mandaat:bindingEinde "2029-03-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
generiek:isTijdspecialisatieVan ?orgaan .
?lidVanRechtswege a mandaat:Mandaat ;
mu:uuid ?uuidLidVanRechtswege ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5972fccd87f864c4ec06bfbd20b5008b> .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/67e6e585166cd97575b3e17ffc430a43> .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ac134b9800b81da3c450d6b9605cef2> .
?penningmeester a mandaat:Mandaat ;
mu:uuid ?uuidPenningmeester ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/180d13930d6f1a3938e0aa7fa9990002> .
?bestuurslidGH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidGH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
?bestuurslidKH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidKH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/2962f0bd-2836-4758-9866-8ce8ea2c536f> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "2026-2029")) as ?uuidOrgaanInTime)
BIND(IRI(CONCAT("http://data.lblod.info/id/eredienstbestuursorganen/", ?uuidOrgaanInTime)) AS ?orgaanInTime)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Rechtswege")) as ?uuidLidVanRechtswege)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidLidVanRechtswege)) AS ?lidVanRechtswege)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2026-2029")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2026-2029")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Penningmeester 2026-2029")) as ?uuidPenningmeester)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidPenningmeester)) AS ?penningmeester)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidGH 2026-2032")) as ?uuidBestuurslidGH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidGH)) AS ?bestuurslidGH)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidKH 2023-2029")) as ?uuidBestuurslidKH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidKH)) AS ?bestuurslidKH)
}

View File

@@ -0,0 +1,64 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime a besluit:Bestuursorgaan ;
mu:uuid ?uuidOrgaanInTime ;
org:hasPost ?expert ;
org:hasPost ?vertegenwoordiger ;
org:hasPost ?secretaris ;
org:hasPost ?voorzitter ;
org:hasPost ?bestuurslid ;
mandaat:bindingStart "2026-04-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
mandaat:bindingEinde "2029-03-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
generiek:isTijdspecialisatieVan ?orgaan .
?expert a mandaat:Mandaat ;
mu:uuid ?uuidExpert ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/8c91c321ad477c4fc372ee36358d3ed4> .
?vertegenwoordiger a mandaat:Mandaat ;
mu:uuid ?uuidVertegenwoordiger ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6e26e94ea4b127eeb850fb6debe07271> .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <hhttp://data.vlaanderen.be/id/concept/BestuursfunctieCode/e2af0ea1a6af96cfb698ac39ad985eea> .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5960262f753661cf84329f3afa9f7df7> .
?bestuurslid a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslid ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f848fa3cc2c5fb7c581a116866293925> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "2026-2029")) as ?uuidOrgaanInTime)
BIND(IRI(CONCAT("http://data.lblod.info/id/eredienstbestuursorganen/", ?uuidOrgaanInTime)) AS ?orgaanInTime)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Expert 2026-2029")) as ?uuidExpert)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidExpert)) AS ?expert)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Vertegenwoordiger 2026-2029")) as ?uuidVertegenwoordiger)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVertegenwoordiger)) AS ?vertegenwoordiger)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2026-2029")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2026-2029")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Bestuurslid 2026-2029")) as ?uuidBestuurslid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslid)) AS ?bestuurslid)
}

View File

@@ -0,0 +1,122 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
DELETE {
graph ?g {
<http://data.lblod.info/id/positiesBedienaar/62A98293D7779543F777951B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1029375CFC000A0005E4> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/616436FD375CFC000A00077B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62EE1A0DD7779543F77796C8> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62F21194D7779543F77796CD> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/621E191A5747C883CA1D36D0> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62177EC55747C883CA1D347B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621C93CA5747C883CA1D35D6> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6217A07A5747C883CA1D34CF> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6217822D5747C883CA1D3496> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/620E28AE5747C883CA1D2E99> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62596CC78A3D153ADACC046A> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62B17981D7779543F7779528> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621755E85747C883CA1D341C> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62179D345747C883CA1D34AB> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62173DDE5747C883CA1D33F7> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/61B747D63C1A230C43B451E5> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6231B914B72F9F4B33507F89> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6217410D5747C883CA1D33FD> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/620E5BD35747C883CA1D2ECE> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621DDEBE5747C883CA1D3666> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621DDAA85747C883CA1D3646> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62174F555747C883CA1D3411> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/620B6CEE5747C883CA1D2DD1> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C2047375CFC000A000646> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C14D4375CFC000A000608> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C365E375CFC000A00064F> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1DB3375CFC000A00063D> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C3870375CFC000A00065A> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C3F29375CFC000A00066D> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1194375CFC000A0005ED> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62596B418A3D153ADACC0458> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1369375CFC000A0005FF> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1BB5375CFC000A000634> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
}
}
INSERT {
graph ?g {
<http://data.lblod.info/id/positiesBedienaar/615C14D4375CFC000A000608> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/62A98293D7779543F777951B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711>.
<http://data.lblod.info/id/positiesBedienaar/615C1029375CFC000A0005E4> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711>.
<http://data.lblod.info/id/positiesBedienaar/616436FD375CFC000A00077B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22>.
<http://data.lblod.info/id/positiesBedienaar/62EE1A0DD7779543F77796C8> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22>.
<http://data.lblod.info/id/positiesBedienaar/62F21194D7779543F77796CD> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621E191A5747C883CA1D36D0> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/62177EC55747C883CA1D347B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/621C93CA5747C883CA1D35D6> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/6217A07A5747C883CA1D34CF> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/6217822D5747C883CA1D3496> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/620E28AE5747C883CA1D2E99> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/62596CC78A3D153ADACC046A> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/62B17981D7779543F7779528> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/621755E85747C883CA1D341C> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/62179D345747C883CA1D34AB> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/62173DDE5747C883CA1D33F7> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/61B747D63C1A230C43B451E5> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/6231B914B72F9F4B33507F89> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/6217410D5747C883CA1D33FD> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/620E5BD35747C883CA1D2ECE> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/621DDEBE5747C883CA1D3666> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/621DDAA85747C883CA1D3646> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/62174F555747C883CA1D3411> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/620B6CEE5747C883CA1D2DD1> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/615C2047375CFC000A000646> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C365E375CFC000A00064F> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C1DB3375CFC000A00063D> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C3870375CFC000A00065A> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C3F29375CFC000A00066D> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C1194375CFC000A0005ED> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/62596B418A3D153ADACC0458> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C1369375CFC000A0005FF> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
<http://data.lblod.info/id/positiesBedienaar/615C1BB5375CFC000A000634> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6>.
}
}
WHERE {
graph ?g {
<http://data.lblod.info/id/positiesBedienaar/62A98293D7779543F777951B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1029375CFC000A0005E4> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/616436FD375CFC000A00077B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62EE1A0DD7779543F77796C8> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62F21194D7779543F77796CD> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d>.
<http://data.lblod.info/id/positiesBedienaar/621E191A5747C883CA1D36D0> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62177EC55747C883CA1D347B> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621C93CA5747C883CA1D35D6> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6217A07A5747C883CA1D34CF> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6217822D5747C883CA1D3496> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/620E28AE5747C883CA1D2E99> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62596CC78A3D153ADACC046A> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62B17981D7779543F7779528> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621755E85747C883CA1D341C> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62179D345747C883CA1D34AB> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62173DDE5747C883CA1D33F7> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/61B747D63C1A230C43B451E5> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6231B914B72F9F4B33507F89> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/6217410D5747C883CA1D33FD> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/620E5BD35747C883CA1D2ECE> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621DDEBE5747C883CA1D3666> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/621DDAA85747C883CA1D3646> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62174F555747C883CA1D3411> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/620B6CEE5747C883CA1D2DD1> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C2047375CFC000A000646> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C14D4375CFC000A000608> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C365E375CFC000A00064F> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1DB3375CFC000A00063D> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C3870375CFC000A00065A> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C3F29375CFC000A00066D> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1194375CFC000A0005ED> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/62596B418A3D153ADACC0458> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1369375CFC000A0005FF> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
<http://data.lblod.info/id/positiesBedienaar/615C1BB5375CFC000A000634> <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2>.
}
}

View File

@@ -0,0 +1,50 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH ?g {
?orgaanInTime mandaat:bindingEinde ?end .
}
} INSERT {
GRAPH ?g {
?orgaanInTime mandaat:bindingEinde ?endDateTime .
}
} WHERE {
GRAPH ?g {
?bestuurseenheid a ?type .
?bestuursorgaan besluit:bestuurt ?bestuurseenheid .
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
?orgaanInTime mandaat:bindingEinde ?end .
FILTER (datatype(?end) = xsd:date)
BIND(strdt(concat(str(?end), 'T01:00:00'), xsd:dateTime) as ?endDateTime)
}
}
;
DELETE {
GRAPH ?g {
?orgaanInTime mandaat:bindingStart ?start .
}
} INSERT {
GRAPH ?g {
?orgaanInTime mandaat:bindingStart ?startDateTime .
}
} WHERE {
GRAPH ?g {
?bestuurseenheid a ?type .
?bestuursorgaan besluit:bestuurt ?bestuurseenheid .
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
?orgaanInTime mandaat:bindingStart ?start .
FILTER (datatype(?start) = xsd:date)
BIND(strdt(concat(str(?start), 'T01:00:00'), xsd:dateTime) as ?startDateTime)
}
}

View File

@@ -0,0 +1,52 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH ?g {
?orgaanInTime mandaat:bindingEinde ?end .
}
} INSERT {
GRAPH ?g {
?orgaanInTime mandaat:bindingEinde ?endDateTime .
}
} WHERE {
GRAPH ?g {
?bestuurseenheid a ?type .
?bestuursorgaan besluit:bestuurt ?bestuurseenheid .
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
?orgaanInTime mandaat:bindingEinde ?end .
FILTER (HOURS(?end) = 1)
BIND(strdt(concat(xsd:date(?end), 'T00:00:00'), xsd:dateTime) as ?endDateTime)
}
}
;
DELETE {
GRAPH ?g {
?orgaanInTime mandaat:bindingStart ?start .
}
} INSERT {
GRAPH ?g {
?orgaanInTime mandaat:bindingStart ?startDateTime .
}
} WHERE {
GRAPH ?g {
?bestuurseenheid a ?type .
?bestuursorgaan besluit:bestuurt ?bestuurseenheid .
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
?orgaanInTime mandaat:bindingStart ?start .
FILTER (HOURS(?start) = 1)
BIND(strdt(concat(xsd:date(?start), 'T00:00:00'), xsd:dateTime) as ?startDateTime)
}
}

View File

@@ -0,0 +1,195 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
# Orthodox
INSERT {
GRAPH ?g {
?bestuurseenheid ere:wordtBediendDoor ?newMinisterPosition .
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
mu:uuid ?uuidNewMinisterPosition ;
ere:functie ?functie .
}
}
WHERE {
GRAPH ?g {
?bestuurseenheid a ere:BestuurVanDeEredienst ;
ere:typeEredienst <http://lblod.data.gift/concepts/84bcd6896f575bae4857ff8d2764bed8> . # orthodox
VALUES ?functie {
<http://lblod.data.gift/concepts/f274cb5a-ba44-4931-a1a8-38ec34513215> # Diaken
<http://lblod.data.gift/concepts/efbf2ff50b5c4f693f129ac03319c4f2> # Priester
<http://lblod.data.gift/concepts/04d3b5325f2ebc5eaf96849519af4254> # Rector
}
FILTER NOT EXISTS {
?bestuurseenheid ere:wordtBediendDoor ?ministerPosition .
?ministerPosition ere:functie ?functie .
}
BIND(MD5(CONCAT(?bestuurseenheid, ?functie)) as ?uuidNewMinisterPosition)
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
}
}
;
# Islamitisch
INSERT {
GRAPH ?g {
?bestuurseenheid ere:wordtBediendDoor ?newMinisterPosition .
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
mu:uuid ?uuidNewMinisterPosition ;
ere:functie ?functie .
}
}
WHERE {
GRAPH ?g {
?bestuurseenheid a ere:BestuurVanDeEredienst ;
ere:typeEredienst <http://lblod.data.gift/concepts/9d8bd472a00bf0a5c7b7186606365a52> .
VALUES ?functie {
<http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22> # Eerste Imam in rang
<http://lblod.data.gift/concepts/c4a3fd586211b17b06f574885e23f355> # Tweede Imam in rang
<http://lblod.data.gift/concepts/5ebb798bd59c3b48c25116032caa02b7> # Derde Imam in rang
}
FILTER NOT EXISTS {
?bestuurseenheid ere:wordtBediendDoor ?ministerPosition .
?ministerPosition ere:functie ?functie .
}
BIND(MD5(CONCAT(?bestuurseenheid, ?functie)) as ?uuidNewMinisterPosition)
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
}
}
;
# Rooms-Katholiek
INSERT {
GRAPH ?g {
?bestuurseenheid ere:wordtBediendDoor ?newMinisterPosition .
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
mu:uuid ?uuidNewMinisterPosition ;
ere:functie ?functie .
}
}
WHERE {
GRAPH ?g {
?bestuurseenheid a ere:BestuurVanDeEredienst ;
ere:typeEredienst <http://lblod.data.gift/concepts/b13d1d623626bc1ee75c7d20bc60e3c0> . # Rooms-Katholiek
VALUES ?functie {
<http://lblod.data.gift/concepts/ea58c73d9b4fc8a24a4b3eaa73a33995> # Coördinator
<http://lblod.data.gift/concepts/59837b12c14f215a4efadae950be0072> # Medepastoor
<http://lblod.data.gift/concepts/84b3a2321d1b69b6de782bb04e1a6862> # Aangesteld priester
<http://lblod.data.gift/concepts/5c7fefe1b921dfd4c550924bb7a9331d> # Pastoor
}
FILTER NOT EXISTS {
?bestuurseenheid ere:wordtBediendDoor ?ministerPosition .
?ministerPosition ere:functie ?functie .
}
BIND(MD5(CONCAT(?bestuurseenheid, ?functie)) as ?uuidNewMinisterPosition)
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
}
}
;
# Israëlitisch
INSERT {
GRAPH ?g {
?bestuurseenheid ere:wordtBediendDoor ?newMinisterPosition .
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
mu:uuid ?uuidNewMinisterPosition ;
ere:functie ?functie .
}
}
WHERE {
GRAPH ?g {
?bestuurseenheid a ere:BestuurVanDeEredienst ;
ere:typeEredienst <http://lblod.data.gift/concepts/1a1abeafc973d27cebcb2d7a15b2d823> .
VALUES ?functie {
<http://lblod.data.gift/concepts/17e7177aba2596705ad3c209019c729a> # Officiërend bedienaar
<http://lblod.data.gift/concepts/27b3d149dd2a726effe749572177682e> # Rabbijn
}
FILTER NOT EXISTS {
?bestuurseenheid ere:wordtBediendDoor ?ministerPosition .
?ministerPosition ere:functie ?functie .
}
BIND(MD5(CONCAT(?bestuurseenheid, ?functie)) as ?uuidNewMinisterPosition)
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
}
}
;
# Anglicaans
INSERT {
GRAPH ?g {
?bestuurseenheid ere:wordtBediendDoor ?newMinisterPosition .
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
mu:uuid ?uuidNewMinisterPosition ;
ere:functie ?functie .
}
}
WHERE {
GRAPH ?g {
?bestuurseenheid a ere:BestuurVanDeEredienst ;
ere:typeEredienst <http://lblod.data.gift/concepts/99536dd6eb0d2ef38a89efafb17e7389> . # Anglicaans
VALUES ?functie {
<http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711> # Kapelaan
}
FILTER NOT EXISTS {
?bestuurseenheid ere:wordtBediendDoor ?ministerPosition .
?ministerPosition ere:functie ?functie .
}
BIND(MD5(CONCAT(?bestuurseenheid, ?functie)) as ?uuidNewMinisterPosition)
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
}
}
;
# Protestants
INSERT {
GRAPH ?g {
?bestuurseenheid ere:wordtBediendDoor ?newMinisterPosition .
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
mu:uuid ?uuidNewMinisterPosition ;
ere:functie ?functie .
}
}
WHERE {
GRAPH ?g {
?bestuurseenheid a ere:BestuurVanDeEredienst ;
ere:typeEredienst <http://lblod.data.gift/concepts/e8cba1540b35a32e9cb45126c38c03c6> . # Protestants
VALUES ?functie {
<http://lblod.data.gift/concepts/83d50e9184ae4a628851370079d162f6> # predikant
}
FILTER NOT EXISTS {
?bestuurseenheid ere:wordtBediendDoor ?ministerPosition .
?ministerPosition ere:functie ?functie .
}
BIND(MD5(CONCAT(?bestuurseenheid, ?functie)) as ?uuidNewMinisterPosition)
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
}
}

View File

@@ -0,0 +1,113 @@
# Part 1: set dates for 2020-2023
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime mandaat:bindingStart ?start .
?orgaanInTime mandaat:bindingEinde ?end .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime mandaat:bindingStart "2020-04-01T00:00:00"^^xsd:dateTime .
?orgaanInTime mandaat:bindingEinde "2023-03-31T00:00:00"^^xsd:dateTime .
}
} WHERE {
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
OPTIONAL { ?orgaanInTime mandaat:bindingStart ?start . }
OPTIONAL { ?orgaanInTime mandaat:bindingEinde ?end . }
{
SELECT DISTINCT ?bestuursorgaan MAX(?end) as ?maxEnd WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES ?type {
ere:BestuurVanDeEredienst
ere:CentraalBestuurVanDeEredienst
}
?bestuurseenheid a ?type .
FILTER NOT EXISTS {
?bestuurseenheid <http://www.w3.org/ns/regorg#orgStatus> <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> .
}
?bestuursorgaan besluit:bestuurt ?bestuurseenheid .
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
OPTIONAL { ?orgaanInTime mandaat:bindingStart ?start . }
OPTIONAL {
?orgaanInTime mandaat:bindingEinde ?end .
FILTER( ?end != "2026-03-31T00:00:00"^^xsd:dateTime )
FILTER( ?end != "2029-03-31T00:00:00"^^xsd:dateTime )
}
}
}
GROUP BY ?bestuursorgaan
ORDER BY ?maxEnd
}
# If we have a maxEnd value from the subquery, we want the organ in time that has the same end value to update it
# If there is no maxEnd value, then we need the orgaan that has no end value set
FILTER( IF(bound(?maxEnd), ?maxEnd = ?end, !bound(?end)) )
}
;
# Part 2: set dates for 2017-2020
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime mandaat:bindingStart ?start .
?orgaanInTime mandaat:bindingEinde ?end .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime mandaat:bindingStart "2017-04-01T00:00:00"^^xsd:dateTime .
?orgaanInTime mandaat:bindingEinde "2020-03-31T00:00:00"^^xsd:dateTime .
}
} WHERE {
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
OPTIONAL { ?orgaanInTime mandaat:bindingStart ?start . }
OPTIONAL { ?orgaanInTime mandaat:bindingEinde ?end . }
{
SELECT DISTINCT ?bestuursorgaan MAX(?end) as ?maxEnd WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES ?type {
ere:BestuurVanDeEredienst
ere:CentraalBestuurVanDeEredienst
}
?bestuurseenheid a ?type .
FILTER NOT EXISTS {
?bestuurseenheid <http://www.w3.org/ns/regorg#orgStatus> <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> .
}
?bestuursorgaan besluit:bestuurt ?bestuurseenheid .
?orgaanInTime generiek:isTijdspecialisatieVan ?bestuursorgaan .
OPTIONAL { ?orgaanInTime mandaat:bindingStart ?start . }
OPTIONAL {
?orgaanInTime mandaat:bindingEinde ?end .
FILTER( ?end != "2023-03-31T00:00:00"^^xsd:dateTime )
FILTER( ?end != "2026-03-31T00:00:00"^^xsd:dateTime )
FILTER( ?end != "2029-03-31T00:00:00"^^xsd:dateTime )
}
}
}
GROUP BY ?bestuursorgaan
ORDER BY ?maxEnd
}
# If we have a maxEnd value from the subquery, we want the organ in time that has the same end value to update it
# If there is no maxEnd value, then we need the orgaan that has no end value set
FILTER( IF(bound(?maxEnd), ?maxEnd = ?end, !bound(?end)) )
}

View File

@@ -0,0 +1,148 @@
# Add missing mandates to central worship services
## 2020 - 2023
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?expert .
?expert a mandaat:Mandaat ;
mu:uuid ?uuidExpert ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/8c91c321ad477c4fc372ee36358d3ed4> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?expert .
?expert org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/8c91c321ad477c4fc372ee36358d3ed4> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Expert 2020-2023")) as ?uuidExpert)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidExpert)) AS ?expert)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?vertegenwoordiger .
?vertegenwoordiger a mandaat:Mandaat ;
mu:uuid ?uuidVertegenwoordiger ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6e26e94ea4b127eeb850fb6debe07271> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?vertegenwoordiger .
?vertegenwoordiger org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6e26e94ea4b127eeb850fb6debe07271> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Vertegenwoordiger 2020-2023")) as ?uuidVertegenwoordiger)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVertegenwoordiger)) AS ?vertegenwoordiger)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?secretaris .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/e2af0ea1a6af96cfb698ac39ad985eea> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?secretaris .
?secretaris org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/e2af0ea1a6af96cfb698ac39ad985eea> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2020-2023")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5960262f753661cf84329f3afa9f7df7> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5960262f753661cf84329f3afa9f7df7> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2020-2023")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?bestuurslid .
?bestuurslid a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslid ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f848fa3cc2c5fb7c581a116866293925> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?bestuurslid .
?bestuurslid org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f848fa3cc2c5fb7c581a116866293925> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Bestuurslid 2020-2023")) as ?uuidBestuurslid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslid)) AS ?bestuurslid)
}

View File

@@ -0,0 +1,148 @@
# Add missing mandates to central worship services
## 2027 - 2020
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?expert .
?expert a mandaat:Mandaat ;
mu:uuid ?uuidExpert ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/8c91c321ad477c4fc372ee36358d3ed4> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?expert .
?expert org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/8c91c321ad477c4fc372ee36358d3ed4> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Expert 2017-2020")) as ?uuidExpert)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidExpert)) AS ?expert)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?vertegenwoordiger .
?vertegenwoordiger a mandaat:Mandaat ;
mu:uuid ?uuidVertegenwoordiger ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6e26e94ea4b127eeb850fb6debe07271> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?vertegenwoordiger .
?vertegenwoordiger org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/6e26e94ea4b127eeb850fb6debe07271> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Vertegenwoordiger 2017-2020")) as ?uuidVertegenwoordiger)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVertegenwoordiger)) AS ?vertegenwoordiger)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?secretaris .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/e2af0ea1a6af96cfb698ac39ad985eea> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?secretaris .
?secretaris org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/e2af0ea1a6af96cfb698ac39ad985eea> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2017-2020")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5960262f753661cf84329f3afa9f7df7> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5960262f753661cf84329f3afa9f7df7> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2017-2020")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?bestuurslid .
?bestuurslid a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslid ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f848fa3cc2c5fb7c581a116866293925> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:CentraalBestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?bestuurslid .
?bestuurslid org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/f848fa3cc2c5fb7c581a116866293925> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Bestuurslid 2017-2020")) as ?uuidBestuurslid)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslid)) AS ?bestuurslid)
}

View File

@@ -0,0 +1,302 @@
# Add missing mandates to worship services
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
## Case LidVanRechtswege : shared mandate for all the organen in time
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?lidVanRechtswege .
?lidVanRechtswege a mandaat:Mandaat ;
mu:uuid ?uuidLidVanRechtswege ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5972fccd87f864c4ec06bfbd20b5008b> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES (?start ?end) {
("2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>)
("2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>)
}
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart ?start ;
mandaat:bindingEinde ?end .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?lidVanRechtswege .
?lidVanRechtswege org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5972fccd87f864c4ec06bfbd20b5008b> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Rechtswege")) as ?uuidLidVanRechtswege)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidLidVanRechtswege)) AS ?lidVanRechtswege)
}
## Case Bestuursleden, small or big half : 2017 is the beggining of a KH, 2020 of a GH.
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?bestuurslidGH .
?bestuurslidGH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidGH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?bestuurslidGH .
?bestuurslidGH org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidGH 2020-2026")) as ?uuidBestuurslidGH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidGH)) AS ?bestuurslidGH)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?bestuurslidGH .
?bestuurslidGH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidGH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?bestuurslidGH .
?bestuurslidGH org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidGH 2014-2020")) as ?uuidBestuurslidGH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidGH)) AS ?bestuurslidGH)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?bestuurslidKH .
?bestuurslidKH a mandaat:Mandaat ;
mu:uuid ?uuidBestuurslidKH ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/2962f0bd-2836-4758-9866-8ce8ea2c536f> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES (?start ?end) {
("2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>)
("2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime>)
}
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart ?start ;
mandaat:bindingEinde ?end .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?bestuurslidKH .
?bestuurslidKH org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/2962f0bd-2836-4758-9866-8ce8ea2c536f> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "BestuurslidKH 2017-2023")) as ?uuidBestuurslidKH)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidBestuurslidKH)) AS ?bestuurslidKH)
}
;
## Other cases are simpler, one mandate is linked to only one orgaan in time. Creating them when missing.
### 2020 - 2023
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/67e6e585166cd97575b3e17ffc430a43> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/67e6e585166cd97575b3e17ffc430a43> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2020-2023")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?secretaris .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ac134b9800b81da3c450d6b9605cef2> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?secretaris .
?secretaris org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ac134b9800b81da3c450d6b9605cef2> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2020-2023")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?penningmeester .
?penningmeester a mandaat:Mandaat ;
mu:uuid ?uuidPenningmeester ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/180d13930d6f1a3938e0aa7fa9990002> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2020-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2023-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?penningmeester .
?penningmeester org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/180d13930d6f1a3938e0aa7fa9990002> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Penningmeester 2020-2023")) as ?uuidPenningmeester)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidPenningmeester)) AS ?penningmeester)
}
### 2017 - 2020
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter a mandaat:Mandaat ;
mu:uuid ?uuidVoorzitter ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/67e6e585166cd97575b3e17ffc430a43> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?voorzitter .
?voorzitter org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/67e6e585166cd97575b3e17ffc430a43> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Voorzitter 2017-2020")) as ?uuidVoorzitter)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidVoorzitter)) AS ?voorzitter)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?secretaris .
?secretaris a mandaat:Mandaat ;
mu:uuid ?uuidSecretaris ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ac134b9800b81da3c450d6b9605cef2> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?secretaris .
?secretaris org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ac134b9800b81da3c450d6b9605cef2> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Secretaris 2017-2020")) as ?uuidSecretaris)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidSecretaris)) AS ?secretaris)
}
;
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?orgaanInTime org:hasPost ?penningmeester .
?penningmeester a mandaat:Mandaat ;
mu:uuid ?uuidPenningmeester ;
org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/180d13930d6f1a3938e0aa7fa9990002> .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?worshipService a ere:BestuurVanDeEredienst .
?orgaan besluit:bestuurt ?worshipService .
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
mandaat:bindingStart "2017-04-01T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
mandaat:bindingEinde "2020-03-31T00:00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
FILTER NOT EXISTS {
?orgaanInTime org:hasPost ?penningmeester .
?penningmeester org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/180d13930d6f1a3938e0aa7fa9990002> .
}
}
BIND(MD5(CONCAT(?worshipService, ?orgaan, "Penningmeester 2017-2020")) as ?uuidPenningmeester)
BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?uuidPenningmeester)) AS ?penningmeester)
}

View File

@@ -0,0 +1,59 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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 adres: <https://data.vlaanderen.be/ns/adres#>
DELETE {GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid ?p ?o
}
}
where {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?betrokkenheid org:organization ?bestuur;
rdf:type ere:BetrokkenLokaleBesturen.
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid org:organization ?worshipService.
?betrokkenheid ere:typebetrokkenheid ?typebetrokkenheid.
?betrokkenheid ?p ?o.
filter(?worshipService = <http://data.lblod.info/id/besturenVanDeEredienst/3292a5d26db54a3173eeab234727be29> &&
?betrokkenheid = <http://data.lblod.info/id/betrokkenLokaleBesturen/ca7e4f721a9c16a8cb263209b0cdcdb6>)
}
}

View File

@@ -0,0 +1,32 @@
DELETE {
GRAPH ?g {
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur ?pbestuur ?obestuur .
?primarySite ?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?identifier ?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH ?g {
VALUES ?bestuur {
<http://data.lblod.info/id/besturenVanDeEredienst/578bf96f86056e2260dc21cee91aa519>
}
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
<http://www.w3.org/ns/adms#identifier> ?identifier ;
?pbestuur ?obestuur .
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}

View File

@@ -0,0 +1,61 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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 adres: <https://data.vlaanderen.be/ns/adres#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid ?p ?o
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES ?administrativeUnit{
<http://data.lblod.info/id/bestuurseenheden/b456cda7fa9b2b176adb216e5598aeeb60ff19753a5a08ade6ffd32e9a0ead89> # Edegem
<http://data.lblod.info/id/bestuurseenheden/38dc63f50a4f7ea61ef741d8944a874a59ba84b69b9ff3e73f69680da2c6ef37> # Aartselaar
<http://data.lblod.info/id/bestuurseenheden/670db1d66c0de3b931962e1044033ccfa9d6e3023aa9828a5f252c3bc69bd32c> # Antwerpen
}
VALUES ?worshipService {
<http://data.lblod.info/id/besturenVanDeEredienst/168d5fec5ee04be393c30d5d5bc88074> # Kerkfabriek St.-Niklaas van Hemiksem
}
?betrokkenheid
org:organization ?bestuur;
rdf:type ere:BetrokkenLokaleBesturen.
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid
org:organization ?worshipService;
ere:typebetrokkenheid ?typebetrokkenheid;
?p ?o.
}
}

View File

@@ -0,0 +1,59 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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 adres: <https://data.vlaanderen.be/ns/adres#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid ?p ?o
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES ?administrativeUnit{
<http://data.lblod.info/id/bestuurseenheden/421187a1c73dac9514080c9eee61d018a1fb93977cf7aa96bff64f35dfd08961> # Maarkedal
}
VALUES ?worshipService {
<http://data.lblod.info/id/besturenVanDeEredienst/55dead3d70da2513e83ce1ceee9820d4> # Kerkfabriek St.-Hermes van Ronse
}
?betrokkenheid
org:organization ?bestuur;
rdf:type ere:BetrokkenLokaleBesturen.
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid
org:organization ?worshipService;
ere:typebetrokkenheid ?typebetrokkenheid;
?p ?o.
}
}

View File

@@ -0,0 +1,66 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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 adres: <https://data.vlaanderen.be/ns/adres#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid ?p ?o
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES ?administrativeUnit{
<http://data.lblod.info/id/bestuurseenheden/3b1e0143755729396654f651bfed689681274839c427f9598e930d816fb7a1c8> # Kraainem
<http://data.lblod.info/id/bestuurseenheden/476ddecbaf169d4c9af3ca8ed6725f4efebdfdb9647fe82ec4406496c6e930d9> # Overijse
<http://data.lblod.info/id/bestuurseenheden/3b337ebeb02ede5e152c952e2f24aa1bff3ebbb6afb968a647cb05efe72c0237> # Wezembeek-Oppem
<http://data.lblod.info/id/bestuurseenheden/003e84121111866af60611a59e13d4c478718f60472655936edec1e352a34c5f> # Huldenberg
<http://data.lblod.info/id/bestuurseenheden/319db6e275f281d0280da90d6f6aba3462f4e47b6f53a34639feb91015a5822b> # Oud-Heverlee
<http://data.lblod.info/id/bestuurseenheden/7c44225c68f7535a603d3a0a0c57a6424e8baa9fd066b6b9baa636d0facddb72> # Bertem
}
VALUES ?worshipService {
<http://data.lblod.info/id/besturenVanDeEredienst/a596850e9aa27969a25f73137d300306> #Anglicaanse Kerk Saint Paul's Church van Tervuren
<http://data.lblod.info/id/besturenVanDeEredienst/e2eea8a352821c9c1f1827f1cfde9f24> #Anglicaanse Kerk Saint Martha and Mary's van Leuven
}
?betrokkenheid
org:organization ?bestuur;
rdf:type ere:BetrokkenLokaleBesturen.
?administrativeUnit ere:betrokkenBestuur ?betrokkenheid.
?betrokkenheid
org:organization ?worshipService;
ere:typebetrokkenheid ?typebetrokkenheid;
ere:financieringspercentage 0;
?p ?o.
}
}

View File

@@ -0,0 +1,38 @@
PREFIX adms: <http://www.w3.org/ns/adms#>
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?org org:hasPrimarySite ?site.
?site
organisatie:bestaatUit ?address;
?sp ?so.
?address ?ap ?ao.
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?org org:hasPrimarySite ?site.
?site
organisatie:bestaatUit ?address;
?sp ?so.
?address ?ap ?ao.
{
SELECT ?site (count(?o) AS ?c)
WHERE {
?o org:hasPrimarySite ?site
}
GROUP BY ?site
HAVING (COUNT(DISTINCT ?o) > 1)
ORDER BY ?site
}
}
}

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
DELETE DATA {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://data.lblod.info/id/representatieveOrganen/0ebb44c2ef14d86978ea85e74d128ad1> <http://www.w3.org/2004/02/skos/core#prefLabel> "Oecumenisch Patriarchaat van Konstantinopel" .
}
}
;
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://data.lblod.info/id/representatieveOrganen/0ebb44c2ef14d86978ea85e74d128ad1> <http://www.w3.org/2004/02/skos/core#prefLabel> "Oecumenisch Patriarchaat van Constantinopel" .
}
}

View File

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

View File

@@ -0,0 +1,13 @@
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ere: <http://data.lblod.info/vocabularies/erediensten/> .
@prefix besluit: <http://data.vlaanderen.be/ns/besluit#> .
@prefix regorg: <http://www.w3.org/ns/regorg#> .
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
@prefix org: <http://www.w3.org/ns/org#> .
<http://data.lblod.info/id/besturenVanDeEredienst/578bf96f86056e2260dc21cee91aa519> a ere:BestuurVanDeEredienst, besluit:Bestuurseenheid ;
ere:typeEredienst <http://lblod.data.gift/concepts/b13d1d623626bc1ee75c7d20bc60e3c0> ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/66ec74fd-8cfc-4e16-99c6-350b35012e86> ;
mu:uuid "578bf96f86056e2260dc21cee91aa519" ;
skos:prefLabel "Kerkfabriek St.-Baafs van Gent" ;
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> .

View File

@@ -0,0 +1,18 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH ?g {
?subject skos:prefLabel ?label.
}
}
INSERT {
GRAPH ?g {
?subject skos:prefLabel """Kerkfabriek Vredegem""".
}
}
WHERE {
BIND(<http://data.lblod.info/id/besturenVanDeEredienst/578bf96f86056e2260dc21cee91aa519> as ?subject)
GRAPH ?g {
?subject skos:prefLabel ?label.
}
}

View File

@@ -0,0 +1,41 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur ?pbestuur ?obestuur .
?primarySite ?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier ?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
VALUES ?bestuur {
<http://data.lblod.info/id/besturenVanDeEredienst/63638B718DE5818A7C9F4358> # OP-1909 :: Ensar
<http://data.lblod.info/id/besturenVanDeEredienst/6374E1604B5FEAF28DEDE73C> # OP-1913 :: Attaqwa
<http://data.lblod.info/id/besturenVanDeEredienst/6374E0034B5FEAF28DEDE730> # OP-1914 :: Imam-i Buhari
<http://data.lblod.info/id/besturenVanDeEredienst/62C2DB1AD7779543F7779588> # OP-1926 :: Orthodoxe Parochie van de Heilige Nino
<http://data.lblod.info/id/besturenVanDeEredienst/625E764BFEE49A5CF118EE5C> # OP-1924 :: Islamitisch en cultureel centrum Al Umma Linkeroever
<http://data.lblod.info/id/besturenVanDeEredienst/62E8C415D7779543F77796A7> # OP-1922 :: Essalaam
}
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
<http://www.w3.org/ns/adms#identifier> ?identifier ;
?pbestuur ?obestuur .
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}

View File

@@ -0,0 +1,15 @@
PREFIX dct: <http://purl.org/dc/terms/>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/6375D6B34B5FEAF28DEDE7CA> dct:date "2001-01-01"^^xsd:date .
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/6375D6B34B5FEAF28DEDE7CA> dct:date "2008-01-01"^^xsd:date .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/6375D6B34B5FEAF28DEDE7CA> dct:date "2001-01-01"^^xsd:date .
}
}

View File

@@ -0,0 +1,26 @@
DELETE {
GRAPH ?g {
?role <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22> .
}
} INSERT {
GRAPH ?g {
?role <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/5ebb798bd59c3b48c25116032caa02b7> .
}
} WHERE {
GRAPH ?g {
VALUES ?bedienaar {
<http://data.lblod.info/id/rollenBedienaar/6332F3D4036B579F0A26FF25>
<http://data.lblod.info/id/rollenBedienaar/6363D2938DE5818A7C9F43F1>
<http://data.lblod.info/id/rollenBedienaar/63568F678DE5818A7C9F4253>
<http://data.lblod.info/id/rollenBedienaar/6363D6068DE5818A7C9F4408>
<http://data.lblod.info/id/rollenBedienaar/63568E2B8DE5818A7C9F424C>
<http://data.lblod.info/id/rollenBedienaar/636A5E368DE5818A7C9F447C>
<http://data.lblod.info/id/rollenBedienaar/636A5D1B8DE5818A7C9F4478>
<http://data.lblod.info/id/rollenBedienaar/63330740036B579F0A26FF43>
<http://data.lblod.info/id/rollenBedienaar/63330552036B579F0A26FF3E>
}
?bedienaar <http://www.w3.org/ns/org#holds> ?role .
?role <http://data.lblod.info/vocabularies/erediensten/functie> <http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22> .
}
}

View File

@@ -68,4 +68,6 @@ services:
file:
restart: "no"
delta-producer-dump-file-publisher:
restart: "no"
restart: "no"
construct-administrative-unit-relationships:
restart: "no"

View File

@@ -36,7 +36,7 @@ services:
restart: always
logging: *default-logging
db:
image: cecemel/mu-authorization:0.6.0-beta.8
image: semtech/mu-authorization:feature-service-roam-r1
environment:
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
LOG_OUTGOING_SPARQL_QUERIES: "true"
@@ -152,13 +152,13 @@ services:
links:
- db:database
adressenregister:
image: lblod/adressenregister-fuzzy-search-service:0.6.0
image: lblod/adressenregister-fuzzy-search-service:0.6.2
labels:
- "logging=true"
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.11.0-4
image: lblod/frontend-organization-portal:1.13.3
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
@@ -195,6 +195,12 @@ services:
- db:database
volumes:
- ./config/jobs-controller/:/config/
construct-administrative-unit-relationships:
image: lblod/construct-administrative-unit-relationships-service:0.1.0
links:
- db:database
restart: always
logging: *default-logging
################################################################################
# DELTA GENERAL
################################################################################