From d4d5ceed313c5900184a238e5a433447abc43fd4 Mon Sep 17 00:00:00 2001 From: Damon Date: Mon, 4 May 2026 16:03:35 +0200 Subject: [PATCH] OP-3790: moved AGB BRUGGE to the correct graph so it shows up in the frontend --- CHANGELOG.md | 8 ++++ ...brugge-to-administrative-unit-graph.sparql | 39 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 config/migrations/2026/20260504152907-move-agb-brugge-to-administrative-unit-graph.sparql diff --git a/CHANGELOG.md b/CHANGELOG.md index fad7695..8747a32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog +## Unreleased +- Moved AGB BRUGGE to correct graph [OP-3790] + +### Deploy notes +``` +drc restart migrations +``` + ## 1.39.1 (2026-04-24) - OP-3771: Adds labels for: EredienstBeroepen and TypeBetrokkenheid - Bump to kbo-data-sync [OP-3765] diff --git a/config/migrations/2026/20260504152907-move-agb-brugge-to-administrative-unit-graph.sparql b/config/migrations/2026/20260504152907-move-agb-brugge-to-administrative-unit-graph.sparql new file mode 100644 index 0000000..42de21e --- /dev/null +++ b/config/migrations/2026/20260504152907-move-agb-brugge-to-administrative-unit-graph.sparql @@ -0,0 +1,39 @@ +PREFIX besluit: +PREFIX dcterms: +PREFIX regorg: +PREFIX adres: + +DELETE { + GRAPH { + ?s ?p ?o + } +} INSERT { + GRAPH { + ?s ?p ?o + } +} WHERE { + GRAPH { + VALUES ?s { + + + + + + + + } + ?s ?p ?o. + } +} + +; + +INSERT DATA { + GRAPH { + a dcterms:Agent ; + regorg:legalName "AGB BRUGGE" ; + besluit:werkingsgebied . + + adres:adresIsGelegenIn . + } +}