35 lines
1.9 KiB
SPARQL
35 lines
1.9 KiB
SPARQL
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
PREFIX org: <http://www.w3.org/ns/org#>
|
|
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
|
INSERT {
|
|
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
?newGoverningBody a besluit:Bestuursorgaan ;
|
|
mu:uuid ?newGoverningBodyUuid ;
|
|
skos:prefLabel ?newGoverningBodyLabel ;
|
|
besluit:bestuurt ?politiezone ;
|
|
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/4f82dfea-0581-43d4-b672-3bdb261d2d33> . # Politiecollege
|
|
?newTimedGoverningBody a besluit:Bestuursorgaan ;
|
|
mu:uuid ?newTimedGoverningBodyUuid ;
|
|
generiek:isTijdspecialisatieVan ?newGoverningBody ;
|
|
mandaat:bindingStart "2026-07-02T00:00:00"^^xsd:dateTime .
|
|
}
|
|
} WHERE {
|
|
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
?politiezone a besluit:Bestuurseenheid ;
|
|
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/a3922c6d-425b-474f-9a02-ffb71a436bfc> ; # Politiezone
|
|
mu:uuid ?politiezoneUuid ;
|
|
skos:prefLabel ?politiezoneLabel .
|
|
?oldGoverningBody besluit:bestuurt ?politiezone ;
|
|
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/1afce932-53c1-46d8-8aab-90dcc331e67d> . # Politieraad
|
|
}
|
|
BIND(CONCAT("Politiecollege ", ?politiezoneLabel) AS ?newGoverningBodyLabel)
|
|
BIND(SHA256(CONCAT("politiecollege-", STR(?politiezoneUuid))) AS ?newGoverningBodyUuid)
|
|
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?newGoverningBodyUuid))) AS ?newGoverningBody)
|
|
BIND(SHA256(CONCAT("politiecollege-timed-", STR(?politiezoneUuid))) AS ?newTimedGoverningBodyUuid)
|
|
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?newTimedGoverningBodyUuid))) AS ?newTimedGoverningBody)
|
|
}
|