Merge pull request #508 from lblod/fix/remove-duplicate-classifications

remove province and commune classifications from admin graph
This commit is contained in:
Boris De Vloed
2025-01-24 13:05:49 +01:00
committed by GitHub
2 changed files with 19 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
## Unreleased
### Backend
- Completely remove AGB Stekene's data. [OP-3409]
- Remove gemeente and provincie classifications from admin unit graph [OP-3393]
### Deploy Notes
- Migration listed in [this comment](https://github.com/lblod/app-organization-portal/pull/491#issuecomment-2587185027) must run on the DEV environment.
#### Docker Commands

View File

@@ -0,0 +1,17 @@
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?adminUnit org:classification ?c
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?adminUnit org:classification ?c
}
?c skos:prefLabel ?l .
FILTER (?l IN ("Gemeente", "Provincie"))
}