Add migration to remove OCMW bcsd & bcsd voorzitter (#511)
* Add migration to remove bcsd * Update changelog * Specify graphs * update predicates * Target bcsd voorzitter as well * cleanup changelog
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
- Datafix: delete incorrect change event [OP-3363]
|
||||
- Feature: re-enable contact data editing [OP-3425]
|
||||
- Remove gemeente and provincie classifications from admin unit graph [OP-3393]
|
||||
- Remove several OCMW bcsd faciliteitgemeenten [OP-3535]
|
||||
- Completely remove AGB Stekene's data. [OP-3409]
|
||||
|
||||
### Deploy Notes
|
||||
- Re-enable contact date editing:
|
||||
+ remove `EMBER_ENABLE_EDIT_CONTACT_DATA_FEATURE` flag in `docker-compose.override.yml`
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?boi ?p ?o.
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
VALUES ?faciliteitEenheid {
|
||||
# OCMW
|
||||
<http://data.lblod.info/id/bestuurseenheden/76730bd9ab6808230335d90e9ff30ad362a3461ee0239fd978e4313bcdca44c5> # Sint-Genesius-Rode
|
||||
<http://data.lblod.info/id/bestuurseenheden/0b5d1664b3cf08550bcfdac0f4b195ab7a46a0f1974726de864dc0edb1565ecc> # Linkebeek
|
||||
<http://data.lblod.info/id/bestuurseenheden/9ba66c8f97bbc6dd3ba2b35d8a6bb79215facbe3e5b3d52672b785449d6f5e58> # Drogenbos
|
||||
<http://data.lblod.info/id/bestuurseenheden/7f2c5143806d6110feb44eba2a91d58e8fd563465b94d0f6b40d13a6a1740940> # Wemmel
|
||||
<http://data.lblod.info/id/bestuurseenheden/45f432ac38d124141638c62f7afd577ab847c3571061b45e3b0b3329f6194048> # Kraainem
|
||||
<http://data.lblod.info/id/bestuurseenheden/f9ee0b69624bba3677b18b95110246ee9106377c948ab5d914909eac79f88bcf> # Wezembeek-Oppem
|
||||
<http://data.lblod.info/id/bestuurseenheden/785715d2822814f7dc0b3896601b5b777feb1ef9722e1c54f4cdcc697594acca> # Voeren
|
||||
}
|
||||
|
||||
VALUES ?classification {
|
||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab0e9b8a3b2ca7c5e000009> # BCSD
|
||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/53c0d8cd-f3a2-411d-bece-4bd83ae2bbc9> # BCSD Voorzitter
|
||||
}
|
||||
|
||||
?bestuursorgaan besluit:bestuurt ?faciliteitEenheid .
|
||||
?bestuursorgaan org:classification ?classification .
|
||||
|
||||
?boi generiek:isTijdspecialisatieVan ?bestuursorgaan .
|
||||
?boi mandaat:bindingStart ?startDate .
|
||||
|
||||
?boi ?p ?o.
|
||||
|
||||
FILTER(?startDate >= "2019-01-01T00:00:00"^^xsd:dateTime)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user