Fix double sites in the data

This commit is contained in:
Claire Lovisa
2023-09-07 13:42:57 +02:00
parent 4070bde4ab
commit 2587ba6daf

View File

@@ -0,0 +1,16 @@
DELETE {
GRAPH ?g {
?bestuur <http://www.w3.org/ns/org#hasSite> ?site .
}
} WHERE {
VALUES ?g {
<http://mu.semte.ch/graphs/administrative-unit>
<http://mu.semte.ch/graphs/worship-service>
}
GRAPH ?g {
?site a <http://www.w3.org/ns/org#Site> .
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?site ;
<http://www.w3.org/ns/org#hasSite> ?site .
}
}