diff --git a/config/migrations/2022/20220328171923-update-date-change-event-Eeklo.sparql b/config/migrations/2022/20220328171923-update-date-change-event-Eeklo.sparql new file mode 100644 index 0000000..9739adf --- /dev/null +++ b/config/migrations/2022/20220328171923-update-date-change-event-Eeklo.sparql @@ -0,0 +1,15 @@ +PREFIX dct: + +DELETE { + GRAPH ?g { + dct:date "2018-06-09"^^xsd:date . + } +} INSERT { + GRAPH ?g { + dct:date "2018-06-15"^^xsd:date . + } +} WHERE { + GRAPH ?g { + dct:date "2018-06-09"^^xsd:date . + } +} diff --git a/config/migrations/2022/20220328172743-update-date-change-event-Glabbeek.sparql b/config/migrations/2022/20220328172743-update-date-change-event-Glabbeek.sparql new file mode 100644 index 0000000..314a72c --- /dev/null +++ b/config/migrations/2022/20220328172743-update-date-change-event-Glabbeek.sparql @@ -0,0 +1,15 @@ +PREFIX dct: + +DELETE { + GRAPH ?g { + dct:date "2021-02-04"^^xsd:date . + } +} INSERT { + GRAPH ?g { + dct:date "2022-02-04"^^xsd:date . + } +} WHERE { + GRAPH ?g { + dct:date "2021-02-04"^^xsd:date . + } +} diff --git a/config/migrations/2022/20220329114750-remove-kbo-of-Centraal-Comite-van-de-Anglicaanse-Eredienst-in-Belgie.sparql b/config/migrations/2022/20220329114750-remove-kbo-of-Centraal-Comite-van-de-Anglicaanse-Eredienst-in-Belgie.sparql new file mode 100644 index 0000000..a888347 --- /dev/null +++ b/config/migrations/2022/20220329114750-remove-kbo-of-Centraal-Comite-van-de-Anglicaanse-Eredienst-in-Belgie.sparql @@ -0,0 +1,19 @@ +DELETE { + GRAPH ?g { + + ?identifier . + ?identifier + ?structuredIdentifier ; + ?pidentifier ?oidentifier . + ?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier . + } +} WHERE { + GRAPH ?g { + + ?identifier . + ?identifier + ?structuredIdentifier ; + ?pidentifier ?oidentifier . + ?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier . + } +} diff --git a/config/migrations/2022/20220329150729-delete-positions-Protestantse-Kerk-van-Kortrijk.sparql b/config/migrations/2022/20220329150729-delete-positions-Protestantse-Kerk-van-Kortrijk.sparql new file mode 100644 index 0000000..3cd75ec --- /dev/null +++ b/config/migrations/2022/20220329150729-delete-positions-Protestantse-Kerk-van-Kortrijk.sparql @@ -0,0 +1,38 @@ +DELETE { + GRAPH ?g { + + ?post . + + ?post ?ppost ?opost . + + ?role ?post ; + ?contactPoint ; + ?prole ?orole . + + ?contactPoint ?address ; + ?pcontactPoint ?ocontactPoint . + + ?address ?paddress ?oaddress . + } +} WHERE { + GRAPH ?g { + + ?post . + + ?post ?ppost ?opost . + + ?role ?post ; + ?prole ?orole . + + OPTIONAL { + ?role ?contactPoint . + + ?contactPoint ?pcontactPoint ?ocontactPoint . + + OPTIONAL { + ?contactPoint ?address . + ?address ?paddress ?oaddress . + } + } + } +} diff --git a/config/migrations/2022/20220329154322-delete-positions-ckb-staden.sparql b/config/migrations/2022/20220329154322-delete-positions-ckb-staden.sparql new file mode 100644 index 0000000..32cb92e --- /dev/null +++ b/config/migrations/2022/20220329154322-delete-positions-ckb-staden.sparql @@ -0,0 +1,38 @@ +DELETE { + GRAPH ?g { + + ?post . + + ?post ?ppost ?opost . + + ?role ?post ; + ?contactPoint ; + ?prole ?orole . + + ?contactPoint ?address ; + ?pcontactPoint ?ocontactPoint . + + ?address ?paddress ?oaddress . + } +} WHERE { + GRAPH ?g { + + ?post . + + ?post ?ppost ?opost . + + ?role ?post ; + ?prole ?orole . + + OPTIONAL { + ?role ?contactPoint . + + ?contactPoint ?pcontactPoint ?ocontactPoint . + + OPTIONAL { + ?contactPoint ?address . + ?address ?paddress ?oaddress . + } + } + } +}