Skip to content

Commit

Permalink
fix: remove org:memberOf triples with KBO organizations as object
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mirdono committed Jun 19, 2024
1 parent 0ab1b27 commit a6b7321
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 .
}
}

0 comments on commit a6b7321

Please sign in to comment.