From b9fb9d8a63f8a9f4056df9a6406324cd50687a66 Mon Sep 17 00:00:00 2001 From: felix Date: Mon, 24 Mar 2025 17:15:37 +0100 Subject: [PATCH] Flush landing-zone leidinggevenden and mandatarissen We do want to avoid inconsistencies popping up; i.e. bestuurseenheid label gets upated, but that won't be reflected in the landing zone since the information by the producers is not produced anymore, potentially bringing very confusion situations --- ...5-flush-leidinggevenden-landingzone.sparql | 22 ++++++++++++++++++ ...644-flush-mandatarissen-landingzone.sparql | 23 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 config/migrations/2025/20250324155635-flush-leidinggevenden-landingzone.sparql create mode 100644 config/migrations/2025/20250324155644-flush-mandatarissen-landingzone.sparql diff --git a/config/migrations/2025/20250324155635-flush-leidinggevenden-landingzone.sparql b/config/migrations/2025/20250324155635-flush-leidinggevenden-landingzone.sparql new file mode 100644 index 0000000..fc07ad6 --- /dev/null +++ b/config/migrations/2025/20250324155635-flush-leidinggevenden-landingzone.sparql @@ -0,0 +1,22 @@ +DELETE { + GRAPH { + ?s a ?type; + ?p ?o. + } +} +WHERE { + VALUES ?type { + + + + + + + + } + + GRAPH { + ?s a ?type; + ?p ?o. + } +} \ No newline at end of file diff --git a/config/migrations/2025/20250324155644-flush-mandatarissen-landingzone.sparql b/config/migrations/2025/20250324155644-flush-mandatarissen-landingzone.sparql new file mode 100644 index 0000000..961c0a1 --- /dev/null +++ b/config/migrations/2025/20250324155644-flush-mandatarissen-landingzone.sparql @@ -0,0 +1,23 @@ +DELETE { + GRAPH { + ?s a ?type; + ?p ?o. + } +} +WHERE { + VALUES ?type { + + + + + + + + + } + + GRAPH { + ?s a ?type; + ?p ?o. + } +} \ No newline at end of file