diff --git a/config/migrations/2025/20250124100000-delete-duplicate-classifications.sparql b/config/migrations/2025/20250124100000-delete-duplicate-classifications.sparql new file mode 100644 index 0000000..5d0bf50 --- /dev/null +++ b/config/migrations/2025/20250124100000-delete-duplicate-classifications.sparql @@ -0,0 +1,17 @@ +PREFIX besluit: +PREFIX org: +PREFIX skos: + +DELETE { + GRAPH { + ?adminUnit org:classification ?c + } +} + +WHERE { + GRAPH { + ?adminUnit org:classification ?c + } + ?c skos:prefLabel ?l . + FILTER (?l IN ("Gemeente", "Provincie")) +} \ No newline at end of file