From 2eb960265f6d041c06a7c65b46b9b7b7229ec9c8 Mon Sep 17 00:00:00 2001 From: mirdono Date: Fri, 22 Dec 2023 10:40:18 +0100 Subject: [PATCH] Added example Welzijnsvereniging that syncs with Loket --- ...add-ocmw-association-wieltjesgracht.sparql | 182 ++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 config/dev-migrations/20231222092546-add-ocmw-association-wieltjesgracht.sparql diff --git a/config/dev-migrations/20231222092546-add-ocmw-association-wieltjesgracht.sparql b/config/dev-migrations/20231222092546-add-ocmw-association-wieltjesgracht.sparql new file mode 100644 index 0000000..2e96ad2 --- /dev/null +++ b/config/dev-migrations/20231222092546-add-ocmw-association-wieltjesgracht.sparql @@ -0,0 +1,182 @@ +PREFIX org: +PREFIX locn: +PREFIX schema: +PREFIX regorg: +PREFIX person: +PREFIX vcard: +PREFIX dbpedia: +PREFIX adms: +PREFIX euro: +PREFIX prov: +PREFIX organisatie: +PREFIX persoon: +PREFIX adres: +PREFIX generiek: +PREFIX mandaat: +PREFIX besluit: +PREFIX lblodlg: +PREFIX lblodorg: +PREFIX lblodgeneriek: +PREFIX dc_terms: +PREFIX foaf: +PREFIX skos: +PREFIX euvoc: +PREFIX ere: +PREFIX ch: +PREFIX code: +PREFIX ext: +PREFIX geo: +PREFIX nacebel: +PREFIX core: + +# Core data +INSERT DATA { + GRAPH { + core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""". + a besluit:Bestuurseenheid. + a org:Organization. + a dc_terms:Agent. + skos:prefLabel """VERENIGING OCMW-WIELTJESGRACHT""". + + org:classification . + + # Site + core:uuid """6585490A8CEC3153DEA3A208""" . + a schema:ContactPoint . + schema:email """mail@adres.com""" . + schema:telephone """tel:+3211211430""" . + foaf:page """https://www.vlaanderen.be""" . + schema:contactType """Primary""" . + + core:uuid """6585490B8CEC3153DEA3A209""" . + a schema:ContactPoint . + schema:telephone """tel:+3211211431""" . + schema:contactType """Secondary""" . + + core:uuid """6585490B8CEC3153DEA3A20A""" . + a locn:Address . + adres:Adresvoorstelling.huisnummer """1""" . + locn:thoroughfare """Oude Markt""" . + locn:postCode """3000""" . + adres:gemeentenaam """Leuven""" . + locn:adminUnitL2 """Vlaams-Brabant""" . + adres:land """Belgiƫ""" . + locn:fullAddress """Oude Markt 1, 3000 Leuven, Belgiƫ""" . + adres:verwijstNaar . + dc_terms:source . + + core:uuid """6585490B8CEC3153DEA3A20B""" . + a org:Site . + organisatie:bestaatUit . + org:siteAddress . + org:siteAddress . + ere:vestigingstype . + org:hasPrimarySite . + + # KBO number + generiek:lokaleIdentificator """0262925527""" . + skos:notation """KBO nummer""" . + generiek:gestructureerdeIdentificator . + adms:identifier . + + # Sharepoint identifier + generiek:lokaleIdentificator """sp_test""" . + skos:notation """SharePoint identificator""" . + generiek:gestructureerdeIdentificator . + adms:identifier . + + besluit:werkingsgebied . + + regorg:orgStatus . + + org:hasSubOrganization . + + ext:isFounderOfOrganization . + } +} +; +INSERT { + GRAPH { + a besluit:Bestuursorgaan ; + core:uuid """16875d1ad2294295c576de9837756a4c6796d3ee7e0b7ebd6e8d3e8f65930353""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + } +} WHERE { + GRAPH { + ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ; + skos:prefLabel ?administrativeUnitLabel . + BIND(CONCAT("""Raad van bestuur""", " ", ?administrativeUnitLabel) as ?governingBodyLabel) + } +} +; +INSERT DATA { + GRAPH { + a besluit:Bestuursorgaan ; + core:uuid """47e52223b3e27ad63c7233f93df0331f6d45bfb743f81d1110cbca4b3ac933ee""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "1971-11-03T00:00:00.000Z"^^xsd:dateTime . + } +} +; +INSERT { + GRAPH { + a besluit:Bestuursorgaan ; + core:uuid """e891dc823e0d924a94cd067d0b291c169c95695cdd73a3c259e79c39e91d0034""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + } +} WHERE { + GRAPH { + ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ; + skos:prefLabel ?administrativeUnitLabel . + BIND(CONCAT("""Algemene vergadering""", " ", ?administrativeUnitLabel) as ?governingBodyLabel) + } +} +; +INSERT DATA { + GRAPH { + a besluit:Bestuursorgaan ; + core:uuid """be22b1988874583b0773677665596200c9586f758207cdf335278a9380180d86""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "1971-11-03T00:00:00.000Z"^^xsd:dateTime . + } +} +; +INSERT { + GRAPH { + a besluit:Bestuursorgaan ; + core:uuid """0f87572fb2968c17383dc7574320031dffa339f17a974e3b194588d685c1fc5d""" ; + skos:prefLabel ?governingBodyLabel ; + besluit:bestuurt ; + org:classification . + } +} WHERE { + GRAPH { + ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ; + skos:prefLabel ?administrativeUnitLabel . + BIND(CONCAT("""Leidend Ambtenaar""", " ", ?administrativeUnitLabel) as ?governingBodyLabel) + } +} +; +INSERT DATA { + GRAPH { + a besluit:Bestuursorgaan ; + core:uuid """a48a21167ca609b76d621be5d5714e28f48711f1eb49d704985d1476565fdd66""" ; + generiek:isTijdspecialisatieVan ; + mandaat:bindingStart "2019-01-01T00:00:00.000Z"^^xsd:dateTime . + } +} +; +INSERT DATA { + GRAPH { + lblodlg:heeftBestuursfunctie . + + a lblodlg:Bestuursfunctie ; + core:uuid """73e7ef49c748e7f475feb952355f4a6bee2db1d85cd30b17b722a6291739b490""" ; + org:role ; + skos:prefLabel """VERENIGING OCMW-WIELTJESGRACHT Leidend ambtenaar""" . + } +}