From 2b027a4829e3cbce906e9d9f27a025b58c3fb243 Mon Sep 17 00:00:00 2001 From: wolfez Date: Wed, 22 Apr 2026 09:31:01 +0200 Subject: [PATCH] add migration to cleanup local involvements of sint-laureins --- ...ete-local-involvement-sint-laureins.sparql | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 config/migrations/2026/20260421133705-delete-local-involvement-sint-laureins.sparql diff --git a/config/migrations/2026/20260421133705-delete-local-involvement-sint-laureins.sparql b/config/migrations/2026/20260421133705-delete-local-involvement-sint-laureins.sparql new file mode 100644 index 0000000..3e2f760 --- /dev/null +++ b/config/migrations/2026/20260421133705-delete-local-involvement-sint-laureins.sparql @@ -0,0 +1,51 @@ +DELETE WHERE { + graph { + ?p ?o. + } +} + +; + +DELETE WHERE { + graph { + . + } +} + +; + +DELETE WHERE { + graph { + ?p ?o. + } +} + +; + +DELETE WHERE { + graph { + . + } +} + +; + +DELETE { + GRAPH ?g { + ?localInvolvementSintLaureins ?percentage. + } +} +INSERT { + GRAPH ?g { + ?localInvolvementSintLaureins 100. + } +} +WHERE { + BIND( AS ?g) + GRAPH ?g { + ?localInvolvementSintLaureins ?percentage. + } + VALUES ?localInvolvementSintLaureins { + + } +}