Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ae11f707c | ||
|
|
24f13fa6de | ||
|
|
724635d9aa | ||
|
|
48fd0d0255 | ||
|
|
16fc4b3a5b | ||
|
|
289eb375a5 | ||
|
|
7b160e40de | ||
|
|
148a3f3ca7 | ||
|
|
5aaa45c186 | ||
|
|
3f2ff1f1c0 |
@@ -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 .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://data.lblod.info/id/mandatarissen/626BCD9AFEE49A5CF118F54B> <http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan> <http://data.lblod.info/id/personen/95e03dd72a75f5a2b05a4ff525ee81d8> .
|
||||
}
|
||||
}
|
||||
|
||||
# The associated call to trigger a reindex is :
|
||||
# curl --location --request POST '<ip-addres-search>/update' \
|
||||
# --header 'Content-Type: application/vnd.api+json' \
|
||||
# --data-raw ' [
|
||||
# {
|
||||
# "deletes": [],
|
||||
# "inserts": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/mandatarissen/626BCD9AFEE49A5CF118F54B" },
|
||||
# "predicate": { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" },
|
||||
# "object": { "type": "uri", "value": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris" }
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
# ]'
|
||||
@@ -0,0 +1,17 @@
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
|
||||
<http://data.lblod.info/id/bestuursorganen/3703cf09-f9c0-451b-b8b1-e373e1367a85> a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
|
||||
mu:uuid "3703cf09-f9c0-451b-b8b1-e373e1367a85";
|
||||
besluit:bestuurt <http://data.lblod.info/id/besturenVanDeEredienst/617AAE56375CFC000A0008DE>;
|
||||
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a0701624aefb115b7eda2ff39139c2dd>.
|
||||
<http://data.lblod.info/id/bestuursorganen/bdf61666-05fe-4a70-8e13-7a98e8e72707> a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>;
|
||||
mu:uuid "bdf61666-05fe-4a70-8e13-7a98e8e72707";
|
||||
generiek:isTijdspecialisatieVan <http://data.lblod.info/id/bestuursorganen/3703cf09-f9c0-451b-b8b1-e373e1367a85> .
|
||||
}
|
||||
}
|
||||
@@ -159,7 +159,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-organization-portal:1.7.0
|
||||
image: lblod/frontend-organization-portal:1.7.1
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user