From e0d945f96073f874240ae3ba52db600fed659146 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 14 Aug 2024 16:55:49 +0200 Subject: [PATCH 01/19] feat: add new classification code Vlaamse gemeenschapscommissie --- ...gemeenschapscommissie-classification-code.sparql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240814145427-add-vlaamse-gemeenschapscommissie-classification-code.sparql diff --git a/config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240814145427-add-vlaamse-gemeenschapscommissie-classification-code.sparql b/config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240814145427-add-vlaamse-gemeenschapscommissie-classification-code.sparql new file mode 100644 index 0000000..1fa8c94 --- /dev/null +++ b/config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240814145427-add-vlaamse-gemeenschapscommissie-classification-code.sparql @@ -0,0 +1,13 @@ +PREFIX mu: +PREFIX skos: + +INSERT DATA { + GRAPH { + a ; + a ; + mu:uuid """d90c511e-f827-488c-84ba-432c8f69561c""" ; + skos:prefLabel """Vlaamse gemeenschapscommissie""" ; + skos:inScheme ; + skos:topConceptOf . + } +} From fdd83c93bb1ee523544a7469ef17eb24426f8370 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 21 Aug 2024 15:49:55 +0200 Subject: [PATCH 02/19] feat: migration to import actual VGC The Vlaamse Gemeenschapscommissie is a special kind of administrative unit, with its own specific classification code (which was added in a previous commit). The core data, address, and contact information was provided by the business. Note: currently the province in the address is intentionally left empty. This data will be provided (or entered) later by business. --- ...-gemeenschapscommissie-organisation.sparql | 129 ++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240821134726-add-vlaamse-gemeenschapscommissie-organisation.sparql diff --git a/config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240821134726-add-vlaamse-gemeenschapscommissie-organisation.sparql b/config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240821134726-add-vlaamse-gemeenschapscommissie-organisation.sparql new file mode 100644 index 0000000..276f6e6 --- /dev/null +++ b/config/migrations/2024/20240814145303-add-vlaamse-gemeenschapscommissie/20240821134726-add-vlaamse-gemeenschapscommissie-organisation.sparql @@ -0,0 +1,129 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX regorg: +PREFIX adms: +PREFIX generiek: +PREFIX org: +PREFIX organisatie: +PREFIX ere: +PREFIX adres: +PREFIX locn: +PREFIX foaf: +PREFIX schema: + +INSERT { + GRAPH { + ?vgcUri a , + , + . + + ?vgcUri mu:uuid ?vgcUuid ; + skos:prefLabel """Vlaamse Gemeenschapscommissie""" ; + regorg:legalName """Vlaamse Gemeenschapscommissie""" ; + skos:altLabel """VGC""" ; + skos:altLabel """Commission communautaire flamande""" ; + org:classification . # Vlaamse gemeenschapscommissie + } + + GRAPH { + ?vgcUri regorg:orgStatus . # Actief + + # KBO number + ?vgcUri adms:identifier ?kboIdUri . + ?kboIdUri a adms:Identifier ; + mu:uuid ?kboIdUuid ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator ?kboStructUri . + ?kboStructUri a generiek:GestructureerdeIdentificator ; + mu:uuid ?kboStructUuid ; + generiek:lokaleIdentificator """0240682635""" . + + # Placeholder OVO number + ?vgcUri adms:identifier ?ovoIdUri . + ?ovoIdUri a adms:Identifier ; + mu:uuid ?ovoIdUuid ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator ?ovoStructUri . + ?ovoStructUri a generiek:GestructureerdeIdentificator ; + mu:uuid ?ovoStructUuid . + + # Placeholder for SharePoint identifier + ?vgcUri adms:identifier ?sharepointIdUri . + ?sharepointIdUri a adms:Identifier ; + mu:uuid ?sharepointIdUuid ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator ?sharepointStructUri . + ?sharepointStructUri a generiek:GestructureerdeIdentificator ; + mu:uuid ?sharepointStructUuid . + + # Primary Site + ?vgcUri org:hasPrimarySite ?primarySiteUri . + ?primarySiteUri a org:Site ; + mu:uuid ?primarySiteUuid ; + organisatie:bestaatUit ?addressUri ; + org:siteAddress ?primaryContactPointUri ; + org:siteAddress ?secondaryContactPointUri ; + ere:vestigingstype . # Maatschappelijke zetel + + ## Address + ?addressUri a locn:Address ; + mu:uuid ?addressUuid ; + adres:Adresvoorstelling.huisnummer "135" ; + locn:thoroughfare "Emile Jacqmainlaan" ; + locn:postCode "1000" ; + adres:gemeentenaam "Brussel" ; + adres:land """België""" ; + locn:fullAddress """Emile Jacqmainlaan 135, 1000 Brussel, België""" . + + ## Primary contact point + ?primaryContactPointUri a schema:ContactPoint ; + mu:uuid ?primaryContactPointUuid ; + schema:telephone "tel:+3225630300" ; + schema:email "info@vgc.be" ; + foaf:page "https://www.vgc.be" ; + schema:contactType "Primary" . + + ## Secondary contact point + ?secondaryContactPointUri a schema:ContactPoint ; + mu:uuid ?secondaryContactPointUuid ; + schema:contactType "Secondary" . + } +} WHERE { + BIND("9e6b6eb3-2f0b-4723-876b-178dfaecfddf" AS ?vgcUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuurseenheden/", STR(?vgcUuid))) AS ?vgcUri) + + # UUID and URI for KBO number + BIND(SHA256(CONCAT(STR(?vgcUuid), "KBO number identifier")) AS ?kboIdUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/identificatoren/", STR(?kboIdUuid))) AS ?kboIdUri) + BIND(SHA256(CONCAT(STR(?vgcUuid), STR(?kboUuid), "KBO number structured identifier")) AS ?kboStructUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/gestructureerdeIdentificatoren/", STR(?kboStructUuid))) AS ?kboStructUri) + + # UUID and URI for OVO number + BIND(SHA256(CONCAT(STR(?vgcUuid), "OVO number identifier")) AS ?ovoIdUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/identificatoren/", STR(?ovoIdUuid))) AS ?ovoIdUri) + BIND(SHA256(CONCAT(STR(?vgcUuid), STR(?ovoUuid), "OVO number structured identifier")) AS ?ovoStructUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/gestructureerdeIdentificatoren/", STR(?ovoStructUuid))) AS ?ovoStructUri) + + # UUID and URI for SharePoint number + BIND(SHA256(CONCAT(STR(?vgcUuid), "SharePoint number identifier")) AS ?sharepointIdUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/identificatoren/", STR(?sharepointIdUuid))) AS ?sharepointIdUri) + BIND(SHA256(CONCAT(STR(?vgcUuid), STR(?sharepointUuid), "SharePoint structured number identifier")) AS ?sharepointStructUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/gestructureerdeIdentificatoren/", STR(?sharepointStructUuid))) AS ?sharepointStructUri) + + # Primary site + BIND(SHA256(CONCAT(STR(?vgcUuid), "VGC primary site")) AS ?primarySiteUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/vestigingen/", STR(?primarySiteUuid))) AS ?primarySiteUri) + + ## Address + BIND(SHA256(CONCAT(STR(?vgcUuid), STR(?primarySiteUuid), "VGC primary site address")) AS ?addressUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/adressen/", STR(?addressUuid))) AS ?addressUri) + + ## Primary contact point + BIND(SHA256(CONCAT(STR(?vgcUuid), STR(?primarySiteUuid), "VGC primary site primary contact point")) AS ?primaryContactPointUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/contact-punten/", STR(?primaryContactPointUuid))) AS ?primaryContactPointUri) + + ## Secondary contact point + BIND(SHA256(CONCAT(STR(?vgcUuid), STR(?primarySiteUuid), "VGC primary site secondary contact point")) AS ?secondaryContactPointUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/contact-punten/", STR(?secondaryContactPointUuid))) AS ?secondaryContactPointUri) +} From 429072dd183fb2dfe8c75d8ee5fb64d602de2154 Mon Sep 17 00:00:00 2001 From: mirdono Date: Mon, 19 Aug 2024 15:01:50 +0200 Subject: [PATCH 03/19] feat: add new merged municipalities and OCMWs As part of the municipality mergers for 2025, four new municipalities and their corresponding OCMWs will have new KBO numbers. Consequently, these organizations need to be fully manually created. This commit adds the migrations to import the organisations for the merged municipalities and OCMWs such that their URIs can already be shared among applications. The currently imported data concerns: - core data such as (legal) name, region, status, KBO, and OVO number - the necessary governing bodies, with as starting date 2025-01-01 The NIS-codes (and associated data) will be added in future migrations when the NIS2025 update has been released. Other missing data, such as addresses and contact details, will be added later on by business. --- ...pality-beveren_kruibeke_zwijndrecht.sparql | 250 ++++++++++++++++++ ...merged-municipality-merelbeke_melle.sparql | 250 ++++++++++++++++++ ...rged-municipality-nazareth_de_pinte.sparql | 250 ++++++++++++++++++ ...1423-merged-municipality-pajottegem.sparql | 250 ++++++++++++++++++ ...d-ocmw-beveren_kruibeke_zwijndrecht.sparql | 161 +++++++++++ ...9141423-merged-ocmw-merelbeke_melle.sparql | 161 +++++++++++ ...41423-merged-ocmw-nazareth_de_pinte.sparql | 161 +++++++++++ ...240819141423-merged-ocmw-pajottegem.sparql | 161 +++++++++++ ...late-merge-municipalities-and-ocmws.sparql | 105 ++++++++ 9 files changed, 1749 insertions(+) create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql create mode 100644 config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819142809-relate-merge-municipalities-and-ocmws.sparql diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql new file mode 100644 index 0000000..53268d2 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql @@ -0,0 +1,250 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "cc2c8c98-5f2a-471a-b6e2-65fa1c7dd412" ; + skos:prefLabel """Beveren-Kruibeke-Zwijndrecht""" ; + regorg:legalName """Beveren-Kruibeke-Zwijndrecht""" ; + org:classification . + } + + GRAPH { + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """e48e6a1f-8079-427e-9ae4-a0fdbf3d8a1c""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """3d540e3e-e1ea-4ecc-9a70-476e97581d70""" ; + generiek:lokaleIdentificator """1010783451""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """38cca492-b0be-41a5-b96a-812d4451a6d9""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """2cf8e7f4-d3a2-4662-854b-bb49d4d04cbb""" ; + generiek:lokaleIdentificator """OVO053390""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "052b2f93-ba5b-4f53-a8a3-ebcf99a48e9c" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "30ae130f-3b8f-4a4c-8e08-f62e59ab7ccb" . + } +} +; +# scope +INSERT { + GRAPH { + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """c9a29e0e-0c7f-4069-910d-641258daa6cb""" ; + rdfs:label """Beveren-Kruibeke-Zwijndrecht""" ; + ext:werkingsgebiedNiveau "Gemeente" . + } + + GRAPH { + geo:sfWithin ?locatedWithin . + } +} WHERE { + GRAPH { + ?locatedWithin a ; + rdfs:label ?label . + FILTER (STR(?label) = """Waasland""") + } +} +# +# Governing bodies +# +; +## Burgemeester +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """e2351257-1ebc-48ea-9b14-bd7698dec7fe""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """ecc2d683-b804-4266-9cfd-b3fca23b712e""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Gemeenteraad +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """dc048d1e-16a6-4bc6-988d-06f676bae795""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """69c9dd66-c624-494e-a796-696ad29ae0cc""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## College van Burgemeester en Schepenen +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """df293266-aa4e-4f2d-bce4-9e90ba1d10ce""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """8a7a3797-92db-4a61-9a96-a6e9906ae75f""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """474fc497-860b-47ca-93bd-09538c61a0f4""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """44a3c3df-3518-402e-9941-dfda997da444""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """550ad610-6954-4170-ad6b-b6ea25b1f0c5""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """8c0d39ba-bffc-4a08-ac3f-f36fcf446694""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """c8b77803-6490-4b74-be22-9f6a0d31884e""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """544013f9-9d58-41ce-9413-63d49c83dc30""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """c61f2753-f767-40cc-923c-cd46f22b1394""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """eedad091-80a0-4ce1-b99f-657a0e6ca246""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Oost-Vlaanderen""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql new file mode 100644 index 0000000..b7c8167 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql @@ -0,0 +1,250 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "3190ca10-104c-481d-92a5-42a9bb033a65" ; + skos:prefLabel """Merelbeke-Melle""" ; + regorg:legalName """Merelbeke-Melle""" ; + org:classification . + } + + GRAPH { + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """e494623a-29be-4478-83f4-01a216a1ff8f""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """d4b3548e-256c-4667-a600-20e9702cf0f8""" ; + generiek:lokaleIdentificator """1010775830""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """7a82ba6c-c571-4672-a893-224bbcabeda9""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """c9d1ccd6-a9cb-431e-9919-1120e157549b""" ; + generiek:lokaleIdentificator """OVO053387""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "cbdebc3e-463a-4365-b44f-5c1cf03e46cc" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "a16c1585-cd67-422b-a7a9-2ff8b04a633e" . + } +} +; +# scope +INSERT { + GRAPH { + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """dcfebd37-162e-486f-9598-1b292a67e3e9""" ; + rdfs:label """Merelbeke-Melle""" ; + ext:werkingsgebiedNiveau "Gemeente" . + } + + GRAPH { + geo:sfWithin ?locatedWithin . + } +} WHERE { + GRAPH { + ?locatedWithin a ; + rdfs:label ?label . + FILTER (STR(?label) = """Regio Gent""") + } +} +# +# Governing bodies +# +; +## Burgemeester +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """13d87f34-c6d5-431f-a566-273efdc9c7f4""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """31775fb5-59b0-464c-bb01-53d44309e5da""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Gemeenteraad +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """b4fca2a8-4534-46e1-8f7b-1ba949969ec0""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """efc20a9c-f5bd-48ee-af68-3bb679564a0c""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## College van Burgemeester en Schepenen +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """35d1a73d-d45a-4c84-b98c-bd3fa97a7b8b""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """c8d5ae0a-4857-48e4-9bbd-d68bb738ba89""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """94dc4fee-3398-46d4-9c5d-da744ac2ec65""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """e16b32cf-78d6-4690-b76b-1590044e5d09""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """8a2edd81-6b5f-40dc-bc78-188b07695972""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """4ec1bb3b-20f3-4b45-946f-f8ce6f6d48c4""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """2c0f1995-7664-44d5-b175-112f51d0b663""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """5e48f15a-501f-4811-96e5-e2a2be6102fd""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """ef9163c2-1b7e-4001-a8aa-6d08466c230c""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """b95eca68-9b0e-4c21-8426-26defe00579e""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Oost-Vlaanderen""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql new file mode 100644 index 0000000..fb27d45 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql @@ -0,0 +1,250 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "8c3d6a24-6a38-427e-98eb-a1040520173b" ; + skos:prefLabel """Nazareth-De Pinte""" ; + regorg:legalName """Nazareth-De Pinte""" ; + org:classification . + } + + GRAPH { + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """e6a6fce8-8caf-4862-9903-688cbd3f9f95""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """88f8c260-2edf-47ed-8f26-cff8b06651c5""" ; + generiek:lokaleIdentificator """1010781867""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """4039b244-d8b4-436d-930b-2696287da293""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """735fe7c3-5efb-409a-97ff-e4d28dee3afd""" ; + generiek:lokaleIdentificator """OVO053388""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "996d4116-72bf-4fda-b3fd-c127045288e3" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "315e0a0e-222a-4e4e-9e63-9689a451b6d3" . + } +} +; +# scope +INSERT { + GRAPH { + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """ec944850-0095-4341-8747-ffe63813637b""" ; + rdfs:label """Nazareth-De Pinte""" ; + ext:werkingsgebiedNiveau "Gemeente" . + } + + GRAPH { + geo:sfWithin ?locatedWithin . + } +} WHERE { + GRAPH { + ?locatedWithin a ; + rdfs:label ?label . + FILTER (STR(?label) = """Regio Gent""") + } +} +# +# Governing bodies +# +; +## Burgemeester +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """bebd13d5-ca94-4394-8671-d3f3cdaab69b""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """c80818e7-4ce2-4225-9f48-0b1443f83ba4""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Gemeenteraad +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """0c7c4fcf-cd5c-4e37-9176-6673b8ffc734""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """49db8458-56d1-44e5-8660-71e45b598be5""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## College van Burgemeester en Schepenen +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """9626bc18-db74-46cc-8095-7fd94f5e0e6d""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """2f815b8d-dca2-4aab-bc4a-96c43c469fbd""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """c77802c0-df58-4976-bef6-fe5f92fc8e60""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """004ab1ae-5221-4c9f-ab85-5b2504ca8f4e""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """58150783-106f-4cc8-8ef2-cb18e8a355ab""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """9ee03ce4-53da-4b3f-9422-49763b3a2989""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """a1de0674-f33b-4350-b49e-bc495df46782""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """1910e790-9fe9-423a-a722-5fed88d6529d""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """6180488c-65d6-4a99-b032-40b5aae0e48b""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """893f67bc-8f6a-44bb-88bf-42f987ef0aba""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Oost-Vlaanderen""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql new file mode 100644 index 0000000..856ac84 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql @@ -0,0 +1,250 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "261c7380-4ecd-4846-a573-60914bdeb150" ; + skos:prefLabel """Pajottegem""" ; + regorg:legalName """Pajottegem""" ; + org:classification . + } + + GRAPH { + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """0197ec6c-b16d-4654-9f97-bc30f2de0f14""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """6ea3d739-107e-4a39-90df-89207f8f8e26""" ; + generiek:lokaleIdentificator """1010784540""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """0d36aeca-637a-4c36-ae75-4ac98a165fac""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """79f204e7-38bb-4d1f-bd9e-6262c7c46470""" ; + generiek:lokaleIdentificator """OVO053389""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "c4e533b0-aa9a-4fde-9f12-e651fee6359d" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "b4ea9a1c-d68c-4f39-aa17-9f83fb88782c" . + } +} +; +# scope +INSERT { + GRAPH { + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """7204384f-f4e9-4a5e-b0c4-3976c8a69da9""" ; + rdfs:label """Pajottegem""" ; + ext:werkingsgebiedNiveau "Gemeente" . + } + + GRAPH { + geo:sfWithin ?locatedWithin . + } +} WHERE { + GRAPH { + ?locatedWithin a ; + rdfs:label ?label . + FILTER (STR(?label) = """Halle-Vilvoorde""") + } +} +# +# Governing bodies +# +; +## Burgemeester +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """c1a7289b-e15f-44ee-8425-b88fa557a4da""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """f9bbf6ef-2a66-4ff2-966f-2ddeed5bdd55""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Gemeenteraad +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """b603c476-5a98-4d7b-aafb-9e0f2280c912""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """645eadbe-4358-40bd-8038-8bffb1b59214""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## College van Burgemeester en Schepenen +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """96a13d7e-b984-4690-aab7-9b0f8bb238f7""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """5956adad-74c5-43c8-8e4b-4729d87d92c8""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """29a2c70d-65f9-49ec-8dcb-e35785f89776""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """9b4da922-8437-405a-8545-ce9099d0691d""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """c6027a78-d021-4358-86fc-56683e51ec9d""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """fc29df7f-30ee-4b35-8f8b-063e48627dcf""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """b12cda4a-5ba7-4170-b820-d5f1c696cd1e""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """875a6398-c8c6-4003-bd46-0370a8c55fd2""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """40a42977-af82-4ff7-8483-32476cb0b9a9""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """d70efcd3-237d-4d57-bed3-e7796482ea30""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Vlaams-Brabant""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql new file mode 100644 index 0000000..41c78b0 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql @@ -0,0 +1,161 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "26913911-14e2-4683-9ea4-4c37951b68b7" ; + skos:prefLabel """Beveren-Kruibeke-Zwijndrecht""" ; + regorg:legalName """Beveren-Kruibeke-Zwijndrecht""" ; + org:classification . + + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """a4763769-eb32-43c1-9c92-a2c345fccff2""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """6d34fc95-6586-4e21-a256-7373f455f911""" ; + generiek:lokaleIdentificator """1010783748""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """a0187b2a-fa05-492f-865e-b1fc9ce5e9c2""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """17aeaeb1-4348-4dae-bd4e-e063b662ffeb""" ; + generiek:lokaleIdentificator """OVO053710""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "cedfbb4e-d8af-4d1f-85f2-dcc0f4cf4cb6" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "fc2d4892-cb62-4309-a100-0dd57d4d0193" . + } +} +# +# Governing bodies +# +; +## Voorzitter van het Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """4e3085a8-95ff-4fde-85f4-ee921b54fccc""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """4fe4f3ef-7b32-412e-b40a-58ce55240940""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Raad voor Maatschappelijk Welzijn +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """0cfd0845-a79c-4640-9d61-15720a8f6086""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """aa126dbc-d424-4ce7-81dd-61d4d27f8f97""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Vast Bureau +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """d9cdba10-0dda-4471-8bb3-73c94d4b43ac""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """b2404e03-72d2-4496-ab5d-687fa334dca9""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +; +## Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """4bca4def-ee66-45ff-8402-9f71810e7c2e""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """a633f2d2-ecee-471a-84a2-5365c677d4f1""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Beveren-Kruibeke-Zwijndrecht") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Oost-Vlaanderen""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql new file mode 100644 index 0000000..1f793b1 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql @@ -0,0 +1,161 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "80bb6363-c914-4e51-82ec-e547b21890f4" ; + skos:prefLabel """Merelbeke-Melle""" ; + regorg:legalName """Merelbeke-Melle""" ; + org:classification . + + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """222cc648-4a5b-496a-8f4f-2abde996ec36""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """9c0e5534-0a79-4a0b-82d5-d9e1607e34d6""" ; + generiek:lokaleIdentificator """1010776127""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """d186d187-ab96-41dc-bd52-bdf9f7de2b47""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """ba8f9e04-a9f2-440f-8b85-3b81a9033cf7""" ; + generiek:lokaleIdentificator """OVO053711""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "447c5679-b4eb-4f37-aee7-c4a5ce8974cd" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "29b43db7-ffe8-415d-8cba-3b8d29c01ee8" . + } +} +# +# Governing bodies +# +; +## Voorzitter van het Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """c1177041-2755-48cf-a893-567a2ec85806""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """bd58436e-7472-4862-8578-30eb0dd83330""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Raad voor Maatschappelijk Welzijn +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """1f32130c-6127-4be2-96ee-8ed175836843""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """5474dfba-65d1-4516-b307-0ed1d112c9f0""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Vast Bureau +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """839173f2-5ba1-4aef-b681-0608a18eec3d""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """80324764-8bfc-408c-9362-25caf85a2b41""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +; +## Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """acde5a73-f1f5-4a6a-9c86-13875905588c""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """acfe2eb5-7d17-480f-8308-5ba0b607acc2""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Merelbeke-Melle") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Oost-Vlaanderen""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql new file mode 100644 index 0000000..cdfd970 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql @@ -0,0 +1,161 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "92734750-4886-4dd8-8adb-1fb44dd221b8" ; + skos:prefLabel """Nazareth-De Pinte""" ; + regorg:legalName """Nazareth-De Pinte""" ; + org:classification . + + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """0716e45c-bcf2-4828-99b9-26aca09f83d5""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """c58cec55-8f6d-4b01-8bdf-e363b9e09140""" ; + generiek:lokaleIdentificator """1010782461""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """fcf15add-35cd-4e66-b322-7b7009aecced""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """6a8393e9-8492-4298-b150-1a5388d9ebbc""" ; + generiek:lokaleIdentificator """OVO053712""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "afd96dec-49a8-4350-bafb-b1c62addefc9" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "2302c0b0-68a8-4cfc-8746-5ec63a4c47c5" . + } +} +# +# Governing bodies +# +; +## Voorzitter van het Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """ff486223-9205-49f6-a2d6-67a4b5ef752e""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """d2931462-e676-46b7-85b5-f898a6584bb1""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Raad voor Maatschappelijk Welzijn +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """8e72c369-f5b5-451b-820c-9d9db2ce22b8""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """49ab2548-03df-4ccf-9bce-dd571bc6342f""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Vast Bureau +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """e1bdd942-71b6-4385-b048-17fab0e3b625""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """cfa4adfb-4229-4de8-ac9d-74197ffe3c35""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +; +## Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """35c9de34-f207-486d-acc5-aacc00e7e3f5""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """a2f6349b-78cf-474a-849c-863fcf311b70""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Nazareth-De Pinte") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Oost-Vlaanderen""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql new file mode 100644 index 0000000..7ebb104 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql @@ -0,0 +1,161 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX organisatie: +PREFIX regorg: +PREFIX owl: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX prov: +PREFIX ext: +PREFIX mandaat: +PREFIX geo: + +INSERT { + GRAPH { + a , + , + . + mu:uuid "73018124-9b28-42b0-817f-7e08a90cfe9f" ; + skos:prefLabel """Pajottegem""" ; + regorg:legalName """Pajottegem""" ; + org:classification . + + regorg:orgStatus . # In oprichting + + owl:sameAs . + + # KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """f18fe9b0-f9e7-4bb7-ac7d-b8590570b633""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """289880d3-2de5-46a2-a2e6-81a67f216773""" ; + generiek:lokaleIdentificator """1010784738""" . + + # OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """05e0a7b3-1a34-47e5-b1f4-1ccf46d03758""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """3a53414e-ba06-4197-a4ea-f9d301160bc9""" ; + generiek:lokaleIdentificator """OVO053708""" . + + # Placeholder for SharePoint identifier + a adms:Identifier ; + mu:uuid "f26a54be-f91d-42d2-9815-a1b7253e353c" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "fd1bdea2-5c0d-44d5-ac62-a385a120b775" . + } +} +# +# Governing bodies +# +; +## Voorzitter van het Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """9f421c11-72c8-4b33-a6c0-b074ba843441""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """bec6982c-827d-4e05-b04c-46e275d3ca0f""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Raad voor Maatschappelijk Welzijn +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """7ff76277-5ee6-4ec9-bdd5-40508cc10587""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """c74ce5d9-5fa1-40cd-9c9a-44e593d49edc""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Vast Bureau +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """47f9d813-8838-4e27-ad10-286e5a57c768""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """56cc5d11-e8b8-40d5-8fbf-635615a8e76e""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +; +## Bijzonder Comité voor de Sociale Dienst +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """a212b975-3bd4-42a7-aeb9-4e0ec84f7236""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """f84b8bb7-a359-415f-aadf-ef50a504870f""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " ", "Pajottegem") as ?governingBodyLabel) +} +# +# Related province +# +; +INSERT { + GRAPH { + ?province org:hasSubOrganization . + } +} WHERE { + GRAPH { + ?province skos:prefLabel """Vlaams-Brabant""" . + } +} diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819142809-relate-merge-municipalities-and-ocmws.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819142809-relate-merge-municipalities-and-ocmws.sparql new file mode 100644 index 0000000..2c93659 --- /dev/null +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819142809-relate-merge-municipalities-and-ocmws.sparql @@ -0,0 +1,105 @@ +PREFIX org: +PREFIX besluit: +PREFIX adms: +PREFIX skos: +PREFIX generiek: + +# Beveren-Kruibeke-Zwijndrecht +INSERT { + GRAPH { + ?municipality org:linkedTo ?ocmw . + ?ocmw org:linkedTo ?municipality + } +} WHERE { + GRAPH { + ?municipality a besluit:Bestuurseenheid . + } + + GRAPH { + ?municipality adms:identifier ?municipalityId . + ?municipalityId skos:notation ?municipalityKboNotation . + FILTER(?municipalityKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?municipalityId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010783451""" . + + ?ocmw a besluit:Bestuurseenheid ; + adms:identifier ?ocmwId . + ?ocmwId skos:notation ?ocmwKboNotation . + FILTER(?ocmwKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?ocmwId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010783748""" . + } +} +; +# Nazareth-De Pinte +INSERT { + GRAPH { + ?municipality org:linkedTo ?ocmw . + ?ocmw org:linkedTo ?municipality + } +} WHERE { + GRAPH { + ?municipality a besluit:Bestuurseenheid . + } + + GRAPH { + ?municipality adms:identifier ?municipalityId . + ?municipalityId skos:notation ?municipalityKboNotation . + FILTER(?municipalityKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?municipalityId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010781867""" . + + ?ocmw a besluit:Bestuurseenheid ; + adms:identifier ?ocmwId . + ?ocmwId skos:notation ?ocmwKboNotation . + FILTER(?ocmwKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?ocmwId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010782461""" . + } +} +; +# Pajottegem +INSERT { + GRAPH { + ?municipality org:linkedTo ?ocmw . + ?ocmw org:linkedTo ?municipality + } +} WHERE { + GRAPH { + ?municipality a besluit:Bestuurseenheid . + } + + GRAPH { + ?municipality adms:identifier ?municipalityId . + ?municipalityId skos:notation ?municipalityKboNotation . + FILTER(?municipalityKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?municipalityId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010784540""" . + + ?ocmw a besluit:Bestuurseenheid ; + adms:identifier ?ocmwId . + ?ocmwId skos:notation ?ocmwKboNotation . + FILTER(?ocmwKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?ocmwId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010784738""" . + } +} +; +# Merelbeke-Melle +INSERT { + GRAPH { + ?municipality org:linkedTo ?ocmw . + ?ocmw org:linkedTo ?municipality + } +} WHERE { + GRAPH { + ?municipality a besluit:Bestuurseenheid . + } + + GRAPH { + ?municipality adms:identifier ?municipalityId . + ?municipalityId skos:notation ?municipalityKboNotation . + FILTER(?municipalityKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?municipalityId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010775830""" . + + ?ocmw a besluit:Bestuurseenheid ; + adms:identifier ?ocmwId . + ?ocmwId skos:notation ?ocmwKboNotation . + FILTER(?ocmwKboNotation IN ("KBO nummer", "KBO nummer"@nl)) + ?ocmwId generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator """1010776127""" . + } +} From b9348a5076c92deecb7449f63f307791af011236 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 21 Aug 2024 12:37:10 +0200 Subject: [PATCH 04/19] fix: relate sharepoint with organisations and ensure unique prefixes - The previous version of the migrations lacked the triple actually linking the new organisations with the placeholder for SharePoint identifier. This triple was now added. - Ensure the timestamp prefixes are unique by adding 1 second delay in between generating each migration. --- ...ality-beveren_kruibeke_zwijndrecht.sparql} | 137 +++++++++--------- ...ged-municipality-nazareth_de_pinte.sparql} | 137 +++++++++--------- ...841-merged-municipality-pajottegem.sparql} | 137 +++++++++--------- ...erged-municipality-merelbeke_melle.sparql} | 137 +++++++++--------- ...-ocmw-beveren_kruibeke_zwijndrecht.sparql} | 93 ++++++------ ...2844-merged-ocmw-nazareth_de_pinte.sparql} | 93 ++++++------ ...40821122845-merged-ocmw-pajottegem.sparql} | 93 ++++++------ ...122846-merged-ocmw-merelbeke_melle.sparql} | 93 ++++++------ ...ate-merge-municipalities-and-ocmws.sparql} | 0 9 files changed, 464 insertions(+), 456 deletions(-) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql => 20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql} (57%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-municipality-nazareth_de_pinte.sparql => 20240821122840-merged-municipality-nazareth_de_pinte.sparql} (57%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-municipality-pajottegem.sparql => 20240821122841-merged-municipality-pajottegem.sparql} (56%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-municipality-merelbeke_melle.sparql => 20240821122842-merged-municipality-merelbeke_melle.sparql} (57%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql => 20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-ocmw-nazareth_de_pinte.sparql => 20240821122844-merged-ocmw-nazareth_de_pinte.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-ocmw-pajottegem.sparql => 20240821122845-merged-ocmw-pajottegem.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819141423-merged-ocmw-merelbeke_melle.sparql => 20240821122846-merged-ocmw-merelbeke_melle.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240819142809-relate-merge-municipalities-and-ocmws.sparql => 20240821122900-relate-merge-municipalities-and-ocmws.sparql} (100%) diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql similarity index 57% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql index 53268d2..b989e30 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-beveren_kruibeke_zwijndrecht.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql @@ -14,62 +14,63 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "cc2c8c98-5f2a-471a-b6e2-65fa1c7dd412" ; + mu:uuid "965ad1ed-ade1-4936-84d9-fd3a2e4bea17" ; skos:prefLabel """Beveren-Kruibeke-Zwijndrecht""" ; regorg:legalName """Beveren-Kruibeke-Zwijndrecht""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """e48e6a1f-8079-427e-9ae4-a0fdbf3d8a1c""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """6bd72f0e-688d-4304-860a-0ca552324aea""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """3d540e3e-e1ea-4ecc-9a70-476e97581d70""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """22e5e8ff-b696-4603-a5cb-d2b9f19f9474""" ; generiek:lokaleIdentificator """1010783451""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """38cca492-b0be-41a5-b96a-812d4451a6d9""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """05b4318f-6562-427f-bdf5-56179beac3b8""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """2cf8e7f4-d3a2-4662-854b-bb49d4d04cbb""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """95fe9a2d-6235-4d1d-a4b2-a371ea2f096a""" ; generiek:lokaleIdentificator """OVO053390""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "052b2f93-ba5b-4f53-a8a3-ebcf99a48e9c" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "fc75bdcf-3b77-413c-9f56-92e659406d3e" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "30ae130f-3b8f-4a4c-8e08-f62e59ab7ccb" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "698e73c9-4ca6-4697-9475-57d05cedb2fe" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """c9a29e0e-0c7f-4069-910d-641258daa6cb""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """7c7a6c51-7292-43a5-91f0-fb4100a157d9""" ; rdfs:label """Beveren-Kruibeke-Zwijndrecht""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -86,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """e2351257-1ebc-48ea-9b14-bd7698dec7fe""" ; + a besluit:Bestuursorgaan ; + mu:uuid """4f5ff954-834f-4123-acbc-7c58600e85d8""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """ecc2d683-b804-4266-9cfd-b3fca23b712e""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """3a18e22a-1c03-49fd-9ad7-ba0c1324ec22""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """dc048d1e-16a6-4bc6-988d-06f676bae795""" ; + a besluit:Bestuursorgaan ; + mu:uuid """75ee182f-6823-4276-98e1-183ef31822c9""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """69c9dd66-c624-494e-a796-696ad29ae0cc""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """3af6acba-1b55-4816-a510-f8c297b410ed""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """df293266-aa4e-4f2d-bce4-9e90ba1d10ce""" ; + a besluit:Bestuursorgaan ; + mu:uuid """3a3b6506-ff23-4019-8524-7e074f08d906""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """8a7a3797-92db-4a61-9a96-a6e9906ae75f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """b93c05b0-9fff-45e5-9dfe-6e69b202b689""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """474fc497-860b-47ca-93bd-09538c61a0f4""" ; + a besluit:Bestuursorgaan ; + mu:uuid """e78d994c-b6a7-4cbe-8d38-011848ad5e81""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """44a3c3df-3518-402e-9941-dfda997da444""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """ea1e6cbe-e62e-4464-8e93-3e067dfc1690""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -174,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """550ad610-6954-4170-ad6b-b6ea25b1f0c5""" ; + a besluit:Bestuursorgaan ; + mu:uuid """623d5510-532e-41a4-a130-8c3634cd03e2""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """8c0d39ba-bffc-4a08-ac3f-f36fcf446694""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """8ba0c544-66ed-44de-8be3-35abcad8dadf""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -196,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c8b77803-6490-4b74-be22-9f6a0d31884e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """a6085d55-01cb-44a2-941b-12eddeac93c5""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """544013f9-9d58-41ce-9413-63d49c83dc30""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """13e59134-d1d5-4af6-b267-025cfa1c226b""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -218,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c61f2753-f767-40cc-923c-cd46f22b1394""" ; + a besluit:Bestuursorgaan ; + mu:uuid """b5737b28-7ecd-4721-b478-545b99d89eaa""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """eedad091-80a0-4ce1-b99f-657a0e6ca246""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """c591116d-32df-4849-b753-6aa3ee7bfe27""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -241,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122840-merged-municipality-nazareth_de_pinte.sparql similarity index 57% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122840-merged-municipality-nazareth_de_pinte.sparql index fb27d45..fce7d76 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-nazareth_de_pinte.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122840-merged-municipality-nazareth_de_pinte.sparql @@ -14,62 +14,63 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "8c3d6a24-6a38-427e-98eb-a1040520173b" ; + mu:uuid "5bcd5343-d784-47a4-9818-871a5550fb19" ; skos:prefLabel """Nazareth-De Pinte""" ; regorg:legalName """Nazareth-De Pinte""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """e6a6fce8-8caf-4862-9903-688cbd3f9f95""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """30cc9d05-a936-4db2-a349-5d54cdb3e26a""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """88f8c260-2edf-47ed-8f26-cff8b06651c5""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """571d3b79-1870-493a-8273-6b8d70403b1d""" ; generiek:lokaleIdentificator """1010781867""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """4039b244-d8b4-436d-930b-2696287da293""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """b64ebc3d-013d-49ef-a211-57892f02bdc5""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """735fe7c3-5efb-409a-97ff-e4d28dee3afd""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """446ed124-9ae3-42bf-a398-54c94752236d""" ; generiek:lokaleIdentificator """OVO053388""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "996d4116-72bf-4fda-b3fd-c127045288e3" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "e6610cfe-98ac-4989-9dca-0318003143b1" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "315e0a0e-222a-4e4e-9e63-9689a451b6d3" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "c05ffb8a-4823-40a0-aada-add563448c7b" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """ec944850-0095-4341-8747-ffe63813637b""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """f3f6db7a-504f-4645-b8b8-8ffb6c81ae61""" ; rdfs:label """Nazareth-De Pinte""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -86,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """bebd13d5-ca94-4394-8671-d3f3cdaab69b""" ; + a besluit:Bestuursorgaan ; + mu:uuid """7d1d11c3-b314-4171-9c3f-ab9c845ef6b4""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """c80818e7-4ce2-4225-9f48-0b1443f83ba4""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """3f0c4f34-bd15-444d-8ecc-5cb31dc9a9ff""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """0c7c4fcf-cd5c-4e37-9176-6673b8ffc734""" ; + a besluit:Bestuursorgaan ; + mu:uuid """798206f4-d390-47ef-a3cc-207646daf7e2""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """49db8458-56d1-44e5-8660-71e45b598be5""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """769f75aa-3e64-437b-a472-2ce7a336e78d""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """9626bc18-db74-46cc-8095-7fd94f5e0e6d""" ; + a besluit:Bestuursorgaan ; + mu:uuid """ebefd20f-da7e-44cf-960a-1c431fec32bc""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """2f815b8d-dca2-4aab-bc4a-96c43c469fbd""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """4b908c93-ac33-4cfa-b857-1d1044c99e13""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c77802c0-df58-4976-bef6-fe5f92fc8e60""" ; + a besluit:Bestuursorgaan ; + mu:uuid """42259c88-e000-4744-b08c-f9dc044270b3""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """004ab1ae-5221-4c9f-ab85-5b2504ca8f4e""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """9d1448e3-9916-4c1e-bf22-1b39bee87e4a""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -174,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """58150783-106f-4cc8-8ef2-cb18e8a355ab""" ; + a besluit:Bestuursorgaan ; + mu:uuid """d10c6635-7ff3-4686-8a96-31f8a927cbc8""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """9ee03ce4-53da-4b3f-9422-49763b3a2989""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """9e1f022a-1e07-45f8-b53d-e141f32dda98""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -196,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """a1de0674-f33b-4350-b49e-bc495df46782""" ; + a besluit:Bestuursorgaan ; + mu:uuid """b8dd7224-07bd-4fc3-86c2-245a5bcd8dc4""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """1910e790-9fe9-423a-a722-5fed88d6529d""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """dab9769c-91f1-422f-b361-15707320292b""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -218,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """6180488c-65d6-4a99-b032-40b5aae0e48b""" ; + a besluit:Bestuursorgaan ; + mu:uuid """89bf525d-536d-4a28-a54a-7e0936ffb5a5""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """893f67bc-8f6a-44bb-88bf-42f987ef0aba""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """0e5dabc6-ad06-40c9-ac69-57aa87e2a9b2""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -241,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122841-merged-municipality-pajottegem.sparql similarity index 56% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122841-merged-municipality-pajottegem.sparql index 856ac84..1f7f742 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-pajottegem.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122841-merged-municipality-pajottegem.sparql @@ -14,62 +14,63 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "261c7380-4ecd-4846-a573-60914bdeb150" ; + mu:uuid "c050102e-285e-46b6-a8bb-6acef73051ba" ; skos:prefLabel """Pajottegem""" ; regorg:legalName """Pajottegem""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """0197ec6c-b16d-4654-9f97-bc30f2de0f14""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """7c2bae25-0be4-4a4b-99bd-cee75fe2bdef""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """6ea3d739-107e-4a39-90df-89207f8f8e26""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """3c276af2-15c3-4207-8bef-058561dde8f6""" ; generiek:lokaleIdentificator """1010784540""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """0d36aeca-637a-4c36-ae75-4ac98a165fac""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """332e2b0c-f216-412d-9c03-52ffe640be2b""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """79f204e7-38bb-4d1f-bd9e-6262c7c46470""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """5bd6e3bf-1fe5-4e61-a422-373b431d9f79""" ; generiek:lokaleIdentificator """OVO053389""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "c4e533b0-aa9a-4fde-9f12-e651fee6359d" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "7521f92e-af33-4195-b3a4-3e700bc666ee" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "b4ea9a1c-d68c-4f39-aa17-9f83fb88782c" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "49069cbd-f8b2-42ae-ba1d-811433af5575" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """7204384f-f4e9-4a5e-b0c4-3976c8a69da9""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """d6797279-48de-4e6d-b28f-4691261e1afd""" ; rdfs:label """Pajottegem""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -86,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c1a7289b-e15f-44ee-8425-b88fa557a4da""" ; + a besluit:Bestuursorgaan ; + mu:uuid """6b7ad942-5905-40a5-9516-1433b22a4655""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """f9bbf6ef-2a66-4ff2-966f-2ddeed5bdd55""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """bbad40c5-6571-4f04-974d-0f088bbfbf6f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """b603c476-5a98-4d7b-aafb-9e0f2280c912""" ; + a besluit:Bestuursorgaan ; + mu:uuid """3b88d7e5-00bb-43bd-a44d-594d861e7e2b""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """645eadbe-4358-40bd-8038-8bffb1b59214""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """008c4ba3-59da-4507-9ad4-5afbbbb80c9f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """96a13d7e-b984-4690-aab7-9b0f8bb238f7""" ; + a besluit:Bestuursorgaan ; + mu:uuid """147f3650-d6fa-4279-b716-98b9b1e5eca1""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """5956adad-74c5-43c8-8e4b-4729d87d92c8""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """9648624b-125e-4b1b-b6d0-5a475ad40a89""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """29a2c70d-65f9-49ec-8dcb-e35785f89776""" ; + a besluit:Bestuursorgaan ; + mu:uuid """b1728a1b-510a-4e37-a523-ea7adead54ca""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """9b4da922-8437-405a-8545-ce9099d0691d""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """b00c8b47-602c-47c3-956c-005f8b7e58fb""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -174,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c6027a78-d021-4358-86fc-56683e51ec9d""" ; + a besluit:Bestuursorgaan ; + mu:uuid """afbbb6a3-c77b-417e-9744-e787de0bb26a""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """fc29df7f-30ee-4b35-8f8b-063e48627dcf""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """42d2b817-d36f-4764-82e8-b22a84c571db""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -196,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """b12cda4a-5ba7-4170-b820-d5f1c696cd1e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """074e7ad1-b8db-4786-a24b-e7961d1da885""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """875a6398-c8c6-4003-bd46-0370a8c55fd2""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """78d94340-9880-4542-98d2-33c950c18aa2""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -218,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """40a42977-af82-4ff7-8483-32476cb0b9a9""" ; + a besluit:Bestuursorgaan ; + mu:uuid """c0701011-f634-4d5e-a5ec-69f15c431db6""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """d70efcd3-237d-4d57-bed3-e7796482ea30""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """3f518fbd-aca0-451d-be5d-ad2294987789""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -241,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122842-merged-municipality-merelbeke_melle.sparql similarity index 57% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122842-merged-municipality-merelbeke_melle.sparql index b7c8167..2db9d49 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-municipality-merelbeke_melle.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122842-merged-municipality-merelbeke_melle.sparql @@ -14,62 +14,63 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "3190ca10-104c-481d-92a5-42a9bb033a65" ; + mu:uuid "ecd992c6-791b-4ffb-8b34-9bbadc18152d" ; skos:prefLabel """Merelbeke-Melle""" ; regorg:legalName """Merelbeke-Melle""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """e494623a-29be-4478-83f4-01a216a1ff8f""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """68dda69b-ec5f-4db7-aae0-0432faa6050c""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """d4b3548e-256c-4667-a600-20e9702cf0f8""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """b7a6df3e-8e8f-488f-bf15-1136541595e5""" ; generiek:lokaleIdentificator """1010775830""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """7a82ba6c-c571-4672-a893-224bbcabeda9""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """d92ac5bc-06e6-41c3-b5b5-882bd65b2392""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """c9d1ccd6-a9cb-431e-9919-1120e157549b""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """fb3b4349-ebab-4ecd-9c78-2942f0a4b25a""" ; generiek:lokaleIdentificator """OVO053387""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "cbdebc3e-463a-4365-b44f-5c1cf03e46cc" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "d469152b-506c-412c-be3b-abdff2a5b7d9" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "a16c1585-cd67-422b-a7a9-2ff8b04a633e" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "88232e8c-2e1a-48d2-b45b-eb610806c72f" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """dcfebd37-162e-486f-9598-1b292a67e3e9""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """0507758f-2ad5-4b04-97d5-d08ee47f4521""" ; rdfs:label """Merelbeke-Melle""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -86,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """13d87f34-c6d5-431f-a566-273efdc9c7f4""" ; + a besluit:Bestuursorgaan ; + mu:uuid """5c270aa4-5d2b-4ce6-8b50-4f2b7423040e""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """31775fb5-59b0-464c-bb01-53d44309e5da""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """7ca15c1e-e897-4adf-91ee-9ca99adea68b""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """b4fca2a8-4534-46e1-8f7b-1ba949969ec0""" ; + a besluit:Bestuursorgaan ; + mu:uuid """06f3956d-9d51-4163-a6a8-1c5c960a8054""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """efc20a9c-f5bd-48ee-af68-3bb679564a0c""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """debd0c11-1327-49d2-8764-343677e792de""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """35d1a73d-d45a-4c84-b98c-bd3fa97a7b8b""" ; + a besluit:Bestuursorgaan ; + mu:uuid """4c429ffa-8953-4ab3-91ee-29164877ef73""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """c8d5ae0a-4857-48e4-9bbd-d68bb738ba89""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """f56eaccf-ca35-4a96-a1c8-6b058c7f9dc1""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """94dc4fee-3398-46d4-9c5d-da744ac2ec65""" ; + a besluit:Bestuursorgaan ; + mu:uuid """f57ec97a-8db3-43b9-9b73-c047929ad745""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """e16b32cf-78d6-4690-b76b-1590044e5d09""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """8654e0c8-4359-4f34-b99b-bc52f4bce31d""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -174,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """8a2edd81-6b5f-40dc-bc78-188b07695972""" ; + a besluit:Bestuursorgaan ; + mu:uuid """767c6c4a-5955-4361-ab13-1c1321a9ca39""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """4ec1bb3b-20f3-4b45-946f-f8ce6f6d48c4""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """a184818b-b384-4de1-bfab-d925299f929a""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -196,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """2c0f1995-7664-44d5-b175-112f51d0b663""" ; + a besluit:Bestuursorgaan ; + mu:uuid """79fdf810-c0ba-4595-b17d-4ce9f5a7846c""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """5e48f15a-501f-4811-96e5-e2a2be6102fd""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """2e121448-d630-4f4f-9d48-4025e53468d6""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -218,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """ef9163c2-1b7e-4001-a8aa-6d08466c230c""" ; + a besluit:Bestuursorgaan ; + mu:uuid """27adf113-78ba-476c-913c-ef9bb06a6adf""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """b95eca68-9b0e-4c21-8426-26defe00579e""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """b9cbeb89-d2b4-4493-bef8-cea3b96bed47""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -241,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql index 41c78b0..c4b9f85 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql @@ -14,45 +14,46 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "26913911-14e2-4683-9ea4-4c37951b68b7" ; + mu:uuid "874e2504-94f2-4e46-adca-a142d0c3bd4a" ; skos:prefLabel """Beveren-Kruibeke-Zwijndrecht""" ; regorg:legalName """Beveren-Kruibeke-Zwijndrecht""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """a4763769-eb32-43c1-9c92-a2c345fccff2""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """fff686b4-364c-4cfe-98c1-73b4df54b685""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """6d34fc95-6586-4e21-a256-7373f455f911""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """bacd57ef-f3e2-4318-9c8a-2a61225ef4e7""" ; generiek:lokaleIdentificator """1010783748""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """a0187b2a-fa05-492f-865e-b1fc9ce5e9c2""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """4e5ca357-f617-4c6c-a395-7691cdf7bd8a""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """17aeaeb1-4348-4dae-bd4e-e063b662ffeb""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """8103a7a1-fc6d-4514-8b37-445140331096""" ; generiek:lokaleIdentificator """OVO053710""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "cedfbb4e-d8af-4d1f-85f2-dcc0f4cf4cb6" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "a4641567-9532-4c84-b4be-568babf14fca" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "fc2d4892-cb62-4309-a100-0dd57d4d0193" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "cf7c85fc-c697-4b87-8d37-4ea9543abe49" . } } # @@ -63,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """4e3085a8-95ff-4fde-85f4-ee921b54fccc""" ; + a besluit:Bestuursorgaan ; + mu:uuid """80b24985-71e3-46df-9210-956d015b435e""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """4fe4f3ef-7b32-412e-b40a-58ce55240940""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """80282fc7-1366-498b-b4cc-4f09cf838555""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -85,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """0cfd0845-a79c-4640-9d61-15720a8f6086""" ; + a besluit:Bestuursorgaan ; + mu:uuid """8e379191-7839-44b0-bd95-38f183283cb5""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """aa126dbc-d424-4ce7-81dd-61d4d27f8f97""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """871bc9e7-be83-4bff-b570-765888d841bf""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -107,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """d9cdba10-0dda-4471-8bb3-73c94d4b43ac""" ; + a besluit:Bestuursorgaan ; + mu:uuid """01562624-5636-42a4-ad7f-f9d5438222bb""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """b2404e03-72d2-4496-ab5d-687fa334dca9""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """87844365-e1e3-4c2f-8c8f-50b809e4b9f0""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -129,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """4bca4def-ee66-45ff-8402-9f71810e7c2e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """3810ab8d-72da-4010-8bae-1b06b0643648""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """a633f2d2-ecee-471a-84a2-5365c677d4f1""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """8e6864c5-f2dd-41c6-9af0-0bc6ee2e6922""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122844-merged-ocmw-nazareth_de_pinte.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122844-merged-ocmw-nazareth_de_pinte.sparql index cdfd970..83ec9fd 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-nazareth_de_pinte.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122844-merged-ocmw-nazareth_de_pinte.sparql @@ -14,45 +14,46 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "92734750-4886-4dd8-8adb-1fb44dd221b8" ; + mu:uuid "6f4471e0-c155-4bf1-8558-e77c3cf75638" ; skos:prefLabel """Nazareth-De Pinte""" ; regorg:legalName """Nazareth-De Pinte""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """0716e45c-bcf2-4828-99b9-26aca09f83d5""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """2c1cb3ad-b930-4898-af69-bfb2b6291a4a""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """c58cec55-8f6d-4b01-8bdf-e363b9e09140""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """a68ce2bc-aa30-4824-a154-dd427e7f077a""" ; generiek:lokaleIdentificator """1010782461""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """fcf15add-35cd-4e66-b322-7b7009aecced""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """59e56381-1ba0-4f1c-8775-33d1c280ef28""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """6a8393e9-8492-4298-b150-1a5388d9ebbc""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """ead20f21-c482-4290-921a-114b8596790b""" ; generiek:lokaleIdentificator """OVO053712""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "afd96dec-49a8-4350-bafb-b1c62addefc9" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "b9db6699-1eab-4581-b8d0-c6df515b0dd0" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "2302c0b0-68a8-4cfc-8746-5ec63a4c47c5" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "1375c2ac-bfb1-41f9-acde-68bde8ad505f" . } } # @@ -63,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """ff486223-9205-49f6-a2d6-67a4b5ef752e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """1fd33f8c-9ead-43cd-bb8d-839754ce8647""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """d2931462-e676-46b7-85b5-f898a6584bb1""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """2b92a052-8bcd-42b4-ab3b-8028fa5609c5""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -85,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """8e72c369-f5b5-451b-820c-9d9db2ce22b8""" ; + a besluit:Bestuursorgaan ; + mu:uuid """7882e0f2-b29c-4d00-b495-71a6f5f04860""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """49ab2548-03df-4ccf-9bce-dd571bc6342f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """43f2ea32-ec1f-415f-b18b-0ecda65e39af""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -107,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """e1bdd942-71b6-4385-b048-17fab0e3b625""" ; + a besluit:Bestuursorgaan ; + mu:uuid """89292601-de7a-4c5e-b3e4-095616b209cb""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """cfa4adfb-4229-4de8-ac9d-74197ffe3c35""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """e43538ff-573c-4584-9a5b-6e64327a3e70""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -129,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """35c9de34-f207-486d-acc5-aacc00e7e3f5""" ; + a besluit:Bestuursorgaan ; + mu:uuid """88078a5b-a9a1-4d7a-ac60-19ccf4f4f2c7""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """a2f6349b-78cf-474a-849c-863fcf311b70""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """a6c6402f-987b-4bac-858d-cd9f1a91d29c""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122845-merged-ocmw-pajottegem.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122845-merged-ocmw-pajottegem.sparql index 7ebb104..68c475f 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-pajottegem.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122845-merged-ocmw-pajottegem.sparql @@ -14,45 +14,46 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "73018124-9b28-42b0-817f-7e08a90cfe9f" ; + mu:uuid "1379f3ac-01d0-40e1-b31a-0c47be0320b0" ; skos:prefLabel """Pajottegem""" ; regorg:legalName """Pajottegem""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """f18fe9b0-f9e7-4bb7-ac7d-b8590570b633""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """07b21e78-6759-4cc0-80ab-53aa0213d051""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """289880d3-2de5-46a2-a2e6-81a67f216773""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """c563a143-0daf-4cba-ad87-d50fe282f56b""" ; generiek:lokaleIdentificator """1010784738""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """05e0a7b3-1a34-47e5-b1f4-1ccf46d03758""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """4fef8ca5-ace0-42ae-97a1-1b90f91eb266""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """3a53414e-ba06-4197-a4ea-f9d301160bc9""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """f78fdcbc-4c48-4723-bd02-67dda5c53b3a""" ; generiek:lokaleIdentificator """OVO053708""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "f26a54be-f91d-42d2-9815-a1b7253e353c" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "fccba08b-44af-451c-a462-2139784f757b" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "fd1bdea2-5c0d-44d5-ac62-a385a120b775" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "923ff3e2-12d8-46a9-99b8-3297c1363624" . } } # @@ -63,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """9f421c11-72c8-4b33-a6c0-b074ba843441""" ; + a besluit:Bestuursorgaan ; + mu:uuid """f61853c2-ea02-451b-8471-3c0a46dff25e""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """bec6982c-827d-4e05-b04c-46e275d3ca0f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """f832ac00-f2aa-4fb3-95aa-227e2f9f3b18""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -85,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """7ff76277-5ee6-4ec9-bdd5-40508cc10587""" ; + a besluit:Bestuursorgaan ; + mu:uuid """f8852bb9-c4b2-4fcd-ac12-9c225ee31946""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """c74ce5d9-5fa1-40cd-9c9a-44e593d49edc""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """5c2e04ed-7eff-471b-8ab8-9ab6b510576f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -107,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """47f9d813-8838-4e27-ad10-286e5a57c768""" ; + a besluit:Bestuursorgaan ; + mu:uuid """9f2b4748-afb1-4e47-8ebb-ec10272a5dd4""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """56cc5d11-e8b8-40d5-8fbf-635615a8e76e""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """a252d287-af74-460c-ab0e-98b15f4b1d20""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -129,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """a212b975-3bd4-42a7-aeb9-4e0ec84f7236""" ; + a besluit:Bestuursorgaan ; + mu:uuid """cbdc0bd8-a4fb-48d2-8bbe-df3beb3a2053""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """f84b8bb7-a359-415f-aadf-ef50a504870f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """be43239f-53a2-4058-ae60-c2d6086969fe""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122846-merged-ocmw-merelbeke_melle.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122846-merged-ocmw-merelbeke_melle.sparql index 1f793b1..809a06a 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819141423-merged-ocmw-merelbeke_melle.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122846-merged-ocmw-merelbeke_melle.sparql @@ -14,45 +14,46 @@ PREFIX geo: INSERT { GRAPH { - a , + a , , . - mu:uuid "80bb6363-c914-4e51-82ec-e547b21890f4" ; + mu:uuid "f488e898-dfc6-4b23-babc-343408b2c5b5" ; skos:prefLabel """Merelbeke-Melle""" ; regorg:legalName """Merelbeke-Melle""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """222cc648-4a5b-496a-8f4f-2abde996ec36""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """2732aa07-aa78-4f38-aa0f-222f7bf2262c""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """9c0e5534-0a79-4a0b-82d5-d9e1607e34d6""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """2867a412-2b13-4d89-8afd-a52b2b17a86b""" ; generiek:lokaleIdentificator """1010776127""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """d186d187-ab96-41dc-bd52-bdf9f7de2b47""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """85778865-e416-4f6e-a1a4-e7feef79162a""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """ba8f9e04-a9f2-440f-8b85-3b81a9033cf7""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """062c2f45-4cf0-4c94-8233-bbb608b10945""" ; generiek:lokaleIdentificator """OVO053711""" . # Placeholder for SharePoint identifier - a adms:Identifier ; - mu:uuid "447c5679-b4eb-4f37-aee7-c4a5ce8974cd" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "0336029e-3fcd-4792-ab5a-0824d7e651b3" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "29b43db7-ffe8-415d-8cba-3b8d29c01ee8" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "d9ba739a-9435-4029-8495-ba34f7060609" . } } # @@ -63,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c1177041-2755-48cf-a893-567a2ec85806""" ; + a besluit:Bestuursorgaan ; + mu:uuid """2387d0ed-4347-4b6e-a945-3a1f1c966f83""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """bd58436e-7472-4862-8578-30eb0dd83330""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """a4d25ad2-45ee-4b7f-a1fc-55cede04b1a9""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -85,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """1f32130c-6127-4be2-96ee-8ed175836843""" ; + a besluit:Bestuursorgaan ; + mu:uuid """54ca6105-7f8c-40f2-b07e-c83a32886f08""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """5474dfba-65d1-4516-b307-0ed1d112c9f0""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """868dd90d-4342-46f3-9e8a-f9b053c2dce0""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -107,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """839173f2-5ba1-4aef-b681-0608a18eec3d""" ; + a besluit:Bestuursorgaan ; + mu:uuid """6fd5d904-a9a0-416c-879b-152f7d6f232f""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """80324764-8bfc-408c-9362-25caf85a2b41""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """83c6a681-1bb5-4604-9e2f-8be38cd39fcc""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -129,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """acde5a73-f1f5-4a6a-9c86-13875905588c""" ; + a besluit:Bestuursorgaan ; + mu:uuid """25812229-a8da-4df6-81b7-99c9f38faf59""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """acfe2eb5-7d17-480f-8308-5ba0b607acc2""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """0eb8bc3f-c420-4228-b6a6-2713c4422d4e""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -152,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819142809-relate-merge-municipalities-and-ocmws.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122900-relate-merge-municipalities-and-ocmws.sparql similarity index 100% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240819142809-relate-merge-municipalities-and-ocmws.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122900-relate-merge-municipalities-and-ocmws.sparql From c9af936b432ce0f8af771136c0d1ffe0539c225e Mon Sep 17 00:00:00 2001 From: mirdono Date: Fri, 23 Aug 2024 17:19:22 +0200 Subject: [PATCH 05/19] fix: user `INSERT DATA` instead of `INSERT` where appropriate --- ...ality-beveren_kruibeke_zwijndrecht.sparql} | 140 +++++++++--------- ...ged-municipality-nazareth_de_pinte.sparql} | 140 +++++++++--------- ...503-merged-municipality-pajottegem.sparql} | 140 +++++++++--------- ...erged-municipality-merelbeke_melle.sparql} | 140 +++++++++--------- ...-ocmw-beveren_kruibeke_zwijndrecht.sparql} | 96 ++++++------ ...1506-merged-ocmw-nazareth_de_pinte.sparql} | 96 ++++++------ ...40823171507-merged-ocmw-pajottegem.sparql} | 96 ++++++------ ...171508-merged-ocmw-merelbeke_melle.sparql} | 96 ++++++------ ...ate-merge-municipalities-and-ocmws.sparql} | 0 9 files changed, 472 insertions(+), 472 deletions(-) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql => 20240823171501-merged-municipality-beveren_kruibeke_zwijndrecht.sparql} (57%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122840-merged-municipality-nazareth_de_pinte.sparql => 20240823171502-merged-municipality-nazareth_de_pinte.sparql} (57%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122841-merged-municipality-pajottegem.sparql => 20240823171503-merged-municipality-pajottegem.sparql} (56%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122842-merged-municipality-merelbeke_melle.sparql => 20240823171504-merged-municipality-merelbeke_melle.sparql} (57%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql => 20240823171505-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122844-merged-ocmw-nazareth_de_pinte.sparql => 20240823171506-merged-ocmw-nazareth_de_pinte.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122845-merged-ocmw-pajottegem.sparql => 20240823171507-merged-ocmw-pajottegem.sparql} (54%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122846-merged-ocmw-merelbeke_melle.sparql => 20240823171508-merged-ocmw-merelbeke_melle.sparql} (55%) rename config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/{20240821122900-relate-merge-municipalities-and-ocmws.sparql => 20240823171700-relate-merge-municipalities-and-ocmws.sparql} (100%) diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171501-merged-municipality-beveren_kruibeke_zwijndrecht.sparql similarity index 57% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171501-merged-municipality-beveren_kruibeke_zwijndrecht.sparql index b989e30..828f29d 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122839-merged-municipality-beveren_kruibeke_zwijndrecht.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171501-merged-municipality-beveren_kruibeke_zwijndrecht.sparql @@ -12,65 +12,65 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "965ad1ed-ade1-4936-84d9-fd3a2e4bea17" ; + mu:uuid "19483103-318e-435a-aa37-45e485406ee9" ; skos:prefLabel """Beveren-Kruibeke-Zwijndrecht""" ; regorg:legalName """Beveren-Kruibeke-Zwijndrecht""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """6bd72f0e-688d-4304-860a-0ca552324aea""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """d509588c-aedb-48a9-b946-f1abe002c6dd""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """22e5e8ff-b696-4603-a5cb-d2b9f19f9474""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """f990ea6f-cd8a-430e-9c4b-6640ad874864""" ; generiek:lokaleIdentificator """1010783451""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """05b4318f-6562-427f-bdf5-56179beac3b8""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """31b5a8d9-6d62-46ce-98be-5e6cc7366c82""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """95fe9a2d-6235-4d1d-a4b2-a371ea2f096a""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """af682e98-9d4f-4ee8-9d59-486aecb3842b""" ; generiek:lokaleIdentificator """OVO053390""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "fc75bdcf-3b77-413c-9f56-92e659406d3e" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "e00c1523-b523-4ba3-96b5-cc0d5c051fdc" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "698e73c9-4ca6-4697-9475-57d05cedb2fe" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "8bfd1a3a-ec7b-4909-aad7-64053e05dd6a" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """7c7a6c51-7292-43a5-91f0-fb4100a157d9""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """b97c1b58-6431-4509-ab94-3300d27759a8""" ; rdfs:label """Beveren-Kruibeke-Zwijndrecht""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -87,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """4f5ff954-834f-4123-acbc-7c58600e85d8""" ; + a besluit:Bestuursorgaan ; + mu:uuid """5702cf37-57ca-4cba-b290-b34a14babc30""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """3a18e22a-1c03-49fd-9ad7-ba0c1324ec22""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """dae95870-aa0d-4117-924b-3e8564d548a0""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -109,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """75ee182f-6823-4276-98e1-183ef31822c9""" ; + a besluit:Bestuursorgaan ; + mu:uuid """e280902f-347d-45f5-90ae-80dc141425b3""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """3af6acba-1b55-4816-a510-f8c297b410ed""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """6dc36bdc-8cd4-4a6d-b4c7-9e7982cd2b3b""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -131,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """3a3b6506-ff23-4019-8524-7e074f08d906""" ; + a besluit:Bestuursorgaan ; + mu:uuid """6d467254-0948-482f-b4f5-44e88195eab0""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """b93c05b0-9fff-45e5-9dfe-6e69b202b689""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """585cc532-19ce-4270-a2db-317657d35210""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """e78d994c-b6a7-4cbe-8d38-011848ad5e81""" ; + a besluit:Bestuursorgaan ; + mu:uuid """0f443d37-f3d4-4f2a-b982-f96d6f66dcb7""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """ea1e6cbe-e62e-4464-8e93-3e067dfc1690""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """137e17a6-0c4a-4e74-b9e1-cacd7b5dfb4c""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -175,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """623d5510-532e-41a4-a130-8c3634cd03e2""" ; + a besluit:Bestuursorgaan ; + mu:uuid """7c3c5f0d-c063-4c3e-9e05-cb21cec6241e""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """8ba0c544-66ed-44de-8be3-35abcad8dadf""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """bf1ec4f9-f771-4749-853b-68b2a75deb5e""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -197,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """a6085d55-01cb-44a2-941b-12eddeac93c5""" ; + a besluit:Bestuursorgaan ; + mu:uuid """4da12f2e-aa9d-47e9-9028-e14fa45a8237""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """13e59134-d1d5-4af6-b267-025cfa1c226b""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """f6049c75-6071-4a17-aeea-cae6448c2392""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -219,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """b5737b28-7ecd-4721-b478-545b99d89eaa""" ; + a besluit:Bestuursorgaan ; + mu:uuid """a7657784-69d7-40e5-85b4-ffc0e997c72e""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """c591116d-32df-4849-b753-6aa3ee7bfe27""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """5275a3c5-4131-4df3-8c39-71d0c32387f7""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -242,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122840-merged-municipality-nazareth_de_pinte.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171502-merged-municipality-nazareth_de_pinte.sparql similarity index 57% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122840-merged-municipality-nazareth_de_pinte.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171502-merged-municipality-nazareth_de_pinte.sparql index fce7d76..d88f5ee 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122840-merged-municipality-nazareth_de_pinte.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171502-merged-municipality-nazareth_de_pinte.sparql @@ -12,65 +12,65 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "5bcd5343-d784-47a4-9818-871a5550fb19" ; + mu:uuid "1ca65d65-54ff-4b44-b750-bd70c91191af" ; skos:prefLabel """Nazareth-De Pinte""" ; regorg:legalName """Nazareth-De Pinte""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """30cc9d05-a936-4db2-a349-5d54cdb3e26a""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """83f40c64-2178-4dc8-820b-43bd14a27aa3""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """571d3b79-1870-493a-8273-6b8d70403b1d""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """795c170b-3c31-4033-acf2-c36194428548""" ; generiek:lokaleIdentificator """1010781867""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """b64ebc3d-013d-49ef-a211-57892f02bdc5""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """590acb28-c339-4075-b597-bcd3e6bdb785""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """446ed124-9ae3-42bf-a398-54c94752236d""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """4c04fbf7-a906-40aa-b9a4-21ad8d7b53fe""" ; generiek:lokaleIdentificator """OVO053388""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "e6610cfe-98ac-4989-9dca-0318003143b1" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "fe08eaf9-2444-4ef3-981a-08011a70cb26" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "c05ffb8a-4823-40a0-aada-add563448c7b" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "64e6c3c9-10df-4cc1-b342-2aeadb8cf702" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """f3f6db7a-504f-4645-b8b8-8ffb6c81ae61""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """41362ab2-5130-4160-b76b-4bfa5d9a1f59""" ; rdfs:label """Nazareth-De Pinte""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -87,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """7d1d11c3-b314-4171-9c3f-ab9c845ef6b4""" ; + a besluit:Bestuursorgaan ; + mu:uuid """0598ba1e-3bbc-4ff7-896e-a53db4d382c9""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """3f0c4f34-bd15-444d-8ecc-5cb31dc9a9ff""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """b2a885d8-7ea3-476a-a55f-8359dc05263f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -109,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """798206f4-d390-47ef-a3cc-207646daf7e2""" ; + a besluit:Bestuursorgaan ; + mu:uuid """4bc6b373-dd44-4c30-ad5b-47f9a28f3b08""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """769f75aa-3e64-437b-a472-2ce7a336e78d""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """281b5474-0f6d-4ac8-94ef-55afd338d3f8""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -131,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """ebefd20f-da7e-44cf-960a-1c431fec32bc""" ; + a besluit:Bestuursorgaan ; + mu:uuid """4b1cd816-114a-48c8-b722-d050fd5a37a1""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """4b908c93-ac33-4cfa-b857-1d1044c99e13""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """4a89eba8-120f-4184-accb-7b616173eb0d""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """42259c88-e000-4744-b08c-f9dc044270b3""" ; + a besluit:Bestuursorgaan ; + mu:uuid """d6ca08bc-d2ee-457b-98e0-22dd615a8328""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """9d1448e3-9916-4c1e-bf22-1b39bee87e4a""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """201c9989-8666-4165-9b75-7d70b20164ad""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -175,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """d10c6635-7ff3-4686-8a96-31f8a927cbc8""" ; + a besluit:Bestuursorgaan ; + mu:uuid """8c0823e7-1bb4-4b85-81c6-ac3849b6adea""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """9e1f022a-1e07-45f8-b53d-e141f32dda98""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """0806b591-cd6d-4ce5-890c-755e68e0e385""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -197,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """b8dd7224-07bd-4fc3-86c2-245a5bcd8dc4""" ; + a besluit:Bestuursorgaan ; + mu:uuid """70f3a246-3b86-4962-8dc2-d993fccb1542""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """dab9769c-91f1-422f-b361-15707320292b""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """f51a9df3-133a-4647-945c-cc66c804d8e1""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -219,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """89bf525d-536d-4a28-a54a-7e0936ffb5a5""" ; + a besluit:Bestuursorgaan ; + mu:uuid """5839fc61-05c5-49d4-a982-35cd79ef36aa""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """0e5dabc6-ad06-40c9-ac69-57aa87e2a9b2""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """7a8c2a61-8d58-4024-a11e-c2ff69179657""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -242,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122841-merged-municipality-pajottegem.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171503-merged-municipality-pajottegem.sparql similarity index 56% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122841-merged-municipality-pajottegem.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171503-merged-municipality-pajottegem.sparql index 1f7f742..d9a584b 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122841-merged-municipality-pajottegem.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171503-merged-municipality-pajottegem.sparql @@ -12,65 +12,65 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "c050102e-285e-46b6-a8bb-6acef73051ba" ; + mu:uuid "add1e4eb-9ec7-4ea6-af82-335aa76b7d48" ; skos:prefLabel """Pajottegem""" ; regorg:legalName """Pajottegem""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """7c2bae25-0be4-4a4b-99bd-cee75fe2bdef""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """81274047-e6a9-405b-82c6-5855d70c5ad6""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """3c276af2-15c3-4207-8bef-058561dde8f6""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """0e49e3f6-f12d-44c6-8869-82f1f5c2f7e0""" ; generiek:lokaleIdentificator """1010784540""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """332e2b0c-f216-412d-9c03-52ffe640be2b""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """fdbcf527-074e-4714-afc7-252799c63940""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """5bd6e3bf-1fe5-4e61-a422-373b431d9f79""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """e63844f7-dfd6-485f-8fa3-7d1f9d354715""" ; generiek:lokaleIdentificator """OVO053389""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "7521f92e-af33-4195-b3a4-3e700bc666ee" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "d9e43829-644e-40dd-9911-c46d100f0ae9" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "49069cbd-f8b2-42ae-ba1d-811433af5575" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "d050b885-ddd5-4dc3-821d-f94608e52805" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """d6797279-48de-4e6d-b28f-4691261e1afd""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """92398c49-30d5-46b2-af90-37f135c89e47""" ; rdfs:label """Pajottegem""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -87,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """6b7ad942-5905-40a5-9516-1433b22a4655""" ; + a besluit:Bestuursorgaan ; + mu:uuid """3e1c31ea-3c48-44e7-85e9-b07280d89951""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """bbad40c5-6571-4f04-974d-0f088bbfbf6f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """d9739d4c-d6e6-4b01-8a70-d720777aad69""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -109,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """3b88d7e5-00bb-43bd-a44d-594d861e7e2b""" ; + a besluit:Bestuursorgaan ; + mu:uuid """08f55558-6453-4c2c-acd6-bef1d9bb3ee0""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """008c4ba3-59da-4507-9ad4-5afbbbb80c9f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """4d9c89bb-446b-4602-b32d-292b173db00b""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -131,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """147f3650-d6fa-4279-b716-98b9b1e5eca1""" ; + a besluit:Bestuursorgaan ; + mu:uuid """39b53e88-c9c0-481b-8f8e-7e3f4950c79b""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """9648624b-125e-4b1b-b6d0-5a475ad40a89""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """1cd382ca-87a9-4693-8216-a4e5e16af3fa""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """b1728a1b-510a-4e37-a523-ea7adead54ca""" ; + a besluit:Bestuursorgaan ; + mu:uuid """8c37e188-2acc-480e-b5f4-c4af2054c4d5""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """b00c8b47-602c-47c3-956c-005f8b7e58fb""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """72dbebf2-87a1-459e-8fb1-08ea13fcb6e3""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -175,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """afbbb6a3-c77b-417e-9744-e787de0bb26a""" ; + a besluit:Bestuursorgaan ; + mu:uuid """ad8d1860-b70d-49de-ab76-756fcb3dfcda""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """42d2b817-d36f-4764-82e8-b22a84c571db""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """e64442d8-46cd-46fd-81f3-92eb7b19d5de""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -197,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """074e7ad1-b8db-4786-a24b-e7961d1da885""" ; + a besluit:Bestuursorgaan ; + mu:uuid """89d66dad-6452-48fb-8faf-bae62a2ee984""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """78d94340-9880-4542-98d2-33c950c18aa2""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """5d2dc5f5-7991-4b21-9bd8-a00e4fe464f3""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -219,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """c0701011-f634-4d5e-a5ec-69f15c431db6""" ; + a besluit:Bestuursorgaan ; + mu:uuid """4669614e-3d37-4988-bff2-ef09d23e9325""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """3f518fbd-aca0-451d-be5d-ad2294987789""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """1f8fcbb5-0344-42a4-96c5-e3a3ef910a3b""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -242,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122842-merged-municipality-merelbeke_melle.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171504-merged-municipality-merelbeke_melle.sparql similarity index 57% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122842-merged-municipality-merelbeke_melle.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171504-merged-municipality-merelbeke_melle.sparql index 2db9d49..7d25042 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122842-merged-municipality-merelbeke_melle.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171504-merged-municipality-merelbeke_melle.sparql @@ -12,65 +12,65 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "ecd992c6-791b-4ffb-8b34-9bbadc18152d" ; + mu:uuid "b8bb293d-aa22-4b43-bda4-0b6af76e9493" ; skos:prefLabel """Merelbeke-Melle""" ; regorg:legalName """Merelbeke-Melle""" ; org:classification . } GRAPH { - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """68dda69b-ec5f-4db7-aae0-0432faa6050c""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """a0d7781e-987c-41e4-b252-2823ca024994""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """b7a6df3e-8e8f-488f-bf15-1136541595e5""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """754b99fb-9aeb-4fd0-acd4-ec1c7d651d60""" ; generiek:lokaleIdentificator """1010775830""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """d92ac5bc-06e6-41c3-b5b5-882bd65b2392""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """4c3f6201-df94-4f9c-bc71-8acfd98a104c""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """fb3b4349-ebab-4ecd-9c78-2942f0a4b25a""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """d506df8b-3797-492c-ae65-19246bfa0302""" ; generiek:lokaleIdentificator """OVO053387""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "d469152b-506c-412c-be3b-abdff2a5b7d9" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "7dffb9f1-5414-4acd-80c0-e1b2e2e2432c" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "88232e8c-2e1a-48d2-b45b-eb610806c72f" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "3fe5853e-6caf-49b3-a695-6a34be6c87df" . } } ; # scope INSERT { GRAPH { - besluit:werkingsgebied . - a prov:Location ; - mu:uuid """0507758f-2ad5-4b04-97d5-d08ee47f4521""" ; + besluit:werkingsgebied . + a prov:Location ; + mu:uuid """62fef519-b1de-4a0f-911a-c63a5365c17b""" ; rdfs:label """Merelbeke-Melle""" ; ext:werkingsgebiedNiveau "Gemeente" . } GRAPH { - geo:sfWithin ?locatedWithin . + geo:sfWithin ?locatedWithin . } } WHERE { GRAPH { @@ -87,16 +87,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """5c270aa4-5d2b-4ce6-8b50-4f2b7423040e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """a4cb3685-80fe-479e-a5a2-867ed5e3b932""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """7ca15c1e-e897-4adf-91ee-9ca99adea68b""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """e2364a39-e432-40f9-99d4-51c9e66f8eb0""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -109,16 +109,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """06f3956d-9d51-4163-a6a8-1c5c960a8054""" ; + a besluit:Bestuursorgaan ; + mu:uuid """9c337100-8c65-45de-8bef-919993501c5f""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """debd0c11-1327-49d2-8764-343677e792de""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """8e701cb7-3e65-44ed-a537-153ba2f6e03f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -131,16 +131,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """4c429ffa-8953-4ab3-91ee-29164877ef73""" ; + a besluit:Bestuursorgaan ; + mu:uuid """9ccc9b4c-1616-42ec-a29a-335cac1aa0f5""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """f56eaccf-ca35-4a96-a1c8-6b058c7f9dc1""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """62cd72ea-8ea7-47a0-ba04-4ddfc123c595""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,16 +153,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """f57ec97a-8db3-43b9-9b73-c047929ad745""" ; + a besluit:Bestuursorgaan ; + mu:uuid """18755cfe-a761-48b1-aea8-03bc39f5bd32""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """8654e0c8-4359-4f34-b99b-bc52f4bce31d""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """0ec9419b-3b92-4ff6-ab94-b4f3fb5dbbf7""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -175,16 +175,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """767c6c4a-5955-4361-ab13-1c1321a9ca39""" ; + a besluit:Bestuursorgaan ; + mu:uuid """54c039ee-cbb3-4cc4-9f93-076b7c40f917""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """a184818b-b384-4de1-bfab-d925299f929a""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """a702008e-6cc6-43d4-97ec-dfd2654ee7ff""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -197,16 +197,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """79fdf810-c0ba-4595-b17d-4ce9f5a7846c""" ; + a besluit:Bestuursorgaan ; + mu:uuid """465e2ec7-bbcd-4a26-a975-2a7654c5bf82""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """2e121448-d630-4f4f-9d48-4025e53468d6""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """654da80f-b6a8-4364-bc37-d6ec73d58930""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -219,16 +219,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """27adf113-78ba-476c-913c-ef9bb06a6adf""" ; + a besluit:Bestuursorgaan ; + mu:uuid """ef988a35-7789-4a6e-9c95-eaa3fa9b0bdd""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """b9cbeb89-d2b4-4493-bef8-cea3b96bed47""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """58010896-7f0c-4940-a51f-e6dde6006cbb""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -242,7 +242,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171505-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171505-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql index c4b9f85..3a8910d 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122843-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171505-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql @@ -12,48 +12,48 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "874e2504-94f2-4e46-adca-a142d0c3bd4a" ; + mu:uuid "fd41f573-7d9a-4d9f-b7d0-d5b6114d1622" ; skos:prefLabel """Beveren-Kruibeke-Zwijndrecht""" ; regorg:legalName """Beveren-Kruibeke-Zwijndrecht""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """fff686b4-364c-4cfe-98c1-73b4df54b685""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """6e63e7f8-7ad3-4ada-afa4-30224d587236""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """bacd57ef-f3e2-4318-9c8a-2a61225ef4e7""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """ecacb1ab-ed46-4519-af16-1890b469ce4b""" ; generiek:lokaleIdentificator """1010783748""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """4e5ca357-f617-4c6c-a395-7691cdf7bd8a""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """6fbec738-94e2-4d2c-8934-03c14e8c41fc""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """8103a7a1-fc6d-4514-8b37-445140331096""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """9c330fbf-26cb-49af-8f5f-763d76c50639""" ; generiek:lokaleIdentificator """OVO053710""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "a4641567-9532-4c84-b4be-568babf14fca" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "8de907ea-8366-4f44-bcb6-8e7c8b44894b" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "cf7c85fc-c697-4b87-8d37-4ea9543abe49" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "9b0df2e0-e385-45a8-9750-e06bdfaa58ea" . } } # @@ -64,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """80b24985-71e3-46df-9210-956d015b435e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """6cde76c5-7e01-4d8a-97f6-a29cde21e39c""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """80282fc7-1366-498b-b4cc-4f09cf838555""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """e9cb34fd-d695-4f2b-89ba-2a99ba4946d2""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -86,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """8e379191-7839-44b0-bd95-38f183283cb5""" ; + a besluit:Bestuursorgaan ; + mu:uuid """a258188e-6dc4-4572-9910-b157b7a4b101""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """871bc9e7-be83-4bff-b570-765888d841bf""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """5810d67e-0f46-48a6-a796-ffe899574d67""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """01562624-5636-42a4-ad7f-f9d5438222bb""" ; + a besluit:Bestuursorgaan ; + mu:uuid """872e56ab-da37-457a-b271-ef4129617b02""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """87844365-e1e3-4c2f-8c8f-50b809e4b9f0""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """a88d76d7-c685-47d2-828c-729454858a91""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """3810ab8d-72da-4010-8bae-1b06b0643648""" ; + a besluit:Bestuursorgaan ; + mu:uuid """7edacf5a-b622-49ea-9e08-471a2d38a2cb""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """8e6864c5-f2dd-41c6-9af0-0bc6ee2e6922""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """117d0f32-cea1-442b-9a74-322b058e5061""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122844-merged-ocmw-nazareth_de_pinte.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171506-merged-ocmw-nazareth_de_pinte.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122844-merged-ocmw-nazareth_de_pinte.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171506-merged-ocmw-nazareth_de_pinte.sparql index 83ec9fd..2a3c899 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122844-merged-ocmw-nazareth_de_pinte.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171506-merged-ocmw-nazareth_de_pinte.sparql @@ -12,48 +12,48 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "6f4471e0-c155-4bf1-8558-e77c3cf75638" ; + mu:uuid "7d53f659-3a3b-44b1-9e77-3ea067678c0e" ; skos:prefLabel """Nazareth-De Pinte""" ; regorg:legalName """Nazareth-De Pinte""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """2c1cb3ad-b930-4898-af69-bfb2b6291a4a""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """33aafaf7-7755-434b-90d5-b06022aed87d""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """a68ce2bc-aa30-4824-a154-dd427e7f077a""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """d7601255-9d66-42b7-af6d-a86025675882""" ; generiek:lokaleIdentificator """1010782461""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """59e56381-1ba0-4f1c-8775-33d1c280ef28""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """1283fad4-a3da-4624-aaeb-c56fc37de2b0""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """ead20f21-c482-4290-921a-114b8596790b""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """1974082d-879b-4bda-a23a-466fc56457da""" ; generiek:lokaleIdentificator """OVO053712""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "b9db6699-1eab-4581-b8d0-c6df515b0dd0" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "582855aa-823b-4f05-9075-13298afd3d8f" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "1375c2ac-bfb1-41f9-acde-68bde8ad505f" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "a2a997b8-da4b-4a9e-bc1e-781dc0f8257a" . } } # @@ -64,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """1fd33f8c-9ead-43cd-bb8d-839754ce8647""" ; + a besluit:Bestuursorgaan ; + mu:uuid """dbeab922-9e02-4612-8dc7-62327c3eb894""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """2b92a052-8bcd-42b4-ab3b-8028fa5609c5""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """43afb048-eaff-4248-9c32-01c3bb665faa""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -86,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """7882e0f2-b29c-4d00-b495-71a6f5f04860""" ; + a besluit:Bestuursorgaan ; + mu:uuid """093ca80d-1040-4551-bb98-b122b34b8593""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """43f2ea32-ec1f-415f-b18b-0ecda65e39af""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """dbcee0db-e76b-4a23-8973-3c2588a46f7c""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """89292601-de7a-4c5e-b3e4-095616b209cb""" ; + a besluit:Bestuursorgaan ; + mu:uuid """891bfe31-6471-4999-b91f-9adfc47e3130""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """e43538ff-573c-4584-9a5b-6e64327a3e70""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """3fe60a78-e32c-43b0-b3d9-82e3c6c9088f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """88078a5b-a9a1-4d7a-ac60-19ccf4f4f2c7""" ; + a besluit:Bestuursorgaan ; + mu:uuid """ee93c337-089c-488e-a1b6-24a3d5eef2ba""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """a6c6402f-987b-4bac-858d-cd9f1a91d29c""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """acc9b28e-f0ff-4f53-9009-8fafeebe9cde""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122845-merged-ocmw-pajottegem.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171507-merged-ocmw-pajottegem.sparql similarity index 54% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122845-merged-ocmw-pajottegem.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171507-merged-ocmw-pajottegem.sparql index 68c475f..93a6084 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122845-merged-ocmw-pajottegem.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171507-merged-ocmw-pajottegem.sparql @@ -12,48 +12,48 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "1379f3ac-01d0-40e1-b31a-0c47be0320b0" ; + mu:uuid "650378e7-1bee-4737-91ff-5b20ac4623cf" ; skos:prefLabel """Pajottegem""" ; regorg:legalName """Pajottegem""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """07b21e78-6759-4cc0-80ab-53aa0213d051""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """a206d224-f3ae-42c5-b323-6e8f4be1cdeb""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """c563a143-0daf-4cba-ad87-d50fe282f56b""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """f41d3248-8393-4ced-8bc1-017c48c9bae4""" ; generiek:lokaleIdentificator """1010784738""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """4fef8ca5-ace0-42ae-97a1-1b90f91eb266""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """11205a6c-1bb2-4bca-b06f-99763f25d921""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """f78fdcbc-4c48-4723-bd02-67dda5c53b3a""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """d192f846-d001-4b69-9e61-efb75c656709""" ; generiek:lokaleIdentificator """OVO053708""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "fccba08b-44af-451c-a462-2139784f757b" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "353b69ae-b295-425c-b06b-63156f977d28" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "923ff3e2-12d8-46a9-99b8-3297c1363624" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "aed5387a-3994-4328-a7f0-ea2c8ebe5515" . } } # @@ -64,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """f61853c2-ea02-451b-8471-3c0a46dff25e""" ; + a besluit:Bestuursorgaan ; + mu:uuid """398b2bb6-11fd-4ee0-b9de-d07261bc68e9""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """f832ac00-f2aa-4fb3-95aa-227e2f9f3b18""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """be114016-84a5-47c1-8591-92fb1b570c4a""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -86,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """f8852bb9-c4b2-4fcd-ac12-9c225ee31946""" ; + a besluit:Bestuursorgaan ; + mu:uuid """618ea2d4-ac37-4cb0-850a-6f24ad93eee4""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """5c2e04ed-7eff-471b-8ab8-9ab6b510576f""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """facc6a43-b3cc-4184-89e0-c2fbec9f178f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """9f2b4748-afb1-4e47-8ebb-ec10272a5dd4""" ; + a besluit:Bestuursorgaan ; + mu:uuid """2d89723b-979a-44c8-b208-de9ce2738597""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """a252d287-af74-460c-ab0e-98b15f4b1d20""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """66798124-a5cd-41e9-be11-bee92f3e1bfb""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """cbdc0bd8-a4fb-48d2-8bbe-df3beb3a2053""" ; + a besluit:Bestuursorgaan ; + mu:uuid """01ce97e0-015c-4e03-bdbc-6d644b2cfe2e""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """be43239f-53a2-4058-ae60-c2d6086969fe""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """1995c190-8217-4331-bc14-c4e2707fb33f""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122846-merged-ocmw-merelbeke_melle.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171508-merged-ocmw-merelbeke_melle.sparql similarity index 55% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122846-merged-ocmw-merelbeke_melle.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171508-merged-ocmw-merelbeke_melle.sparql index 809a06a..7476eb5 100644 --- a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122846-merged-ocmw-merelbeke_melle.sparql +++ b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171508-merged-ocmw-merelbeke_melle.sparql @@ -12,48 +12,48 @@ PREFIX ext: PREFIX mandaat: PREFIX geo: -INSERT { +INSERT DATA { GRAPH { - a , + a , , . - mu:uuid "f488e898-dfc6-4b23-babc-343408b2c5b5" ; + mu:uuid "5d94b2fd-60ee-4e56-a1f0-a586d596adf6" ; skos:prefLabel """Merelbeke-Melle""" ; regorg:legalName """Merelbeke-Melle""" ; org:classification . - regorg:orgStatus . # In oprichting + regorg:orgStatus . # In oprichting - owl:sameAs . + owl:sameAs . # KBO number - adms:identifier . - a adms:Identifier ; - mu:uuid """2732aa07-aa78-4f38-aa0f-222f7bf2262c""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """10e84544-7833-4cda-b818-db5aee1d8061""" ; skos:notation "KBO nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """2867a412-2b13-4d89-8afd-a52b2b17a86b""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """95e75578-709a-4659-a08b-066454b2c137""" ; generiek:lokaleIdentificator """1010776127""" . # OVO number - adms:identifier . - a adms:Identifier ; - mu:uuid """85778865-e416-4f6e-a1a4-e7feef79162a""" ; + adms:identifier . + a adms:Identifier ; + mu:uuid """b0b22de1-be13-458f-b22e-10ce1750e7f3""" ; skos:notation "OVO-nummer" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid """062c2f45-4cf0-4c94-8233-bbb608b10945""" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """057f01c7-eb8a-4ce4-aebd-1d2d1a9226f4""" ; generiek:lokaleIdentificator """OVO053711""" . # Placeholder for SharePoint identifier - adms:identifier . - a adms:Identifier ; - mu:uuid "0336029e-3fcd-4792-ab5a-0824d7e651b3" ; + adms:identifier . + a adms:Identifier ; + mu:uuid "dcebce56-b55d-46a6-ac48-ea74fb4830d7" ; skos:notation "SharePoint identificator" ; - generiek:gestructureerdeIdentificator . - a generiek:GestructureerdeIdentificator ; - mu:uuid "d9ba739a-9435-4029-8495-ba34f7060609" . + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid "cb21628b-3e06-46f7-b7a3-7f139b626258" . } } # @@ -64,16 +64,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """2387d0ed-4347-4b6e-a945-3a1f1c966f83""" ; + a besluit:Bestuursorgaan ; + mu:uuid """1930d6e3-3afd-4633-940e-d9e83e6542c5""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """a4d25ad2-45ee-4b7f-a1fc-55cede04b1a9""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """802f5214-caea-4667-9a2c-199f6224a31c""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -86,16 +86,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """54ca6105-7f8c-40f2-b07e-c83a32886f08""" ; + a besluit:Bestuursorgaan ; + mu:uuid """b5b90481-3fc8-491f-aee2-7f5a5ea37137""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """868dd90d-4342-46f3-9e8a-f9b053c2dce0""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """9e73295d-41c5-4232-a84b-04cea0e54b09""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -108,16 +108,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """6fd5d904-a9a0-416c-879b-152f7d6f232f""" ; + a besluit:Bestuursorgaan ; + mu:uuid """27d40490-d644-458e-9be4-35770d82f267""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """83c6a681-1bb5-4604-9e2f-8be38cd39fcc""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """c8cb77fe-5f30-4283-98f8-182148b4c1d7""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -130,16 +130,16 @@ INSERT { INSERT { GRAPH { # Abstract governing body - a besluit:Bestuursorgaan ; - mu:uuid """25812229-a8da-4df6-81b7-99c9f38faf59""" ; + a besluit:Bestuursorgaan ; + mu:uuid """95497015-1434-4473-87ea-6c451a3f8a25""" ; skos:prefLabel ?governingBodyLabel ; - besluit:bestuurt ; + besluit:bestuurt ; org:classification . # Timed specialisation for governing body - a besluit:Bestuursorgaan ; - mu:uuid """0eb8bc3f-c420-4228-b6a6-2713c4422d4e""" ; - generiek:isTijdspecialisatieVan ; + a besluit:Bestuursorgaan ; + mu:uuid """78cfa035-6de7-4250-a877-c5325f853292""" ; + generiek:isTijdspecialisatieVan ; mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . } } WHERE { @@ -153,7 +153,7 @@ INSERT { ; INSERT { GRAPH { - ?province org:hasSubOrganization . + ?province org:hasSubOrganization . } } WHERE { GRAPH { diff --git a/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122900-relate-merge-municipalities-and-ocmws.sparql b/config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171700-relate-merge-municipalities-and-ocmws.sparql similarity index 100% rename from config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240821122900-relate-merge-municipalities-and-ocmws.sparql rename to config/migrations/2024/20240812111040-feat-add-merged-municipalities-and-ocmws/20240823171700-relate-merge-municipalities-and-ocmws.sparql From d570e94f2244703bd0c504f705163ed32461ee4d Mon Sep 17 00:00:00 2001 From: Laurent Deketelaere Date: Fri, 28 Jun 2024 20:51:09 +0200 Subject: [PATCH 06/19] feat: Remove CLB data from the producer --- .../organizations-public-info/export.json | 59 ------------------- 1 file changed, 59 deletions(-) diff --git a/config/delta-producer/organizations-public-info/export.json b/config/delta-producer/organizations-public-info/export.json index 1ec280f..f4f80d7 100644 --- a/config/delta-producer/organizations-public-info/export.json +++ b/config/delta-producer/organizations-public-info/export.json @@ -15,8 +15,6 @@ "http://www.w3.org/ns/regorg#legalName", "http://www.w3.org/ns/adms#identifier", "http://www.w3.org/ns/regorg#orgStatus", - "http://www.w3.org/ns/org#hasPrimarySite", - "http://www.w3.org/ns/org#hasSite", "http://www.w3.org/ns/org#changedBy", "http://www.w3.org/ns/org#resultedFrom", "http://www.w3.org/ns/org#hasPost", @@ -43,8 +41,6 @@ "http://www.w3.org/ns/regorg#legalName", "http://www.w3.org/ns/adms#identifier", "http://www.w3.org/ns/regorg#orgStatus", - "http://www.w3.org/ns/org#hasPrimarySite", - "http://www.w3.org/ns/org#hasSite", "http://www.w3.org/ns/org#changedBy", "http://www.w3.org/ns/org#resultedFrom", "http://www.w3.org/ns/org#hasPost", @@ -79,8 +75,6 @@ "http://www.w3.org/ns/org#changedBy", "http://www.w3.org/ns/org#classification", "http://www.w3.org/ns/org#hasPost", - "http://www.w3.org/ns/org#hasPrimarySite", - "http://www.w3.org/ns/org#hasSite", "http://www.w3.org/ns/org#hasSubOrganization", "http://www.w3.org/ns/org#linkedTo", "http://www.w3.org/ns/org#resultedFrom", @@ -160,59 +154,6 @@ "http://data.lblod.info/vocabularies/erediensten/functie" ] }, - { - "type": "http://www.w3.org/ns/org#Site", - "graphsFilter": [ - "http://mu.semte.ch/graphs/shared", - "http://mu.semte.ch/graphs/worship-service", - "http://mu.semte.ch/graphs/administrative-unit" - ], - "properties": [ - "http://mu.semte.ch/vocabularies/core/uuid", - "http://www.w3.org/ns/org#siteAddress", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://data.lblod.info/vocabularies/erediensten/vestigingstype" - ] - }, - { - "type": "http://www.w3.org/ns/locn#Address", - "graphsFilter": [ - "http://mu.semte.ch/graphs/shared", - "http://mu.semte.ch/graphs/worship-service", - "http://mu.semte.ch/graphs/administrative-unit" - ], - "properties": [ - "http://mu.semte.ch/vocabularies/core/uuid", - "https://data.vlaanderen.be/ns/adres#Adresvoorstelling.huisnummer", - "https://data.vlaanderen.be/ns/adres#Adresvoorstelling.busnummer", - "http://www.w3.org/ns/locn#thoroughfare", - "http://www.w3.org/ns/locn#postCode", - "https://data.vlaanderen.be/ns/adres#gemeentenaam", - "http://www.w3.org/ns/locn#adminUnitL2", - "https://data.vlaanderen.be/ns/adres#land", - "http://www.w3.org/ns/locn#fullAddress", - "https://data.vlaanderen.be/ns/adres#verwijstNaar", - "http://purl.org/dc/terms/source" - ] - }, - { - "type": "http://schema.org/ContactPoint", - "graphsFilter": [ - "http://mu.semte.ch/graphs/shared", - "http://mu.semte.ch/graphs/worship-service", - "http://mu.semte.ch/graphs/administrative-unit" - ], - "properties": [ - "http://mu.semte.ch/vocabularies/core/uuid", - "http://www.w3.org/ns/locn#address", - "http://xmlns.com/foaf/0.1/page", - "http://schema.org/faxNumber", - "http://schema.org/contactType", - "http://xmlns.com/foaf/0.1/page", - "http://schema.org/email", - "http://schema.org/telephone" - ] - }, { "type": "http://www.w3.org/ns/adms#Identifier", "graphsFilter": [ From 53f8de39ebe5ebf71c7f89d17f7ea04ecf2fbbf2 Mon Sep 17 00:00:00 2001 From: mirdono Date: Mon, 26 Aug 2024 12:38:50 +0200 Subject: [PATCH 07/19] chore: bump frontend --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0f8ebbf..ec24309 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -179,7 +179,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.26.0 + image: lblod/frontend-organization-portal:1.27.0 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From da5c9fb35be2f3b7cd5fcc049b4a92e16e602f5b Mon Sep 17 00:00:00 2001 From: mirdono Date: Mon, 26 Aug 2024 12:49:47 +0200 Subject: [PATCH 08/19] chore: bump frontend to new pre-release --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index ec24309..5edf982 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -179,7 +179,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.27.0 + image: lblod/frontend-organization-portal:1.27.0-0 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 5da229f19827c7056c9a9bf350d56b25bf836b89 Mon Sep 17 00:00:00 2001 From: mirdono Date: Tue, 27 Aug 2024 12:47:12 +0200 Subject: [PATCH 09/19] chore: bump frontend version --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5edf982..97a6fc8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -179,7 +179,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.27.0-0 + image: lblod/frontend-organization-portal:1.27.0-1 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 63979c19abdc08494dee9f431d861b8d3691dd0d Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Tue, 27 Aug 2024 16:03:12 +0200 Subject: [PATCH 10/19] export representative organ classification --- .../organizations-public-info/export.json | 47 +++++-------------- 1 file changed, 13 insertions(+), 34 deletions(-) diff --git a/config/delta-producer/organizations-public-info/export.json b/config/delta-producer/organizations-public-info/export.json index f4f80d7..5af3486 100644 --- a/config/delta-producer/organizations-public-info/export.json +++ b/config/delta-producer/organizations-public-info/export.json @@ -94,6 +94,7 @@ "http://www.w3.org/2004/02/skos/core#prefLabel", "http://www.w3.org/ns/org#linkedTo", "http://data.lblod.info/vocabularies/erediensten/typeEredienst", + "http://www.w3.org/ns/org#classification", "http://www.w3.org/ns/adms#identifier", "http://www.w3.org/ns/regorg#legalName", "http://www.w3.org/2004/02/skos/core#altLabel", @@ -104,9 +105,7 @@ { "type": "http://www.w3.org/ns/regorg#RegisteredOrganization", "strictTypeExport": "true", - "graphsFilter": [ - "http://mu.semte.ch/graphs/administrative-unit" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/administrative-unit"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://data.vlaanderen.be/ns/besluit#werkingsgebied", @@ -169,9 +168,7 @@ }, { "type": "http://www.w3.org/ns/adms#Identifier", - "graphsFilter": [ - "http://mu.semte.ch/graphs/worship-service" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/worship-service"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#notation", @@ -193,9 +190,7 @@ }, { "type": "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator", - "graphsFilter": [ - "http://mu.semte.ch/graphs/worship-service" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/worship-service"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "https://data.vlaanderen.be/ns/generiek#lokaleIdentificator" @@ -204,9 +199,7 @@ }, { "type": "http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -231,9 +224,7 @@ }, { "type": "http://lblod.data.gift/vocabularies/organisatie/TypeEredienst", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -241,9 +232,7 @@ }, { "type": "http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -271,9 +260,7 @@ }, { "type": "http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -281,9 +268,7 @@ }, { "type": "http://lblod.data.gift/vocabularies/organisatie/OrganisatieStatusCode", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -291,9 +276,7 @@ }, { "type": "http://lblod.data.gift/vocabularies/organisatie/TypeVestiging", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -326,12 +309,8 @@ }, { "type": "http://www.w3.org/2004/02/skos/core#Concept", - "graphsFilter": [ - "http://mu.semte.ch/graphs/public" - ], - "pathToConceptScheme": [ - "http://www.w3.org/2004/02/skos/core#inScheme" - ], + "graphsFilter": ["http://mu.semte.ch/graphs/public"], + "pathToConceptScheme": ["http://www.w3.org/2004/02/skos/core#inScheme"], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/ns/org#role", @@ -346,4 +325,4 @@ ] } ] -} \ No newline at end of file +} From 296f18e41ca85872a9ef166ec8b2d9291e731095 Mon Sep 17 00:00:00 2001 From: mirdono Date: Tue, 27 Aug 2024 15:02:50 +0200 Subject: [PATCH 11/19] feat: add new district Borsbeek The municipality of Borsbeek will merge with the municipality Antwerp as of 01-01-2025. This will result in a new district Borsbeek part of municipality Antwerp. This migration adds that new district such that a URI is assigned to it and its governing bodies are created. The information available at this time is limited its (legal) name. Other core data, such as identifiers, and further information such as site addresses will be added later by business. --- ...0827145640-merged-district-borsbeek.sparql | 128 ++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 config/migrations/2024/20240827145640-merged-district-borsbeek.sparql diff --git a/config/migrations/2024/20240827145640-merged-district-borsbeek.sparql b/config/migrations/2024/20240827145640-merged-district-borsbeek.sparql new file mode 100644 index 0000000..e30d321 --- /dev/null +++ b/config/migrations/2024/20240827145640-merged-district-borsbeek.sparql @@ -0,0 +1,128 @@ +PREFIX mu: +PREFIX skos: +PREFIX org: +PREFIX regorg: +PREFIX adms: +PREFIX generiek: +PREFIX besluit: +PREFIX mandaat: + +INSERT DATA { + GRAPH { + + a , + , + . + mu:uuid "4b44e6f1-113b-4692-b149-44a889b215f2" ; + skos:prefLabel """Borsbeek""" ; + regorg:legalName """Borsbeek""" ; + org:classification . + + regorg:orgStatus . # In oprichting + + # Placeholder for KBO number + adms:identifier . + a adms:Identifier ; + mu:uuid """a7b2c84b-8151-4d88-982b-0ec87ea2e793""" ; + skos:notation "KBO nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """79a9898b-bb86-4158-83c4-f4b9ba632e5c""" . + + # Placeholder for OVO number + adms:identifier . + a adms:Identifier ; + mu:uuid """535f3065-3530-4577-b8d2-200d68d0ddeb""" ; + skos:notation "OVO-nummer" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """5e8ca2f4-c1cc-4a55-90ef-0c4298467cee""" . + + # Placeholder for SharePoint identifier + adms:identifier . + a adms:Identifier ; + mu:uuid """03a56007-e297-434e-833d-12b8cd0c59a6""" ; + skos:notation "SharePoint identificator" ; + generiek:gestructureerdeIdentificator . + a generiek:GestructureerdeIdentificator ; + mu:uuid """9e274975-6c33-4568-9286-c4b2b6a6b94c""" . + } +} +# +# Governing bodies +# +; +## Districtsraad +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """cd7165a1-3c93-411b-9ef4-393103ebbd7e""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """547c5e2a-fa22-4c0c-b142-9df2d7602e20""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " Borsbeek") as ?governingBodyLabel) +} +; +## Districtsburgemeester +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """7135d957-2452-43a2-8a3c-608fe87e5e6e""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """d8cedeff-a243-41f9-90ea-15867149aefd""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " Borsbeek") as ?governingBodyLabel) +} +; +## Districtscollege +INSERT { + GRAPH { + # Abstract governing body + a besluit:Bestuursorgaan ; + mu:uuid """e91bec2e-e0c1-4b56-9fb2-417c3289afbd""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + a besluit:Bestuursorgaan ; + mu:uuid """570a7769-89e0-4f40-aa1a-da17755f3bf4""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + + BIND(CONCAT(?classificationLabel, " Borsbeek") as ?governingBodyLabel) +} +# +# Related municipality +# +; +INSERT DATA { + GRAPH { + org:hasSubOrganization . # Relate to Antwerp municipality + } +} From 48cefe143e67f68351881bcb766098a5dc8a8480 Mon Sep 17 00:00:00 2001 From: mirdono Date: Sat, 31 Aug 2024 14:57:19 +0200 Subject: [PATCH 12/19] chore: bump frontend to latest release --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 97a6fc8..ec24309 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -179,7 +179,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.27.0-1 + image: lblod/frontend-organization-portal:1.27.0 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 8c1538d45ed14fcbfb3dc5033c93c18ed11930e7 Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 29 Aug 2024 16:07:04 +0200 Subject: [PATCH 13/19] feat: add migrations for governing bodies 2025 These migrations create the necessary time specialised governing bodies for municipalities, OCMWs, district and provinces for the next legislature. The migrations work by creating a new time specialisation, with an appropriate starting date, for each abstract governing body associated with an active organisation. For municipalities and OCMWs some instances are explicitly filtered, these are municipalities (OCMWs) that will be merged with another one as of 01-01-2025 and therefore will become inactive. The listed municipalities (OCMWs) are extracted from data provided by business. --- ...imed-governing-bodies-gemeente-2025.sparql | 60 +++++++++++++++++++ ...05-timed-governing-bodies-ocmw-2025.sparql | 60 +++++++++++++++++++ ...imed-governing-bodies-district-2025.sparql | 35 +++++++++++ ...med-governing-bodies-provincie-2025.sparql | 35 +++++++++++ 4 files changed, 190 insertions(+) create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160204-timed-governing-bodies-gemeente-2025.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160205-timed-governing-bodies-ocmw-2025.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160206-timed-governing-bodies-district-2025.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160207-timed-governing-bodies-provincie-2025.sparql diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160204-timed-governing-bodies-gemeente-2025.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160204-timed-governing-bodies-gemeente-2025.sparql new file mode 100644 index 0000000..deefd6e --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160204-timed-governing-bodies-gemeente-2025.sparql @@ -0,0 +1,60 @@ +PREFIX besluit: +PREFIX mu: +PREFIX generiek: +PREFIX mandaat: +PREFIX skos: +PREFIX org: +PREFIX regorg: + +INSERT { + GRAPH { + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + # Note: for municipalities and provinces the graphs differ, splitting this + # WHERE clause in two GRAPH clauses simplifies the generation of these + # migrations. + GRAPH { + ?organization mu:uuid ?organizationUuid ; + org:classification . # Gemeente + } + + GRAPH { + ?governingBody besluit:bestuurt ?organization ; + org:classification ?governingBodyClassification . + + # Only active organizations should get new timed governing bodies + ?organization regorg:orgStatus . # Actief (Eng. Active) + } + + FILTER ( + ?organization + NOT IN + ( # Beveren + , # Borgloon + , # Borsbeek + , # De Pinte + , # Galmaarden + , # Gooik + , # Herne + , # Hoeselt + , # Kortessem + , # Kruibeke + , # Melle + , # Merelbeke + , # Meulebeke + , # Moerbeke + , # Nazareth + , # Ruiselede + , # Tessenderlo + , # Wachtebeke + , # Zwijndrecht + ) + ) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160205-timed-governing-bodies-ocmw-2025.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160205-timed-governing-bodies-ocmw-2025.sparql new file mode 100644 index 0000000..8995b56 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160205-timed-governing-bodies-ocmw-2025.sparql @@ -0,0 +1,60 @@ +PREFIX besluit: +PREFIX mu: +PREFIX generiek: +PREFIX mandaat: +PREFIX skos: +PREFIX org: +PREFIX regorg: + +INSERT { + GRAPH { + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + # Note: for municipalities and provinces the graphs differ, splitting this + # WHERE clause in two GRAPH clauses simplifies the generation of these + # migrations. + GRAPH { + ?organization mu:uuid ?organizationUuid ; + org:classification . # OCMW + } + + GRAPH { + ?governingBody besluit:bestuurt ?organization ; + org:classification ?governingBodyClassification . + + # Only active organizations should get new timed governing bodies + ?organization regorg:orgStatus . # Actief (Eng. Active) + } + + FILTER ( + ?organization + NOT IN + ( # Beveren + , # Borgloon + , # Borsbeek + , # De Pinte + , # Galmaarden + , # Gooik + , # Herne + , # Hoeselt + , # Kortessem + , # Kruibeke + , # Melle + , # Merelbeke + , # Meulebeke + , # Moerbeke + , # Nazareth + , # Ruiselede + , # Tessenderlo + , # Wachtebeke + , # Zwijndrecht + ) + ) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160206-timed-governing-bodies-district-2025.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160206-timed-governing-bodies-district-2025.sparql new file mode 100644 index 0000000..1c27560 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160206-timed-governing-bodies-district-2025.sparql @@ -0,0 +1,35 @@ +PREFIX besluit: +PREFIX mu: +PREFIX generiek: +PREFIX mandaat: +PREFIX skos: +PREFIX org: +PREFIX regorg: + +INSERT { + GRAPH { + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + # Note: for municipalities and provinces the graphs differ, splitting this + # WHERE clause in two GRAPH clauses simplifies the generation of these + # migrations. + GRAPH { + ?organization mu:uuid ?organizationUuid ; + org:classification . # District + } + + GRAPH { + ?governingBody besluit:bestuurt ?organization ; + org:classification ?governingBodyClassification . + + # Only active organizations should get new timed governing bodies + ?organization regorg:orgStatus . # Actief (Eng. Active) + } + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160207-timed-governing-bodies-provincie-2025.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160207-timed-governing-bodies-provincie-2025.sparql new file mode 100644 index 0000000..074f97d --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160207-timed-governing-bodies-provincie-2025.sparql @@ -0,0 +1,35 @@ +PREFIX besluit: +PREFIX mu: +PREFIX generiek: +PREFIX mandaat: +PREFIX skos: +PREFIX org: +PREFIX regorg: + +INSERT { + GRAPH { + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + # Note: for municipalities and provinces the graphs differ, splitting this + # WHERE clause in two GRAPH clauses simplifies the generation of these + # migrations. + GRAPH { + ?organization mu:uuid ?organizationUuid ; + org:classification . # Provincie + } + + GRAPH { + ?governingBody besluit:bestuurt ?organization ; + org:classification ?governingBodyClassification . + + # Only active organizations should get new timed governing bodies + ?organization regorg:orgStatus . # Actief (Eng. Active) + } + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} From a647c7ea69af6b292bb575e71a22132dcd192d77 Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 29 Aug 2024 20:39:55 +0200 Subject: [PATCH 14/19] fix: add missing governing bodies for merging OCMWs The merged OCMWs as imported in #442 were lacking some governing bodies that are used to relation funcations to. These migration add the missing governing bodies for these OCMWs. --- ...d-ocmw-beveren_kruibeke_zwijndrecht.sparql | 113 ++++++++++++++++++ ...-bodies-merged-ocmw-merelbeke_melle.sparql | 113 ++++++++++++++++++ ...odies-merged-ocmw-nazareth_de_pinte.sparql | 113 ++++++++++++++++++ ...rning-bodies-merged-ocmw-pajottegem.sparql | 113 ++++++++++++++++++ 4 files changed, 452 insertions(+) create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160208-add-missing-governing-bodies-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160209-add-missing-governing-bodies-merged-ocmw-merelbeke_melle.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160210-add-missing-governing-bodies-merged-ocmw-nazareth_de_pinte.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160211-add-missing-governing-bodies-merged-ocmw-pajottegem.sparql diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160208-add-missing-governing-bodies-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160208-add-missing-governing-bodies-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql new file mode 100644 index 0000000..e529eae --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160208-add-missing-governing-bodies-merged-ocmw-beveren_kruibeke_zwijndrecht.sparql @@ -0,0 +1,113 @@ +PREFIX mu: +PREFIX org: +PREFIX besluit: +PREFIX mandaat: +PREFIX generiek: + +# Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " beveren_kruibeke_zwijndrecht") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160209-add-missing-governing-bodies-merged-ocmw-merelbeke_melle.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160209-add-missing-governing-bodies-merged-ocmw-merelbeke_melle.sparql new file mode 100644 index 0000000..948f5c9 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160209-add-missing-governing-bodies-merged-ocmw-merelbeke_melle.sparql @@ -0,0 +1,113 @@ +PREFIX mu: +PREFIX org: +PREFIX besluit: +PREFIX mandaat: +PREFIX generiek: + +# Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " merelbeke_melle") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160210-add-missing-governing-bodies-merged-ocmw-nazareth_de_pinte.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160210-add-missing-governing-bodies-merged-ocmw-nazareth_de_pinte.sparql new file mode 100644 index 0000000..bd4b829 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160210-add-missing-governing-bodies-merged-ocmw-nazareth_de_pinte.sparql @@ -0,0 +1,113 @@ +PREFIX mu: +PREFIX org: +PREFIX besluit: +PREFIX mandaat: +PREFIX generiek: + +# Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " nazareth_de_pinte") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160211-add-missing-governing-bodies-merged-ocmw-pajottegem.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160211-add-missing-governing-bodies-merged-ocmw-pajottegem.sparql new file mode 100644 index 0000000..0672642 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829160211-add-missing-governing-bodies-merged-ocmw-pajottegem.sparql @@ -0,0 +1,113 @@ +PREFIX mu: +PREFIX org: +PREFIX besluit: +PREFIX mandaat: +PREFIX generiek: + +# Algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-algemeen directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} +; +# Adjunct-financieel directeur +INSERT { + GRAPH { + # Abstract governing body + ?governingBody a besluit:Bestuursorgaan ; + mu:uuid ?governingBodyUuid ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + + # Timed specialisation for governing body + ?timedGoverningBody a besluit:Bestuursorgaan ; + mu:uuid ?timedGoverningBodyUuid ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } +} WHERE { + skos:prefLabel ?classificationLabel . + BIND(CONCAT(?classificationLabel, " pajottegem") AS ?governingBodyLabel) + + BIND(SHA256(CONCAT("http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0", " 2025 ", STR())) AS ?governingBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?governingBodyUuid))) AS ?governingBody) + + BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody) +} From 78ce1f7071921f1b1ab939f5fe96562a0242f36e Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 29 Aug 2024 18:18:29 +0200 Subject: [PATCH 15/19] feat: mandates and functions for governing bodies legislature 2025 For each of the governing bodies created by the migrations in the previous commit, now add the corresponding mandates and functions. Within a organisation some governing bodies share the same mandates. For example, for municipalities the governing body "Burgemeester" and "College van burgemeester en schepen" both refer to the SAME instance of mandates for "Burgemeester" and "Aangewezen burgemeester". To achieve this the some migrations contain a second `INSERT` clause in which the other governing body that contains the necessary mandates is selected to be able to determine the correct mandate URI. This only works on two conditions: 1. Migrations that depend on each must be executed in the correct order. For example, the migration inserting the mandates for "College van burgemeester en schepen" must be executed after that for "Burgemeester". The former will reuse mandates created by the latter. 2. The UUID for the shared mandates is calculated in exactly the same way in migrations that depend on each other. --- ...0240829171504-mandates-burgemeester.sparql | 32 +++++++++ ...0240829171505-mandates-gemeenteraad.sparql | 32 +++++++++ ...llege_van_burgemeester_en_schepenen.sparql | 67 +++++++++++++++++++ ...onder_comite_voor_de_sociale_dienst.sparql | 31 +++++++++ ...s-raad_voor_maatschappelijk_welzijn.sparql | 32 +++++++++ ...20240829171509-mandates-vast_bureau.sparql | 32 +++++++++ ...onder_comite_voor_de_sociale_dienst.sparql | 65 ++++++++++++++++++ ...240829171511-mandates-provincieraad.sparql | 32 +++++++++ .../20240829171512-mandates-gouverneur.sparql | 31 +++++++++ .../20240829171513-mandates-deputatie.sparql | 31 +++++++++ ...240829171514-mandates-districtsraad.sparql | 32 +++++++++ ...1515-mandates-districtsburgemeester.sparql | 31 +++++++++ ...829171516-mandates-districtscollege.sparql | 65 ++++++++++++++++++ ...171539-functions-algemeen_directeur.sparql | 32 +++++++++ ...unctions-adjunct-algemeen_directeur.sparql | 32 +++++++++ ...1541-functions-financieel_directeur.sparql | 32 +++++++++ ...ctions-adjunct-financieel_directeur.sparql | 32 +++++++++ .../20240829171543-functions-griffier.sparql | 32 +++++++++ ...1544-functions-financieel_beheerder.sparql | 32 +++++++++ 19 files changed, 705 insertions(+) create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171504-mandates-burgemeester.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171505-mandates-gemeenteraad.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171506-mandates-college_van_burgemeester_en_schepenen.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171507-mandates-voorzitter_van_het_bijzonder_comite_voor_de_sociale_dienst.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171508-mandates-raad_voor_maatschappelijk_welzijn.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171509-mandates-vast_bureau.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171510-mandates-bijzonder_comite_voor_de_sociale_dienst.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171511-mandates-provincieraad.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171512-mandates-gouverneur.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171513-mandates-deputatie.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171514-mandates-districtsraad.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171515-mandates-districtsburgemeester.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171516-mandates-districtscollege.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171539-functions-algemeen_directeur.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171540-functions-adjunct-algemeen_directeur.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171541-functions-financieel_directeur.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171542-functions-adjunct-financieel_directeur.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171543-functions-griffier.sparql create mode 100644 config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171544-functions-financieel_beheerder.sparql diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171504-mandates-burgemeester.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171504-mandates-burgemeester.sparql new file mode 100644 index 0000000..a67f63d --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171504-mandates-burgemeester.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Burgemeester + } + + VALUES ?mandateRole { + # Burgemeester + # Aangewezen burgemeester + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171505-mandates-gemeenteraad.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171505-mandates-gemeenteraad.sparql new file mode 100644 index 0000000..4be1626 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171505-mandates-gemeenteraad.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Gemeenteraad + } + + VALUES ?mandateRole { + # Voorzitter van de gemeenteraad + # Gemeenteraadslid + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171506-mandates-college_van_burgemeester_en_schepenen.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171506-mandates-college_van_burgemeester_en_schepenen.sparql new file mode 100644 index 0000000..cd5cc55 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171506-mandates-college_van_burgemeester_en_schepenen.sparql @@ -0,0 +1,67 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # College van Burgemeester en Schepenen + } + + VALUES ?mandateRole { + # Schepen + # Toegevoegde schepen + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} +; +# Link mandates shared with Burgemeester governing body +# !! Make sure the Burgemeester governing body and its mandates are !! +# !! already created, otherwise this will not work correctly. !! +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + } +} WHERE { + GRAPH { + + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # College van Burgemeester en Schepenen + + # Find the other governing body as it is needed to determine correct UUID and URI + ?governingBody besluit:bestuurt ?organisation . + + ?governingBodyOther besluit:bestuurt ?organisation ; + org:classification . # Burgemeester + ?governingBodyInTimeOther a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBodyOther ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } + VALUES ?mandateRole { + # Burgemeester + # Aangewezen burgemeester + + } + + BIND(SHA256(CONCAT(STR(?governingBodyOther), STR(?governingBodyInTimeOther), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171507-mandates-voorzitter_van_het_bijzonder_comite_voor_de_sociale_dienst.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171507-mandates-voorzitter_van_het_bijzonder_comite_voor_de_sociale_dienst.sparql new file mode 100644 index 0000000..be0e4fe --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171507-mandates-voorzitter_van_het_bijzonder_comite_voor_de_sociale_dienst.sparql @@ -0,0 +1,31 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Voorzitter van het Bijzonder Comité voor de Sociale Dienst + } + + VALUES ?mandateRole { + # Voorzitter van het Bijzonder Comité voor de Sociale Dienst + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171508-mandates-raad_voor_maatschappelijk_welzijn.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171508-mandates-raad_voor_maatschappelijk_welzijn.sparql new file mode 100644 index 0000000..2ef2736 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171508-mandates-raad_voor_maatschappelijk_welzijn.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Raad voor Maatschappelijk Welzijn + } + + VALUES ?mandateRole { + # Voorzitter van de Raad voor Maatschappelijk Welzijn + # Lid van de Raad voor Maatschappelijk Welzijn + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171509-mandates-vast_bureau.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171509-mandates-vast_bureau.sparql new file mode 100644 index 0000000..353bf85 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171509-mandates-vast_bureau.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Vast Bureau + } + + VALUES ?mandateRole { + # Voorzitter van het Vast bureau + # Lid van het Vast Bureau + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171510-mandates-bijzonder_comite_voor_de_sociale_dienst.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171510-mandates-bijzonder_comite_voor_de_sociale_dienst.sparql new file mode 100644 index 0000000..63b86d4 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171510-mandates-bijzonder_comite_voor_de_sociale_dienst.sparql @@ -0,0 +1,65 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Bijzonder Comité voor de Sociale Dienst + } + + VALUES ?mandateRole { + # Lid van het Bijzonder Comité voor de Sociale Dienst + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} +; +# Link mandates shared with Voorzitter van het Bijzonder Comité voor de Sociale Dienst governing body +# !! Make sure the Voorzitter van het Bijzonder Comité voor de Sociale Dienst governing body and its mandates are !! +# !! already created, otherwise this will not work correctly. !! +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + } +} WHERE { + GRAPH { + + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Bijzonder Comité voor de Sociale Dienst + + # Find the other governing body as it is needed to determine correct UUID and URI + ?governingBody besluit:bestuurt ?organisation . + + ?governingBodyOther besluit:bestuurt ?organisation ; + org:classification . # Voorzitter van het Bijzonder Comité voor de Sociale Dienst + ?governingBodyInTimeOther a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBodyOther ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } + VALUES ?mandateRole { + # Voorzitter van het Bijzonder Comité voor de Sociale Dienst + + } + + BIND(SHA256(CONCAT(STR(?governingBodyOther), STR(?governingBodyInTimeOther), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171511-mandates-provincieraad.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171511-mandates-provincieraad.sparql new file mode 100644 index 0000000..30b8f39 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171511-mandates-provincieraad.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Provincieraad + } + + VALUES ?mandateRole { + # Voorzitter van de provincieraad + # Provincieraadslid + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171512-mandates-gouverneur.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171512-mandates-gouverneur.sparql new file mode 100644 index 0000000..d22bb98 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171512-mandates-gouverneur.sparql @@ -0,0 +1,31 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Gouverneur + } + + VALUES ?mandateRole { + # Gouverneur + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171513-mandates-deputatie.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171513-mandates-deputatie.sparql new file mode 100644 index 0000000..33a976c --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171513-mandates-deputatie.sparql @@ -0,0 +1,31 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Deputatie + } + + VALUES ?mandateRole { + # Gedeputeerde + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171514-mandates-districtsraad.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171514-mandates-districtsraad.sparql new file mode 100644 index 0000000..0e5df48 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171514-mandates-districtsraad.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Districtsraad + } + + VALUES ?mandateRole { + # Voorzitter van de districtsraad + # Districtsraadslid + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171515-mandates-districtsburgemeester.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171515-mandates-districtsburgemeester.sparql new file mode 100644 index 0000000..d8ce80c --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171515-mandates-districtsburgemeester.sparql @@ -0,0 +1,31 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Districtsburgemeester + } + + VALUES ?mandateRole { + # Districtsburgemeester + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171516-mandates-districtscollege.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171516-mandates-districtscollege.sparql new file mode 100644 index 0000000..32a2bd6 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171516-mandates-districtscollege.sparql @@ -0,0 +1,65 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: + +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + + ?mandate a mandaat:Mandaat , org:Post ; + mu:uuid ?mandateUuid ; + org:role ?mandateRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Districtscollege + } + + VALUES ?mandateRole { + # Districtsschepen + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} +; +# Link mandates shared with Districtsburgemeester governing body +# !! Make sure the Districtsburgemeester governing body and its mandates are !! +# !! already created, otherwise this will not work correctly. !! +INSERT { + GRAPH { + ?governingBodyInTime org:hasPost ?mandate . + } +} WHERE { + GRAPH { + + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Districtscollege + + # Find the other governing body as it is needed to determine correct UUID and URI + ?governingBody besluit:bestuurt ?organisation . + + ?governingBodyOther besluit:bestuurt ?organisation ; + org:classification . # Districtsburgemeester + ?governingBodyInTimeOther a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBodyOther ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + } + VALUES ?mandateRole { + # Districtsburgemeester + + } + + BIND(SHA256(CONCAT(STR(?governingBodyOther), STR(?governingBodyInTimeOther), STR(?mandateRole), " 2025")) AS ?mandateUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/mandaten/", ?mandateUuid)) AS ?mandate) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171539-functions-algemeen_directeur.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171539-functions-algemeen_directeur.sparql new file mode 100644 index 0000000..e740637 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171539-functions-algemeen_directeur.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: +PREFIX lblodlg: + +INSERT { + GRAPH { + ?governingBodyInTime lblodlg:heeftBestuursfunctie ?function . + + ?function a lblodlg:Bestuursfunctie , org:Post ; + mu:uuid ?functionUuid ; + org:role ?functionRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Algemeen directeur + } + + VALUES ?functionRole { + # Algemeen directeur + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171540-functions-adjunct-algemeen_directeur.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171540-functions-adjunct-algemeen_directeur.sparql new file mode 100644 index 0000000..65ec5e6 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171540-functions-adjunct-algemeen_directeur.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: +PREFIX lblodlg: + +INSERT { + GRAPH { + ?governingBodyInTime lblodlg:heeftBestuursfunctie ?function . + + ?function a lblodlg:Bestuursfunctie , org:Post ; + mu:uuid ?functionUuid ; + org:role ?functionRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Adjunct-algemeen directeur + } + + VALUES ?functionRole { + # Adjunct algemeen directeur + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171541-functions-financieel_directeur.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171541-functions-financieel_directeur.sparql new file mode 100644 index 0000000..2f02af9 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171541-functions-financieel_directeur.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: +PREFIX lblodlg: + +INSERT { + GRAPH { + ?governingBodyInTime lblodlg:heeftBestuursfunctie ?function . + + ?function a lblodlg:Bestuursfunctie , org:Post ; + mu:uuid ?functionUuid ; + org:role ?functionRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Financieel directeur + } + + VALUES ?functionRole { + # Financieel directeur + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171542-functions-adjunct-financieel_directeur.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171542-functions-adjunct-financieel_directeur.sparql new file mode 100644 index 0000000..febd76a --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171542-functions-adjunct-financieel_directeur.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: +PREFIX lblodlg: + +INSERT { + GRAPH { + ?governingBodyInTime lblodlg:heeftBestuursfunctie ?function . + + ?function a lblodlg:Bestuursfunctie , org:Post ; + mu:uuid ?functionUuid ; + org:role ?functionRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Adjunct-financieel directeur + } + + VALUES ?functionRole { + # Adjunct financieel directeur + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171543-functions-griffier.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171543-functions-griffier.sparql new file mode 100644 index 0000000..ee75eb1 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171543-functions-griffier.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: +PREFIX lblodlg: + +INSERT { + GRAPH { + ?governingBodyInTime lblodlg:heeftBestuursfunctie ?function . + + ?function a lblodlg:Bestuursfunctie , org:Post ; + mu:uuid ?functionUuid ; + org:role ?functionRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Griffier + } + + VALUES ?functionRole { + # Griffier + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function) +} diff --git a/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171544-functions-financieel_beheerder.sparql b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171544-functions-financieel_beheerder.sparql new file mode 100644 index 0000000..c3b5838 --- /dev/null +++ b/config/migrations/2024/20240828104739-governing-bodies-mandates-2025-legislation/20240829171544-functions-financieel_beheerder.sparql @@ -0,0 +1,32 @@ +PREFIX org: +PREFIX mandaat: +PREFIX mu: +PREFIX besluit: +PREFIX generiek: +PREFIX lblodlg: + +INSERT { + GRAPH { + ?governingBodyInTime lblodlg:heeftBestuursfunctie ?function . + + ?function a lblodlg:Bestuursfunctie , org:Post ; + mu:uuid ?functionUuid ; + org:role ?functionRole . + } +} WHERE { + GRAPH { + ?governingBodyInTime a besluit:Bestuursorgaan ; + generiek:isTijdspecialisatieVan ?governingBody ; + mandaat:bindingStart "2025-01-01T00:00:00"^^xsd:dateTime . + + ?governingBody org:classification . # Financieel beheerder + } + + VALUES ?functionRole { + # Financieel beheerder + + } + + BIND(SHA256(CONCAT(STR(?governingBody), STR(?governingBodyInTime), STR(?functionRole), " 2025")) AS ?functionUuid) + BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursfuncties/", ?functionUuid)) AS ?function) +} From 974a966576f61eac4db6bc1795a04f84f02d6d2d Mon Sep 17 00:00:00 2001 From: Riad Abdallah Date: Tue, 3 Sep 2024 16:53:40 +0200 Subject: [PATCH 16/19] Remove duplicate URI for IBEG --- ...64444-remove-duplicate-uri-for-ibeg.sparql | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql diff --git a/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql b/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql new file mode 100644 index 0000000..ccd2b67 --- /dev/null +++ b/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql @@ -0,0 +1,71 @@ +# Delete old bestuursorganen + +DELETE { + GRAPH ?g { + ?bestuursorganen ?p ?o . + } +} +WHERE { + VALUES ?bestuursorganen { + + + + + + } + + GRAPH ?g { + ?bestuursorganen ?p ?o . + } +} + +; + +# Delete old bestuursorganen in tijd + +DELETE { + GRAPH ?g { + ?bestuursorgaanInTijd ?p ?o . + } +} +WHERE { + VALUES ?bestuursorgaanInTijd { + + + + + + } + + GRAPH ?g { + ?bestuursorgaanInTijd ?p ?o . + } +} + +; + +# Remove wrong URI + reverse properties + +DELETE { + GRAPH ?g { + ?p ?o . + } +} +WHERE { + GRAPH ?g { + ?p ?o . + } +} + +; + +DELETE { + GRAPH ?g { + ?s ?p . + } +} +WHERE { + GRAPH ?g { + ?s ?p . + } +} From e755d615fc9789d7bc29fb767cc0421a64379039 Mon Sep 17 00:00:00 2001 From: Riad Abdallah Date: Wed, 4 Sep 2024 11:30:13 +0200 Subject: [PATCH 17/19] Remove properties attached to bestuursorgaan in tijd --- ...64444-remove-duplicate-uri-for-ibeg.sparql | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql b/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql index ccd2b67..7974cec 100644 --- a/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql +++ b/config/migrations/2024/20240903164444-remove-duplicate-uri-for-ibeg.sparql @@ -21,6 +21,26 @@ WHERE { ; +# Remove associated properties for one of the bestuursorganen in tijd + +DELETE { + GRAPH ?g { + ?post ?p ?o . + } +} +WHERE { + VALUES ?bestuursorgaanInTijd { + + } + + GRAPH ?g { + ?bestuursorgaanInTijd ?post . + ?post ?p ?o . + } +} + +; + # Delete old bestuursorganen in tijd DELETE { From 2e6dd74b729b795cd1f101f9bd00ad11aa8dcbc0 Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Wed, 28 Aug 2024 09:46:49 +0200 Subject: [PATCH 18/19] export ro classifcation in other public producer too --- config/delta-producer/public/export.json | 1 + 1 file changed, 1 insertion(+) diff --git a/config/delta-producer/public/export.json b/config/delta-producer/public/export.json index f6233c8..5c5de6e 100644 --- a/config/delta-producer/public/export.json +++ b/config/delta-producer/public/export.json @@ -144,6 +144,7 @@ "http://www.w3.org/2004/02/skos/core#altLabel", "http://www.w3.org/ns/org#linkedTo", "http://data.lblod.info/vocabularies/erediensten/typeEredienst", + "http://www.w3.org/ns/org#classification", "http://www.w3.org/ns/adms#identifier" ] }, From 0ba4a6f393ec3b894d1a93189899b531d3611fe6 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 4 Sep 2024 15:51:15 +0200 Subject: [PATCH 19/19] fix: let relevant producers export representative body classification Each producer that export representative bodies should include the classification corresponding triples. Otherwise receives might run into problems. --- config/delta-producer/organizations/export.json | 3 ++- config/delta-producer/worship-posts/export.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/delta-producer/organizations/export.json b/config/delta-producer/organizations/export.json index b026ee5..213ee92 100644 --- a/config/delta-producer/organizations/export.json +++ b/config/delta-producer/organizations/export.json @@ -228,7 +228,8 @@ "http://www.w3.org/ns/org#hasPost", "http://www.w3.org/ns/org#linkedTo", "http://www.w3.org/ns/org#hasSubOrganization", - "http://data.lblod.info/vocabularies/erediensten/typeEredienst" + "http://data.lblod.info/vocabularies/erediensten/typeEredienst", + "http://www.w3.org/ns/org#classification" ] }, { diff --git a/config/delta-producer/worship-posts/export.json b/config/delta-producer/worship-posts/export.json index 28eef61..3c11065 100644 --- a/config/delta-producer/worship-posts/export.json +++ b/config/delta-producer/worship-posts/export.json @@ -131,6 +131,7 @@ "http://www.w3.org/ns/org#hasSite", "http://www.w3.org/ns/org#linkedTo", "http://data.lblod.info/vocabularies/erediensten/typeEredienst", + "http://www.w3.org/ns/org#classification", "http://www.w3.org/ns/adms#identifier" ] },