As part of the 2025 municipality mergers Zwijndrecht will merge with Beveren and Kruibeke into Beveveren-Kruibeke-Zwijndrecht. Additionally this means that Zwijndrecht changes province from Antwerp to East Flanders. This migration updates the province for each organisation with an address in Zwijndrecht to East Flanders.
28 lines
747 B
SPARQL
28 lines
747 B
SPARQL
PREFIX locn: <http://www.w3.org/ns/locn#>
|
|
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
|
|
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
|
|
PREFIX org: <http://www.w3.org/ns/org#>
|
|
|
|
DELETE {
|
|
GRAPH ?g {
|
|
?address locn:adminUnitL2 "Antwerpen".
|
|
}
|
|
} INSERT {
|
|
GRAPH ?g {
|
|
?address locn:adminUnitL2 "Oost-Vlaanderen".
|
|
}
|
|
} WHERE {
|
|
GRAPH ?g {
|
|
?address a locn:Address;
|
|
adres:gemeentenaam "Zwijndrecht";
|
|
locn:adminUnitL2 "Antwerpen"
|
|
FILTER (EXISTS { ?site organisatie:bestaatUit ?address. } ||
|
|
EXISTS { ?site org:siteAddress/locn:address ?address. })
|
|
|
|
}
|
|
VALUES ?g {
|
|
<http://mu.semte.ch/graphs/worship-service>
|
|
<http://mu.semte.ch/graphs/administrative-unit>
|
|
}
|
|
}
|