diff --git a/config/migrations-triggering-indexing/20250114093158-fix-merger-change-event-sint_martinus-st_amandus.sparql b/config/migrations-triggering-indexing/20250114093158-fix-merger-change-event-sint_martinus-st_amandus.sparql new file mode 100644 index 0000000..cafa7f5 --- /dev/null +++ b/config/migrations-triggering-indexing/20250114093158-fix-merger-change-event-sint_martinus-st_amandus.sparql @@ -0,0 +1,23 @@ +PREFIX regorg: +PREFIX org: + +DELETE { + GRAPH { + ?stAmandus regorg:orgStatus ?oldStatus. + } +} INSERT { + GRAPH { + ?stAmandus regorg:orgStatus ?notActiveStatus. + + ?mergerChangeEvent org:originalOrganization ?stAmandus. + } +} WHERE { + GRAPH { + ?stAmandus regorg:orgStatus ?oldStatus. + } + VALUES ?stAmandus { + + } + BIND ( AS ?mergerChangeEvent) + BIND ( AS ?notActiveStatus) +}