fix: remove org:memberOf triples with KBO organizations as object

The migration importing related organizations for public OCMW associations was
incorrect in that it did not exclude resources of type `ext:KboOrganisatie`
being matched. This migration removes all incorrectly inserted triples.
This commit is contained in:
mirdono
2024-06-19 14:39:27 +02:00
committed by Alexander van den Berghe
parent 0ab1b278d5
commit a6b7321cf0

View File

@@ -0,0 +1,13 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?participant org:memberOf ?association .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?participant org:memberOf ?association .
?association a ext:KboOrganisatie .
}
}