diff --git a/config/migrations/2024/20240327131000-delete-all-empty-literals.sparql b/config/migrations/2024/20240327131000-delete-all-empty-literals.sparql new file mode 100644 index 0000000..8ae247b --- /dev/null +++ b/config/migrations/2024/20240327131000-delete-all-empty-literals.sparql @@ -0,0 +1,20 @@ +DELETE { + GRAPH ?g { + ?s ?p ?o . + } +} +WHERE { + VALUES ?g { + + + + + + } + graph ?g { + ?s ?p ?o + + FILTER (isLiteral(?o)) + FILTER regex(str(?o), "^\\s*$") + } +} \ No newline at end of file