diff --git a/config/migrations/2024/20240403104506-remove-empty-alternative-names.sparql b/config/migrations/2024/20240403104506-remove-empty-alternative-names.sparql new file mode 100644 index 0000000..56ad165 --- /dev/null +++ b/config/migrations/2024/20240403104506-remove-empty-alternative-names.sparql @@ -0,0 +1,14 @@ +PREFIX skos: +PREFIX besluit: + +DELETE { + GRAPH { + ?s skos:altLabel ?alt . + } +} WHERE { + GRAPH { + ?s a besluit:Bestuurseenheid ; + skos:altLabel ?alt . + FILTER (strLen(?alt) = 0) + } +}