From a647c7ea69af6b292bb575e71a22132dcd192d77 Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 29 Aug 2024 20:39:55 +0200 Subject: [PATCH] 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) +}