From 01c5c7e7b3f7da3786f4d2fdf2d21d8674b54bc5 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 21 May 2025 10:50:51 +0200 Subject: [PATCH] fix: insert location relations in the correct graph The initial version of the migration, incorrectly, inserted the triples linking municipality and province locations in the administrative unit graph. This corrects that behaviour putting the triples in the public graph along with all location data. --- ...ate-werkingsgebieden-for-municipalities-and-provinces.sparql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250430180050-feat--relate-werkingsgebieden-for-municipalities-and-provinces.sparql b/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250430180050-feat--relate-werkingsgebieden-for-municipalities-and-provinces.sparql index e836bb5..f22e781 100644 --- a/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250430180050-feat--relate-werkingsgebieden-for-municipalities-and-provinces.sparql +++ b/config/migrations/2025/20250430130307-chore--cleanup-werkingsgebieden-data/20250430180050-feat--relate-werkingsgebieden-for-municipalities-and-provinces.sparql @@ -3,7 +3,7 @@ PREFIX org: PREFIX besluit: INSERT { - GRAPH { + GRAPH { ?municipalityLocation geo:sfWithin ?provinceLocation . } } WHERE {