Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48fd0d0255 | ||
|
|
16fc4b3a5b | ||
|
|
289eb375a5 | ||
|
|
7b160e40de | ||
|
|
148a3f3ca7 | ||
|
|
5aaa45c186 | ||
|
|
3f2ff1f1c0 | ||
|
|
1b152e688b |
@@ -0,0 +1,42 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?s ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
?s ?p ?o .
|
||||
VALUES ?s {
|
||||
<http://publications.europa.eu/resource/authority/human-sex/OP_DATPRO>
|
||||
<http://publications.europa.eu/resource/authority/human-sex/NAP>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://publications.europa.eu/resource/authority/human-sex/NST> a <http://mu.semte.ch/vocabularies/ext/GeslachtCode>,
|
||||
<http://www.w3.org/2004/02/skos/core#Concept>;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "c11b47dd-cacd-4664-9a72-14730e00eaed";
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "Ander";
|
||||
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://publications.europa.eu/resource/authority/human-sex> ;
|
||||
<http://www.w3.org/2004/02/skos/core#inScheme> <http://publications.europa.eu/resource/authority/human-sex> .
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://publications.europa.eu/resource/authority/human-sex/NKN> skos:prefLabel ?label .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://publications.europa.eu/resource/authority/human-sex/NKN> skos:prefLabel "Niet gekend" .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://publications.europa.eu/resource/authority/human-sex/NKN> skos:prefLabel ?label .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/fed2ed3a65993012a7e768f1d75be8bc>
|
||||
<http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor> ?position .
|
||||
|
||||
?position ?pposition ?oposition .
|
||||
|
||||
?role ?prole ?orole .
|
||||
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
|
||||
?address ?paddress ?oaddress .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/fed2ed3a65993012a7e768f1d75be8bc>
|
||||
<http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor> ?position .
|
||||
|
||||
?position ?pposition ?oposition .
|
||||
|
||||
?role <http://www.w3.org/ns/org#holds> ?position ;
|
||||
?prole ?orole .
|
||||
|
||||
OPTIONAL {
|
||||
?role <http://schema.org/contactPoint> ?contactPoint .
|
||||
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
|
||||
OPTIONAL {
|
||||
?contactPoint <http://www.w3.org/ns/locn#address> ?address .
|
||||
?address ?paddress ?oaddress .
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
# Update status of the bestuurseenheden as well as the resulting status of the change event
|
||||
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6180d2f3e76d711b9bb0ce5881c5b57d>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFB5747C883CA1D2ED7>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFA5747C883CA1D2ED6>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6180d2f3e76d711b9bb0ce5881c5b57d>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFB5747C883CA1D2ED7>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFA5747C883CA1D2ED6>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6180d2f3e76d711b9bb0ce5881c5b57d>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFB5747C883CA1D2ED7>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFA5747C883CA1D2ED6>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/620E5CF95747C883CA1D2ED5>
|
||||
org:resultingOrganization <http://data.lblod.info/id/besturenVanDeEredienst/6180d2f3e76d711b9bb0ce5881c5b57d> .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/620E5CF95747C883CA1D2ED5>
|
||||
org:resultingOrganization <http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788> .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/620E5CF95747C883CA1D2ED5>
|
||||
org:resultingOrganization <http://data.lblod.info/id/besturenVanDeEredienst/6180d2f3e76d711b9bb0ce5881c5b57d> .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/620E5CF95747C883CA1D2ED5>
|
||||
org:originalOrganization <http://data.lblod.info/id/besturenVanDeEredienst/6180d2f3e76d711b9bb0ce5881c5b57d> .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
# Update status of the bestuurseenheden as well as the resulting status of the change event
|
||||
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
PREFIX lblodOrg: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFB5747C883CA1D2ED7>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFA5747C883CA1D2ED6>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFB5747C883CA1D2ED7>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFA5747C883CA1D2ED6>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFB5747C883CA1D2ED7>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2b871d9f7cf6bec8c2732a8901f23788>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/620E5CFA5747C883CA1D2ED6>
|
||||
lblodOrg:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
# A person has been wrongly added (it's a duplicate) and someone attached to him a wrong position
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/personen/624EE12ED5CA8D65E42B3150> ?pperson ?operson .
|
||||
<http://data.lblod.info/id/mandatarissen/624EE15FD5CA8D65E42B3154> ?pmandataris ?omandataris .
|
||||
<http://data.lblod.info/id/contact-punten/624EE15ED5CA8D65E42B3152> ?pcontact ?ocontact .
|
||||
<http://data.lblod.info/id/adressen/624EE15ED5CA8D65E42B3151> ?paddress ?oaddress .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/personen/624EE12ED5CA8D65E42B3150> ?pperson ?operson .
|
||||
<http://data.lblod.info/id/mandatarissen/624EE15FD5CA8D65E42B3154> ?pmandataris ?omandataris .
|
||||
<http://data.lblod.info/id/contact-punten/624EE15ED5CA8D65E42B3152> ?pcontact ?ocontact .
|
||||
<http://data.lblod.info/id/adressen/624EE15ED5CA8D65E42B3151> ?paddress ?oaddress .
|
||||
}
|
||||
}
|
||||
@@ -339,7 +339,7 @@ services:
|
||||
# MU SEARCH - TODO USE THE CORRECT IMAGE ONCE INHERITANCE IS IN MU SEARCH
|
||||
################################################################################
|
||||
search:
|
||||
image: nbittich/mu-search:wip-inheritance # Bump to fixed version when merged and release to the original repo
|
||||
image: nbittich/mu-search:wip-inheritance-alpha2 # Bump to fixed version when merged and release to the original repo
|
||||
links:
|
||||
- db:database
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user