From 2f37aaaefc67440f8b674099b560bb596f93e35b Mon Sep 17 00:00:00 2001 From: felix Date: Thu, 5 Dec 2024 10:32:19 +0100 Subject: [PATCH] Added migration to add KBO to districten. --- .../20241204145818-add-kbo-districten.sparql | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 config/migrations/2024/20241204145818-add-kbo-districten.sparql diff --git a/config/migrations/2024/20241204145818-add-kbo-districten.sparql b/config/migrations/2024/20241204145818-add-kbo-districten.sparql new file mode 100644 index 0000000..4af3952 --- /dev/null +++ b/config/migrations/2024/20241204145818-add-kbo-districten.sparql @@ -0,0 +1,32 @@ +INSERT { + GRAPH { + ?structuredId ?kbo + } +} +WHERE { + VALUES (?eenheid ?kbo) { + ( "2166001684") + ( "2165926559") + ( "2165924084") + ( "2165906862") + ( "2165940120") + ( "2165926262") + ( "2165997726") + ( "2165996340") + ( "2165911218") + ( "2165162239") + } + + GRAPH { + ?eenheid a ; + ?identifier; + ?label. + + ?identifier "KBO nummer"; + ?structuredId . + + FILTER NOT EXISTS { + ?structuredId ?foo + } + } +} \ No newline at end of file