Compare commits

...

1 Commits

Author SHA1 Message Date
Nordine Bittich
f85124e668 fix missing resulting org & betrokke (#369) 2024-01-18 09:32:00 +01:00

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 }
}
}