diff --git a/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250521102551-fix--move-location-triples-from-shared-to-public.sparql b/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250521102551-fix--move-location-triples-from-shared-to-public.sparql new file mode 100644 index 0000000..27adefb --- /dev/null +++ b/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250521102551-fix--move-location-triples-from-shared-to-public.sparql @@ -0,0 +1,24 @@ +PREFIX geo: +PREFIX skos: +PREFIX prov: + +DELETE { + GRAPH { + ?s ?p ?o . + } +} INSERT { + GRAPH { + ?s ?p ?o . + } +} WHERE { + GRAPH { + ?s ?p ?o . + VALUES ?p { + geo:sfWithin + skos:exactMatch + } + } + GRAPH { + ?s a prov:Location . + } +}