From 83de2aa41c6c4b8268aa1d63a1ff223d7daf1759 Mon Sep 17 00:00:00 2001 From: wolfez Date: Tue, 4 Aug 2026 13:18:14 +0200 Subject: [PATCH] add migration to cleanup local involvement herne --- ...638-cleanup-local-involvement-herne.sparql | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql diff --git a/config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql b/config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql new file mode 100644 index 0000000..e05ae45 --- /dev/null +++ b/config/migrations/2026/20260804101638-cleanup-local-involvement-herne.sparql @@ -0,0 +1,35 @@ +DELETE WHERE { + graph { + ?p ?o. + } +} + +; + +DELETE WHERE { + graph { + . + } +} + +; + +DELETE { + GRAPH ?g { + ?localInvolvementPajottegem ?percentage. + } +} +INSERT { + GRAPH ?g { + ?localInvolvementPajottegem 100. + } +} +WHERE { + BIND( AS ?g) + GRAPH ?g { + ?localInvolvementPajottegem ?percentage. + } + VALUES ?localInvolvementPajottegem { + + } +}