From 3135602ca8d2d544c0f0fcd7c43e5ea33eb338d8 Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Thu, 4 Aug 2022 16:43:00 +0200 Subject: [PATCH] Associate districts of antwerpen with the municipality --- ...35-link-districts-to-gemeente-antwerpen.sparql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config/migrations/2022/20220804162235-link-districts-to-gemeente-antwerpen.sparql diff --git a/config/migrations/2022/20220804162235-link-districts-to-gemeente-antwerpen.sparql b/config/migrations/2022/20220804162235-link-districts-to-gemeente-antwerpen.sparql new file mode 100644 index 0000000..3b19700 --- /dev/null +++ b/config/migrations/2022/20220804162235-link-districts-to-gemeente-antwerpen.sparql @@ -0,0 +1,15 @@ +# We currently only have districts of Antwerpen in the app. We make them automatically sub orgs of +# the municipality of Antwerpen. + +INSERT { + GRAPH ?h { + + ?s . + } +} +WHERE { + GRAPH ?g { + ?s . + } + BIND(?g as ?h) +}