diff --git a/config/migrations/2023/20230106110000-delete-duplicate-worship-services.sparql b/config/migrations/2023/20230106110000-delete-duplicate-worship-services.sparql index e4d3e47..587ecc8 100644 --- a/config/migrations/2023/20230106110000-delete-duplicate-worship-services.sparql +++ b/config/migrations/2023/20230106110000-delete-duplicate-worship-services.sparql @@ -28,7 +28,6 @@ DELETE { OPTIONAL { ?representatieveOrgaan ?bestuur } ?bestuur ?pbestuur ?obestuur . - } } @@ -52,16 +51,16 @@ DELETE { OPTIONAL { ?bestuur ?primarySite. ?primarySite ?pprimarySite ?oprimarySite . - } - OPTIONAL { - ?primarySite ?address. - ?address ?paddress ?oaddress . - } - - OPTIONAL { - ?primarySite ?contactPoint . - ?contactPoint ?pcontactPoint ?ocontactPoint . + OPTIONAL { + ?primarySite ?address. + ?address ?paddress ?oaddress . + } + + OPTIONAL { + ?primarySite ?contactPoint . + ?contactPoint ?pcontactPoint ?ocontactPoint . + } } } } @@ -85,11 +84,11 @@ DELETE { OPTIONAL { ?bestuur ?identifier . ?identifier ?pidentifier ?oidentifier . - } - - OPTIONAL { - ?identifier ?structuredIdentifier. - ?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier . + + OPTIONAL { + ?identifier ?structuredIdentifier. + ?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier . + } } } }