Refine migrations

This commit is contained in:
felix
2025-02-13 17:37:52 +01:00
parent 8f57a160e0
commit 20bc051103
3 changed files with 21 additions and 3 deletions

View File

@@ -37,3 +37,18 @@ DELETE {
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}
;
DELETE {
GRAPH <http://mu.semte.ch/graphs/worship-privacy-centric-graph> {
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-privacy-centric-graph> {
?structuredIdentifier a <https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator>;
?pstructuredIdentifier ?ostructuredIdentifier.
}
}

View File

@@ -30,7 +30,9 @@ DELETE {
}
}
GRAPH <http://mu.semte.ch/graphs/worship-privacy-centric-graph> {
?person ?pprivate ?oprivate .
OPTIONAL {
GRAPH <http://mu.semte.ch/graphs/worship-privacy-centric-graph> {
?person ?pprivate ?oprivate .
}
}
}

View File

@@ -1 +1,2 @@
CLEAR GRAPH <http://mu.semte.ch/graphs/landing-zone/worship-services-sensitive>
CLEAR GRAPH <http://mu.semte.ch/graphs/landing-zone/worship-services-private-info>;
CLEAR GRAPH <http://mu.semte.ch/graphs/landing-zone/worship-services-main-info>;