diff --git a/config/migrations/2024/20241211101235-align-skos-notation-identifier.sparql b/config/migrations/2024/20241211101235-align-skos-notation-identifier.sparql new file mode 100644 index 0000000..b847669 --- /dev/null +++ b/config/migrations/2024/20241211101235-align-skos-notation-identifier.sparql @@ -0,0 +1,20 @@ +DELETE { + GRAPH { + ?s ?notation. + } +} +INSERT { + GRAPH { + ?s ?plainNotation. + } +} +WHERE { + GRAPH { + ?s a ; + ?notation. + } + + BIND(LANG(?notation) as ?lang) + BIND(STR(?notation) as ?plainNotation) + FILTER(?lang != "") +} \ No newline at end of file