fix missing resulting org & betrokke (#369)

This commit is contained in:
Nordine Bittich
2024-01-17 12:20:07 +01:00
committed by Nordine Bittich
parent 518db8fb3f
commit f85124e668

View File

@@ -0,0 +1,24 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
INSERT {
graph ?g {
?ce org:resultingOrganization ?extResultingOrg.
?ce org:originalOrganization ?extResultingOrg
}
}
WHERE {
graph ?g {
?ce rdf:type org:ChangeEvent ;
code:veranderingsgebeurtenisResultaat ?resultaat.
?resultaat <http://lblod.data.gift/vocabularies/organisatie/resulterendeStatus> <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>.
?resultaat ext:resultingOrganization ?extResultingOrg.
filter not exists {?ce org:resultingOrganization ?result }
}
}