diff --git a/config/migrations-triggering-indexing/2025/20250109200145-archive-agb-stekene.sparql b/config/migrations-triggering-indexing/2025/20250109200145-archive-agb-stekene.sparql new file mode 100644 index 0000000..dbceb14 --- /dev/null +++ b/config/migrations-triggering-indexing/2025/20250109200145-archive-agb-stekene.sparql @@ -0,0 +1,196 @@ +DELETE { + GRAPH { + ?bestuursorganen ?bestuursorganenP ?bestuursorganenO . + } +} +WHERE { + VALUES ?bestuursorganen { + + + + + } + + GRAPH { + ?bestuursorganen ?bestuursorganenP ?bestuursorganenO . + } +} + +; + +DELETE { + GRAPH { + ?bestuursorganenInTijd ?bestuursorganenInTijdP ?bestuursorganenInTijdO . + } +} +WHERE { + VALUES ?bestuursorganenInTijd { + + + + + } + + GRAPH { + ?bestuursorganenInTijd ?bestuursorganenInTijdP ?bestuursorganenInTijdO . + } +} + +; + +DELETE { + GRAPH { + ?identifier ?identifierP ?identifierO . + } +} +WHERE { + VALUES ?identifier { + + + + } + + GRAPH { + ?identifier ?identifierP ?identifierO . + } +} + +; + +DELETE { + GRAPH { + ?structuredIdentifier ?structuredIdentifierP ?structuredIdentifierO . + } +} +WHERE { + VALUES ?structuredIdentifier { + + + + } + + GRAPH { + ?structuredIdentifier ?structuredIdentifierP ?structuredIdentifierO . + } +} + +; + +DELETE { + GRAPH { + ?site ?siteP ?siteO . + } +} +WHERE { + VALUES ?site { + + } + + GRAPH { + ?site ?siteP ?siteO . + } +} + +; + +DELETE { + GRAPH { + ?address ?addressP ?addressO . + } +} +WHERE { + VALUES ?address { + + } + + GRAPH { + ?address ?addressP ?addressO . + } +} + +; + +DELETE { + GRAPH { + ?contactPoint ?contactPointP ?contactPointO . + } +} +WHERE { + VALUES ?contactPoint { + + + } + + GRAPH { + ?contactPoint ?contactPointP ?contactPointO . + } +} + +; + +DELETE { + GRAPH { + ?parentOrganization ?organization . + } +} +WHERE { + BIND( AS ?organization) + BIND( AS ?parentOrganization) + + GRAPH { + ?parentOrganization ?organization . + } +} + +; + +DELETE { + GRAPH { + ?parentOrganization ?organization . + } +} +WHERE { + BIND( AS ?organization) + BIND( AS ?parentOrganization) + + GRAPH { + ?parentOrganization ?organization . + } +} + +; + +DELETE { + GRAPH { + ?membership ?p ?o. + } +} +WHERE { + BIND( AS ?organization) + + VALUES ?membershipP { + + + } + + GRAPH { + ?membership a ; + ?membershipP ?organization ; + ?p ?o . + } +} + +; + +DELETE { + GRAPH { + ?organization ?organizationP ?organizationO . + } +} +WHERE { + BIND( AS ?organization) + + GRAPH { + ?organization ?organizationP ?organizationO . + } +}