Compare commits

...

103 Commits

Author SHA1 Message Date
Claire Lovisa
48fd0d0255 Add migration to remove person and position 2022-04-29 14:26:54 +02:00
Claire Lovisa
16fc4b3a5b Fix change event 2022-04-15 09:17:54 +02:00
Claire Lovisa
289eb375a5 Fix missing original organization 2022-04-14 16:23:12 +02:00
Claire Lovisa
7b160e40de Add migration to fix resulting organization 2022-04-14 15:37:02 +02:00
Claire Lovisa
148a3f3ca7 Fix change event resulting org and statuses 2022-04-14 13:41:33 +02:00
Claire Lovisa
5aaa45c186 Add migration to remove some bedinaren 2022-04-14 10:56:11 +02:00
Claire Lovisa
3f2ff1f1c0 Add migration to update gender codelist 2022-04-12 15:26:41 +02:00
Nordine Bittich
1b152e688b fix regression mu search (#128) 2022-04-07 12:03:48 +02:00
Claire Lovisa
6d492bb1a0 Fix status ckb melle 2022-04-06 14:13:42 +02:00
Claire Lovisa
5f96fb22e1 Add migration to reformat weird kbos 2022-04-01 16:38:28 +02:00
Nordine Bittich
1411dd872a bump frontend 2022-03-31 19:52:28 +02:00
Nordine Bittich
2a1e75628d bump java deps (#124) 2022-03-31 14:59:32 +02:00
Claire Lovisa
049ae5f041 Merge branch 'master' into development 2022-03-31 14:49:10 +02:00
Claire Lovisa
d2d60e1339 Bump frontend 2022-03-31 14:48:45 +02:00
Nordine Bittich
6471b8c87a Merge branch 'master' into development 2022-03-30 13:38:21 +02:00
Nordine Bittich
7866e89d4e bump frontend 2022-03-30 13:38:10 +02:00
claire-lovisa
fdabbb5b5d Merge pull request #122 from lblod/fix/incident-handlings
Adds migrations to fix wrong data
2022-03-30 09:48:23 +02:00
Claire Lovisa
a1655337c2 Adds migrations to fix wrong data 2022-03-29 15:55:43 +02:00
Nordine Bittich
947b466658 bump frontend 2022-03-29 15:07:23 +02:00
Nordine Bittich
ef692cf6a8 bump frontend 2022-03-29 10:10:56 +02:00
Claire Lovisa
064eda0526 Organize migrations 2022-03-28 17:11:25 +02:00
Nordine Bittich
ebb29eb075 bump frontend 2022-03-25 17:00:29 +01:00
Nordine Bittich
a82cb06cc7 bump frontend prerelase 1.7.0-0 2022-03-25 12:18:18 +01:00
Nordine Bittich
88461b00e5 Merge branch 'master' into development 2022-03-24 19:25:14 +01:00
Nordine Bittich
6bd631fa23 bump frontend 2022-03-24 19:14:07 +01:00
Nordine Bittich
b1f5dd09d6 bump frontend 2022-03-23 09:56:35 +01:00
Nordine Bittich
956faa2d6f fix relationship ws (#121) 2022-03-22 14:59:49 +01:00
Nordine Bittich
d0950575cc bump privacy service 2022-03-22 09:32:38 +01:00
Claire Lovisa
a2cb828361 Merge branch 'master' into development 2022-03-21 17:01:14 +01:00
Claire Lovisa
e799bdac56 Bump frontend 2022-03-21 17:00:41 +01:00
Claire Lovisa
7532f0fd02 Add new change event date 2022-03-21 16:47:56 +01:00
Nordine Bittich
206a9a5a9e Merge branch 'master' into development 2022-03-21 16:26:40 +01:00
Nordine Bittich
cd66d02e4f bump frontend 2022-03-21 16:22:34 +01:00
Claire Lovisa
5dff7a2e20 Merge branch 'master' into development 2022-03-21 15:30:26 +01:00
claire-lovisa
ce52376765 Merge pull request #120 from lblod/chore/rename-app-to-organization-portal
Rename the project from contact-hub to organization-portal
2022-03-21 15:28:02 +01:00
Claire Lovisa
5ee1ba43f4 Rename the project from contact-hub to organization-portal 2022-03-21 15:10:49 +01:00
Boris De Vloed
0b98b25479 Merge pull request #119 from lblod/hotfix/delete-op-1170
Delete bestuurseenheden without status (op-1075)
2022-03-18 09:53:15 +01:00
Nordine Bittich
db7fe5ed4f sensitive data (#118) 2022-03-18 09:12:10 +01:00
Boris De Vloed
e1209a5473 query rewrite/fix 2022-03-17 17:29:19 +01:00
Boris De Vloed
01968b3044 Delete bestuurseenheden without status (op-1075) 2022-03-17 11:32:42 +01:00
claire-lovisa
4a84555c77 Merge pull request #117 from lblod/feature/add-ministerial-decision-date
Add new change event date
2022-03-15 11:02:04 +01:00
Claire Lovisa
86afcb6ea5 Add new change event date 2022-03-15 09:33:58 +01:00
Nordine Bittich
58110ad8e0 bump frontend 2022-03-14 13:23:11 +01:00
Nordine Bittich
4f54ef476c bump frontend 2022-03-10 19:05:22 +01:00
Nordine Bittich
44c5cc4f67 fix index (#116)
* fix index

* add combination of editeerder / beheerder

* add all possible combinations
2022-03-09 16:45:26 +01:00
Claire Lovisa
f064965f99 Merge branch 'master' into development 2022-03-09 11:10:36 +01:00
claire-lovisa
ec5d71531e Merge pull request #115 from lblod/hotfix/v1.6.2.1
Hotfix/v1.6.2.1
2022-03-09 11:10:12 +01:00
claire-lovisa
9698aa9a96 Merge pull request #114 from lblod/feature/remove-werkingsgebieden
Remove werkingsgebieden from the config and db
2022-03-09 09:02:43 +01:00
Claire Lovisa
ab12f4e15b Add migration to remove duplicated organizations 2022-03-08 17:58:04 +01:00
Claire Lovisa
d0473d35a2 Add migration to update change event and status 2022-03-08 17:57:56 +01:00
Claire Lovisa
09fbb2d06a Add migration to fix change event date 2022-03-08 17:57:50 +01:00
Claire Lovisa
3b6a5f8c44 Add migration to delete CKB Wachtebeke 2022-03-08 17:57:42 +01:00
Claire Lovisa
7fb39574a9 Remove werkingsgebieden from the config and db 2022-03-08 11:35:57 +01:00
claire-lovisa
a911ef47f7 Merge pull request #110 from lblod/hotfix/delete-centraal-kerkbestuur-wachtebeke
Add migration to delete CKB Wachtebeke
2022-03-07 16:59:33 +01:00
claire-lovisa
ad9b67f176 Merge pull request #111 from lblod/hotfix/update-change-event-date-zonhoven
Add migration to fix change event date
2022-03-07 16:59:26 +01:00
claire-lovisa
2b43f46b35 Merge pull request #112 from lblod/hotfix/update-change-event-glabbeek
Add migration to update change event and status
2022-03-07 16:59:15 +01:00
claire-lovisa
1e71621299 Merge pull request #113 from lblod/hotfix/remove-duplicated-bestuursenheden
Add migration to remove duplicated organizations
2022-03-07 16:59:09 +01:00
Claire Lovisa
d09badf9c7 Merge branch 'master' into development 2022-03-07 16:21:15 +01:00
Claire Lovisa
157cfa0daa Add migration to remove duplicated organizations 2022-03-07 15:20:10 +01:00
Claire Lovisa
35e67b88ad Add migration to update change event and status 2022-03-07 13:54:21 +01:00
Claire Lovisa
448b422185 Add migration to fix change event date 2022-03-07 10:32:54 +01:00
Boris De Vloed
cbe72cd2d5 Merge pull request #109 from lblod/fix/pseudonimiz-query
Optimize query performance - avoid thread kill
2022-03-04 15:54:23 +01:00
Claire Lovisa
334dcd822e Add migration to delete CKB Wachtebeke 2022-03-04 15:51:09 +01:00
Boris De Vloed
0e02373e90 Optimize query performance - avoid thread kill 2022-03-04 15:03:18 +01:00
Boris De Vloed
ec86c3213a Merge pull request #108 from lblod/chore/mount-dev-migrations
Add dev migrations to dev docker-compose
2022-03-04 14:22:14 +01:00
Boris De Vloed
890ff66cf3 Add dev migrations to dev docker-compose 2022-03-04 14:13:07 +01:00
Nordine Bittich
0b73421473 Merge branch 'development' 2022-03-03 09:24:46 +01:00
Nordine Bittich
dbf5fce41e bump frontend & reduce nb threads for mu search indexing 2022-03-03 09:21:40 +01:00
Boris De Vloed
272ccc57bb Merge pull request #107 from lblod/KAL-4760-gecoordineerde-synchronisatie-op-kal
reschedule op dump creation
2022-03-02 17:26:50 +01:00
Boris De Vloed
5c7833e53f update comment 2022-03-02 17:15:29 +01:00
Boris De Vloed
e744642b19 reschedule op dump creation 2022-03-02 17:06:43 +01:00
Boris De Vloed
5a3243bb74 Merge pull request #106 from lblod/feature/dump-compression
use compressed dumps
2022-03-01 11:29:51 +01:00
Boris De Vloed
b3c064b04a use compressed dumps 2022-03-01 10:35:28 +01:00
Claire Lovisa
df9a25210c Update gitignore 2022-03-01 08:46:24 +01:00
claire-lovisa
b3da0aa1a7 Merge pull request #104 from lblod/refactor/update-docker-compose-config
Update docker compose config
2022-02-28 17:39:31 +01:00
claire-lovisa
cdd86d3665 Merge branch 'development' into refactor/update-docker-compose-config 2022-02-28 17:39:09 +01:00
claire-lovisa
01a110fcdf Merge pull request #103 from lblod/refactor/kalliope-api-via-mu-auth
Remove unused config and bump kallipe-api
2022-02-28 17:37:59 +01:00
Claire Lovisa
cd185f427e Bump kalliope api to v0.5.5 2022-02-28 17:24:42 +01:00
Nordine Bittich
61deab8212 List all positions for a person (ministers + mandatories) & bug fix editing issue with delta (#105) 2022-02-28 15:26:39 +01:00
Claire Lovisa
c552d76e14 Add fixed image versions when possible 2022-02-25 10:39:53 +01:00
Claire Lovisa
94e8d8cf06 Add missing no restart 2022-02-25 10:03:17 +01:00
Claire Lovisa
bfee6de5a9 Remove unused config and bump kallipe-api 2022-02-24 18:25:33 +01:00
claire-lovisa
a815bc5619 Merge pull request #100 from lblod/feature/perf-bestuur
improve perf bestuur
2022-02-14 17:15:52 +01:00
Nordine Bittich
26de3401b4 Merge branch 'development' into feature/perf-bestuur 2022-02-14 17:14:40 +01:00
Sam Van Campenhout
313e8539dd Merge pull request #102 from lblod/chore/docker-restart
update docker restart policy
2022-02-14 15:39:20 +01:00
Nordine Bittich
11202a0b82 missing file & dump file 2022-02-14 15:23:29 +01:00
Nordine Bittich
1941b09790 gitignore update 2022-02-14 14:41:40 +01:00
Nordine Bittich
976c7b5478 update docker restart policy 2022-02-14 14:37:42 +01:00
Nordine Bittich
ddc679b2d7 bugfix 2022-02-11 11:34:42 +01:00
Nordine Bittich
f6b2c963f3 improve perf bestuur 2022-02-11 06:35:08 +01:00
Nordine Bittich
2cb5576e58 remove port mapping 2022-02-10 19:38:26 +01:00
Nordine Bittich
88226a9038 bump frontend 2022-02-10 16:02:13 +01:00
Nordine Bittich
2c6269d487 bump frontend 2022-02-10 16:01:33 +01:00
Sam Van Campenhout
f8a5935004 Add a type attribute to the contact-points model (#95) 2022-02-10 14:23:10 +01:00
Nordine Bittich
cdf4417ca5 bump frontend 2022-02-10 14:09:45 +01:00
Nordine Bittich
1f48744b62 bump frontend 2022-02-10 14:09:17 +01:00
Boris De Vloed
5a318a99fe add contact types (#88)
* add contact types

* move migration to 2022 directory

Co-authored-by: Nordine Bittich <nordine@bittich.be>
2022-02-10 13:53:48 +01:00
Claire Lovisa
0ecbca52d2 Bump adresenregister 2022-02-08 15:35:13 +01:00
Nordine Bittich
e52d71682e fix relationship (#99) 2022-02-08 10:22:27 +01:00
Nordine Bittich
3e14d92c29 mu search page person (#97) 2022-02-07 07:50:37 +01:00
Boris De Vloed
3bcc53b0bc add contact types (#88)
* add contact types

* move migration to 2022 directory

Co-authored-by: Nordine Bittich <nordine@bittich.be>
2022-02-02 14:59:02 +01:00
Nordine Bittich
de2a143218 bump frontend 2022-02-01 18:04:19 +01:00
Sam Van Campenhout
99644e7925 Add a type attribute to the contact-points model (#95) 2022-02-01 15:23:01 +01:00
63 changed files with 2020 additions and 103 deletions

1
.gitignore vendored
View File

@@ -27,3 +27,4 @@ source.json
out.json
security.yml
config/proxy-https/proxy_ssl.conf
/config/search/update-handler.store

View File

@@ -1,6 +1,6 @@
# Contact Hub
# Organization portal
Backend for the Contact Hub application based on the mu.semte.ch microservices stack.
Backend for the organization portal application, based on the mu.semte.ch microservices stack.
## How to

View File

@@ -10,6 +10,7 @@ defmodule Acl.UserGroups.Config do
@protected_resource_type [
"http://www.w3.org/ns/org#Organization",
"http://data.vlaanderen.be/ns/besluit#Besluit",
"https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
"http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
@@ -23,7 +24,6 @@ defmodule Acl.UserGroups.Config do
"http://www.w3.org/ns/org#ChangeEvent",
"http://data.lblod.info/vocabularies/erediensten/BetrokkenLokaleBesturen",
"http://data.lblod.info/vocabularies/erediensten/VerbondenJuridischeStructuren",
"http://www.w3.org/ns/prov#Location",
"http://www.w3.org/ns/org#Site",
"http://www.w3.org/ns/locn#Address",
"http://www.w3.org/ns/person#Person",
@@ -69,7 +69,7 @@ defmodule Acl.UserGroups.Config do
defp sparql_query_for_access_role( group_string ) do
"PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
SELECT ?session_group ?session_role WHERE {
SELECT distinct ?session_group ?session_role WHERE {
<SESSION_ID> ext:sessionGroup/mu:uuid ?session_group;
ext:sessionRole ?session_role.
FILTER( ?session_role = \"#{group_string}\" )
@@ -117,30 +117,6 @@ defmodule Acl.UserGroups.Config do
}
]
},
%GroupSpec{
name: "ch-lezer",
useage: [:read],
access: access_by_role( "ABBOrganisatiePortaalGebruiker-lezer" ),
graphs: [ %GraphSpec{
graph: "http://mu.semte.ch/graphs/organisatieportaal",
constraint: %ResourceConstraint{
resource_types: @protected_resource_type } } ] },
%GroupSpec{
name: "ch-editeerder",
useage: [:read, :write, :read_for_write],
access: access_by_role( "ABBOrganisatiePortaalGebruiker-editeerder" ),
graphs: [ %GraphSpec{
graph: "http://mu.semte.ch/graphs/organisatieportaal",
constraint: %ResourceConstraint{
resource_types: @protected_resource_type } } ] },
%GroupSpec{
name: "ch-beheerder",
useage: [:read, :write, :read_for_write],
access: access_by_role( "ABBOrganisatiePortaalGebruiker-beheerder" ),
graphs: [ %GraphSpec{
graph: "http://mu.semte.ch/graphs/organisatieportaal",
constraint: %ResourceConstraint{
resource_types: @protected_resource_type } } ] },
%GroupSpec{
name: "public",
useage: [:read],

View File

@@ -49,17 +49,6 @@
"http://www.w3.org/2004/02/skos/core#prefLabel",
"http://www.w3.org/2004/02/skos/core#scopeNote"
]
},
{
"type": "http://www.w3.org/ns/prov#Location",
"graphsFilter": [
"http://mu.semte.ch/graphs/organisatieportaal"
],
"properties": [
"http://mu.semte.ch/vocabularies/core/uuid",
"http://www.w3.org/2000/01/rdf-schema#label",
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau"
]
}
]
}

View File

@@ -306,17 +306,6 @@
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
{
"type": "http://www.w3.org/ns/prov#Location",
"graphsFilter": [
"http://mu.semte.ch/graphs/organisatieportaal"
],
"properties": [
"http://www.w3.org/2000/01/rdf-schema#label",
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau",
"http://data.vlaanderen.be/ns/besluit#werkingsgebied"
]
},
{
"type": "http://lblod.data.gift/vocabularies/organisatie/TypeBetrokkenheid",
"graphsFilter": [

View File

@@ -1,4 +1,21 @@
export default [
{
match: {
graph: {
type: "uri",
value: "http://mu.semte.ch/graphs/organisatieportaal"
}
},
callback: {
url: 'http://search/update',
method: 'POST'
},
options: {
resourceFormat: "v0.0.1",
gracePeriod: 10000,
ignoreFromSelf: true
}
},
{
match: {
predicate: {

View File

@@ -42,6 +42,7 @@ DELETE {
?address adres:gemeentenaam ?gemeente_s.
}
} WHERE {
VALUES ?g { <http://mu.semte.ch/graphs/organisatieportaal> <http://redpencil.data.gift/id/deltas/producer/organizations>}
GRAPH ?g {
BIND("REPLACE_ME_WITH_A_RANDOM_STRING" AS ?salt).
?person a person:Person.

View File

@@ -136,10 +136,6 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/organization-status-codes/"
end
match "/locations/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/locations/"
end
match "/involvement-types/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/involvement-types/"
end
@@ -199,6 +195,9 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/decisions/"
end
match "/decision-activities/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/decision-activities/"
end
###############
# LOGIN
@@ -222,6 +221,14 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://login/sessions/"
end
###############################################################
# SEARCH
###############################################################
match "/search/*path", %{ accept: %{ json: true }, layer: :api_services} do
IO.puts("hey")
Proxy.forward conn, path, "http://search/"
end
###############
# API SERVICES
@@ -231,10 +238,6 @@ defmodule Dispatcher do
forward conn, path, "http://kalliope-api/v3/api-docs/"
end
match "/changes/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/changes/"
end
match "/consolidated/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/consolidated/"
end
@@ -251,6 +254,14 @@ defmodule Dispatcher do
forward conn, path, "http://privacy/person-information-requests"
end
match "/person-information-ask/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://privacy/person-information-ask/"
end
match "/person-information-validate-ssn/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://privacy/person-information-validate-ssn/"
end
get "/uri-info/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://uri-info/"
end

View File

@@ -0,0 +1,22 @@
# cf 20220110100000-secondary-contacts.sparql for context.
# In case it's not a secondary contactpoint (a contactpoint without an address if multiple contact points exist for one entity/mandataris)
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?contactPoint
schema:contactType "Primary"
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?contactPoint
a schema:ContactPoint.
FILTER NOT EXISTS {
?contactPoint
schema:contactType "Secondary"
}
}
}

View File

@@ -0,0 +1,24 @@
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?secondary
schema:contactType "Secondary"
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?primary
a schema:ContactPoint;
locn:address ?a1;
schema:telephone ?t1.
?mandataris schema:contactPoint ?primary, ?secondary.
?secondary
schema:telephone ?t2.
FILTER NOT EXISTS {
?secondary locn:address ?a2.
}
}
}

View File

@@ -0,0 +1,38 @@
DELETE {
GRAPH ?g {
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur ?pbestuur ?obestuur .
?primarySite ?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier ?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH ?g {
VALUES ?bestuur {
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/6167E3E2375CFC000A0007C2>
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/616FE419375CFC000A000893>
}
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
<http://www.w3.org/ns/adms#identifier> ?identifier ;
?pbestuur ?obestuur .
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}

View File

@@ -0,0 +1,15 @@
PREFIX dct: <http://purl.org/dc/terms/>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F90CAF51BFC225E4ECF2CA> dct:date "2021-11-28"^^xsd:date .
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F90CAF51BFC225E4ECF2CA> dct:date "2021-12-20"^^xsd:date .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F90CAF51BFC225E4ECF2CA> dct:date "2021-11-28"^^xsd:date .
}
}

View File

@@ -0,0 +1,26 @@
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX regorg: <http://www.w3.org/ns/regorg#>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B0A51BFC225E4ECF2FF>
dct:date "2021-02-04"^^xsd:date .
<http://data.lblod.info/id/besturenVanDeEredienst/2a75e67f9a8aacf52896944c59b09eb0>
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B0A51BFC225E4ECF2FF>
dct:date "2022-02-04"^^xsd:date .
<http://data.lblod.info/id/besturenVanDeEredienst/2a75e67f9a8aacf52896944c59b09eb0>
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B0A51BFC225E4ECF2FF>
dct:date "2021-02-04"^^xsd:date .
<http://data.lblod.info/id/besturenVanDeEredienst/2a75e67f9a8aacf52896944c59b09eb0>
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> .
}
}

View File

@@ -0,0 +1,77 @@
# Splitting the query in two because of execution time
## Links to the bestuur
DELETE {
GRAPH ?g {
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?orgaanInTijd ?porgaanInTijd ?oorgaanInTijd .
?orgaan ?porgaan ?oorgaan .
?betrokken ?pbetrokken ?obetrokken .
?eenheid <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> ?betrokken .
}
} WHERE {
GRAPH ?g {
VALUES ?bestuur {
<http://data.lblod.info/id/besturenVanDeEredienst/6183A207375CFC000A000933>
<http://data.lblod.info/id/besturenVanDeEredienst/61AE0A9B3C1A230C43B44FFF>
}
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
OPTIONAL {
?orgaanInTijd <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur ;
?porgaanInTijd ?oorgaanInTijd .
?orgaan <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaanInTijd ;
?porgaan ?oorgaan .
}
OPTIONAL {
?betrokken <http://www.w3.org/ns/org#organization> ?bestuur ;
?pbetrokken ?obetrokken .
?eenheid <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> ?betrokken .
}
}
}
;
## Links from the bestuur
DELETE {
GRAPH ?g {
?bestuur ?pbestuur ?obestuur .
?primarySite ?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier ?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH ?g {
VALUES ?bestuur {
<http://data.lblod.info/id/besturenVanDeEredienst/6183A207375CFC000A000933>
<http://data.lblod.info/id/besturenVanDeEredienst/61AE0A9B3C1A230C43B44FFF>
}
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
<http://www.w3.org/ns/adms#identifier> ?identifier ;
?pbestuur ?obestuur .
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}

View File

@@ -0,0 +1,10 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
} WHERE {
GRAPH ?g {
?s a <http://www.w3.org/ns/prov#Location> ;
?p ?o .
}
}

View File

@@ -0,0 +1,36 @@
DELETE {
GRAPH ?g {
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
?bestuur ?pbestuur ?obestuur .
?primarySite ?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier ?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH ?g {
VALUES ?bestuur {
<http://data.lblod.info/id/besturenVanDeEredienst/616FE3A6375CFC000A00088B>
<http://data.lblod.info/id/besturenVanDeEredienst/61839F8F375CFC000A00092B>
}
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
<http://www.w3.org/ns/adms#identifier> ?identifier ;
?pbestuur ?obestuur .
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
?pprimarySite ?oprimarySite .
?address ?paddress ?oaddress .
?contactPoint ?pcontactPoint ?ocontactPoint .
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}

View File

@@ -0,0 +1,15 @@
PREFIX dct: <http://purl.org/dc/terms/>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/6217A27A5747C883CA1D34E9> dct:date "2018-06-09"^^xsd:date .
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/6217A27A5747C883CA1D34E9> dct:date "2018-06-15"^^xsd:date .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/6217A27A5747C883CA1D34E9> dct:date "2018-06-09"^^xsd:date .
}
}

View File

@@ -0,0 +1,15 @@
PREFIX dct: <http://purl.org/dc/terms/>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B8D51BFC225E4ECF307> dct:date "2021-02-04"^^xsd:date .
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B8D51BFC225E4ECF307> dct:date "2022-02-04"^^xsd:date .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B8D51BFC225E4ECF307> dct:date "2021-02-04"^^xsd:date .
}
}

View File

@@ -0,0 +1,19 @@
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/representatieveOrganen/bf83abb71bd810ad1ebe05ac8cb72a1c>
<http://www.w3.org/ns/adms#identifier> ?identifier .
?identifier
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/representatieveOrganen/bf83abb71bd810ad1ebe05ac8cb72a1c>
<http://www.w3.org/ns/adms#identifier> ?identifier .
?identifier
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
?pidentifier ?oidentifier .
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
}
}

View File

@@ -0,0 +1,38 @@
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/eredienstbestuursorganen/3c07a7f0db44632737d1657ea9035e9f>
<http://www.w3.org/ns/org#hasPost> ?post .
?post ?ppost ?opost .
?role <http://www.w3.org/ns/org#holds> ?post ;
<http://schema.org/contactPoint> ?contactPoint ;
?prole ?orole .
?contactPoint <http://www.w3.org/ns/locn#address> ?address ;
?pcontactPoint ?ocontactPoint .
?address ?paddress ?oaddress .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/eredienstbestuursorganen/3c07a7f0db44632737d1657ea9035e9f>
<http://www.w3.org/ns/org#hasPost> ?post .
?post ?ppost ?opost .
?role <http://www.w3.org/ns/org#holds> ?post ;
?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 .
}
}
}
}

View File

@@ -0,0 +1,38 @@
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/centralebestuursorganen/d2b5a4e1a4e66c9e0319f4704c96bf4c>
<http://www.w3.org/ns/org#hasPost> ?post .
?post ?ppost ?opost .
?role <http://www.w3.org/ns/org#holds> ?post ;
<http://schema.org/contactPoint> ?contactPoint ;
?prole ?orole .
?contactPoint <http://www.w3.org/ns/locn#address> ?address ;
?pcontactPoint ?ocontactPoint .
?address ?paddress ?oaddress .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/centralebestuursorganen/d2b5a4e1a4e66c9e0319f4704c96bf4c>
<http://www.w3.org/ns/org#hasPost> ?post .
?post ?ppost ?opost .
?role <http://www.w3.org/ns/org#holds> ?post ;
?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 .
}
}
}
}

View File

@@ -0,0 +1,51 @@
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/gestructureerdeIdentificatoren/6130DFFB375CFC000A0000A1> generiek:lokaleIdentificator ?kbo1 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/61DFFBF9BA00DD4BE2501BC2> generiek:lokaleIdentificator ?kbo2 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/5d50bc3fdf941de8b56c8def78407436> generiek:lokaleIdentificator ?kbo3 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/52c1f29b51e8a92972c57f2c7b229b5a> generiek:lokaleIdentificator ?kbo4 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/406fec8a5923e85511ca92c39edfd6ec> generiek:lokaleIdentificator ?kbo5 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/fa7c56c097294e0c31aca1ac99fd0b6a> generiek:lokaleIdentificator ?kbo6 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/b48f6b751fd53f9ef0e249b0234480ff> generiek:lokaleIdentificator ?kbo7 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/b4af7f119ea6a0b012e01ef8494c5f72> generiek:lokaleIdentificator ?kbo8 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/40022a348133be5a8da995c6770ced56> generiek:lokaleIdentificator ?kbo9 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/d5c5db3a99201463e6f18daba19efb52> generiek:lokaleIdentificator ?kbo10 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/79cd43bc157fcf9d4440edf4c40ebd2b> generiek:lokaleIdentificator ?kbo11 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/2dbeed0bd11f472a304580748b1c30a9> generiek:lokaleIdentificator ?kbo12 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/bf7c674a89e693d52bd1152e0026b550> generiek:lokaleIdentificator ?kbo13 .
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/gestructureerdeIdentificatoren/6130DFFB375CFC000A0000A1> generiek:lokaleIdentificator "0777683642" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/61DFFBF9BA00DD4BE2501BC2> generiek:lokaleIdentificator "0780386972" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/5d50bc3fdf941de8b56c8def78407436> generiek:lokaleIdentificator "0408140861" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/52c1f29b51e8a92972c57f2c7b229b5a> generiek:lokaleIdentificator "0408472839" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/406fec8a5923e85511ca92c39edfd6ec> generiek:lokaleIdentificator "0409677223" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/fa7c56c097294e0c31aca1ac99fd0b6a> generiek:lokaleIdentificator "0409771253" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/b48f6b751fd53f9ef0e249b0234480ff> generiek:lokaleIdentificator "0410195380" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/b4af7f119ea6a0b012e01ef8494c5f72> generiek:lokaleIdentificator "0412914944" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/40022a348133be5a8da995c6770ced56> generiek:lokaleIdentificator "0413234648" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/d5c5db3a99201463e6f18daba19efb52> generiek:lokaleIdentificator "0464533790" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/79cd43bc157fcf9d4440edf4c40ebd2b> generiek:lokaleIdentificator "0687815914" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/2dbeed0bd11f472a304580748b1c30a9> generiek:lokaleIdentificator "0864330673" .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/bf7c674a89e693d52bd1152e0026b550> generiek:lokaleIdentificator "0898987189" .
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/gestructureerdeIdentificatoren/6130DFFB375CFC000A0000A1> generiek:lokaleIdentificator ?kbo1 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/61DFFBF9BA00DD4BE2501BC2> generiek:lokaleIdentificator ?kbo2 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/5d50bc3fdf941de8b56c8def78407436> generiek:lokaleIdentificator ?kbo3 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/52c1f29b51e8a92972c57f2c7b229b5a> generiek:lokaleIdentificator ?kbo4 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/406fec8a5923e85511ca92c39edfd6ec> generiek:lokaleIdentificator ?kbo5 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/fa7c56c097294e0c31aca1ac99fd0b6a> generiek:lokaleIdentificator ?kbo6 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/b48f6b751fd53f9ef0e249b0234480ff> generiek:lokaleIdentificator ?kbo7 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/b4af7f119ea6a0b012e01ef8494c5f72> generiek:lokaleIdentificator ?kbo8 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/40022a348133be5a8da995c6770ced56> generiek:lokaleIdentificator ?kbo9 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/d5c5db3a99201463e6f18daba19efb52> generiek:lokaleIdentificator ?kbo10 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/79cd43bc157fcf9d4440edf4c40ebd2b> generiek:lokaleIdentificator ?kbo11 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/2dbeed0bd11f472a304580748b1c30a9> generiek:lokaleIdentificator ?kbo12 .
<http://data.lblod.info/id/gestructureerdeIdentificatoren/bf7c674a89e693d52bd1152e0026b550> generiek:lokaleIdentificator ?kbo13 .
}
}

View File

@@ -0,0 +1,19 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
DELETE {
GRAPH ?g {
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/08223304e42d99067f54a753f8c685fe>
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
}
} INSERT {
GRAPH ?g {
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/08223304e42d99067f54a753f8c685fe>
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
}
} WHERE {
GRAPH ?g {
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/08223304e42d99067f54a753f8c685fe>
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> .
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -98,7 +98,32 @@
"predicate": "foaf:page"
}
},
"relationships": {
"has-decision-activity": {
"predicate": "http://www.w3.org/ns/prov#generated",
"target": "decision-activities",
"cardinality": "one",
"inverse": true
}
},
"new-resource-base": "http://lblod.data.info/id/besluiten/"
},
"decision-activities": {
"class": "https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
"attributes": {
"end-date": {
"type": "date",
"predicate": "https://data.vlaanderen.be/ns/dossier#Activiteit.einddatum"
}
},
"relationships": {
"gives-cause-to": {
"predicate": "http://www.w3.org/ns/prov#generated",
"target": "decisions",
"cardinality": "many"
}
},
"new-resource-base": "http://lblod.data.info/id/beslissingsactiviteit/"
}
}
}

View File

@@ -46,9 +46,10 @@
},
"relationships": {
"mandatories": {
"predicate": "mandaat:isAangesteldAls",
"predicate": "mandaat:isBestuurlijkeAliasVan",
"target": "mandatories",
"cardinality": "many"
"cardinality": "many",
"inverse": true
},
"agents-in-position": {
"predicate": "org:heldBy",
@@ -210,6 +211,10 @@
"website": {
"type": "uri",
"predicate": "foaf:page"
},
"type": {
"type": "string",
"predicate": "schema:contactType"
}
},
"relationships": {
@@ -365,11 +370,6 @@
"predicate": "ere:betrokkenBestuur",
"target": "local-involvements",
"cardinality": "many"
},
"scope": {
"predicate": "besluit:werkingsgebied",
"target": "locations",
"cardinality": "one"
}
},
"new-resource-base": "http://data.lblod.info/id/bestuurseenheden/"
@@ -392,6 +392,11 @@
"predicate": "ere:typeEredienst",
"target": "recognized-worship-types",
"cardinality": "one"
},
"minister-positions": {
"predicate": "ere:wordtBediendDoor",
"target": "minister-positions",
"cardinality": "many"
}
},
"new-resource-base": "http://data.lblod.info/id/eredienstBestuurseenheden/"
@@ -416,11 +421,6 @@
"target": "local-involvements",
"cardinality": "many",
"inverse": true
},
"minister-positions": {
"predicate": "ere:wordtBediendDoor",
"target": "minister-positions",
"cardinality": "many"
}
},
"new-resource-base": "http://data.lblod.info/id/besturenVanDeEredienst/"
@@ -661,28 +661,6 @@
"features": ["include-uri"],
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"locations": {
"class": "prov:Location",
"attributes": {
"label": {
"type": "string",
"predicate": "rdfs:label"
},
"level": {
"type": "string",
"predicate": "ext:werkingsgebiedNiveau"
}
},
"relationships": {
"administrative-units": {
"predicate": "besluit:werkingsgebied",
"target": "administrative-units",
"cardinality": "many",
"inverse": true
}
},
"new-resource-base": "http://data.lblod.info/id/werkingsgebieden/"
},
"involvement-types": {
"class": "code:TypeBetrokkenheid",
"attributes": {
@@ -778,7 +756,7 @@
},
"worship-service": {
"predicate": "ere:wordtBediendDoor",
"target": "worship-services",
"target": "worship-administrative-units",
"cardinality": "one",
"inverse": true
},

660
config/search/config.json Normal file
View File

@@ -0,0 +1,660 @@
{
"automatic_index_updates": true,
"persist_indexes": true,
"number_of_threads": 6,
"eager_indexing_groups": [
[
{
"variables": [],
"name": "acmidm-lezer"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-editeerder"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-beheerder"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-beheerder"
},
{
"variables": [],
"name": "acmidm-editeerder"
},
{
"variables": [],
"name": "acmidm-lezer"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-editeerder"
},
{
"variables": [],
"name": "acmidm-lezer"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-editeerder"
},
{
"variables": [],
"name": "acmidm-beheerder"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-lezer"
},
{
"variables": [],
"name": "acmidm-beheerder"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
]
],
"types": [
{
"type": "mandatory",
"on_path": "mandatories",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
"properties": {
"given_name": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://xmlns.com/foaf/0.1/givenName"
],
"id": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"uuid": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"family_name": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://xmlns.com/foaf/0.1/familyName"
],
"first_name_used": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
],
"end_date": "http://data.vlaanderen.be/ns/mandaat#einde",
"organization_id": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"organization_name": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"organization_municipality": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
],
"organization_province": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"position_id": [
"http://www.w3.org/ns/org#holds",
"http://www.w3.org/ns/org#role",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"position_name": [
"http://www.w3.org/ns/org#holds",
"http://www.w3.org/ns/org#role",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": {
"type": "text"
},
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": {
"type": "text"
},
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": {
"type": "date"
}
}
}
},
{
"type": "minister",
"on_path": "ministers",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
"sub_types": [
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
],
"properties": {
"given_name": [
"http://www.w3.org/ns/org#heldBy",
"http://xmlns.com/foaf/0.1/givenName"
],
"id": [
"http://www.w3.org/ns/org#heldBy",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"uuid": [
"http://www.w3.org/ns/org#heldBy",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"family_name": [
"http://www.w3.org/ns/org#heldBy",
"http://xmlns.com/foaf/0.1/familyName"
],
"first_name_used": [
"http://www.w3.org/ns/org#heldBy",
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
],
"end_date": "http://data.lblod.info/vocabularies/contacthub/eindedatum",
"organization_id": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"organization_name": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"organization_municipality": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
],
"organization_province": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"position_id": [
"http://www.w3.org/ns/org#holds",
"http://data.lblod.info/vocabularies/erediensten/functie",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"position_name": [
"http://www.w3.org/ns/org#holds",
"http://data.lblod.info/vocabularies/erediensten/functie",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": {
"type": "text"
},
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": {
"type": "text"
},
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": {
"type": "date"
}
}
}
},
{
"type": "person",
"composite_types": [
"minister",
"mandatory"
],
"on_path": "people",
"properties": [
{
"name": "given_name",
"mappings": {
"minister": "given_name",
"mandatory": "given_name"
}
},
{
"name": "id",
"mappings": {
"minister": "id",
"mandatory": "id"
}
},
{
"name": "family_name",
"mappings": {
"minister": "family_name",
"mandatory": "family_name"
}
},
{
"name": "first_name_used",
"mappings": {
"minister": "first_name_used",
"mandatory": "first_name_used"
}
},
{
"name": "end_date",
"mappings": {
"minister": "end_date",
"mandatory": "end_date"
}
},
{
"name": "organization_id",
"mappings": {
"minister": "organization_id",
"mandatory": "organization_id"
}
},
{
"name": "organization_name",
"mappings": {
"minister": "organization_name",
"mandatory": "organization_name"
}
},
{
"name": "organization_municipality",
"mappings": {
"minister": "organization_municipality",
"mandatory": "organization_municipality"
}
},
{
"name": "organization_province",
"mappings": {
"minister": "organization_province",
"mandatory": "organization_province"
}
},
{
"name": "position_id",
"mappings": {
"minister": "position_id",
"mandatory": "position_id"
}
},
{
"name": "position_name",
"mappings": {
"minister": "position_name",
"mandatory": "position_name"
}
}
],
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": {
"type": "text"
},
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": {
"type": "text"
},
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": {
"type": "date"
}
}
}
},
{
"type": "unit",
"on_path": "units",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
"sub_types": [
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst"
],
"properties": {
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
"classification_id": [
"http://www.w3.org/ns/org#classification",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"classification_name": [
"http://www.w3.org/ns/org#classification",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"status": [
"http://www.w3.org/ns/regorg#orgStatus",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"status_id": [
"http://www.w3.org/ns/regorg#orgStatus",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"recognized_worship_type_id": [
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"recognized_worship_type_name": [
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"province": [
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"municipality": [
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
]
},
"mappings": {
"properties": {
"classification_id": {
"type": "text"
},
"recognized_worship_type_id": {
"type": "text"
},
"name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"classification_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"status": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"recognized_worship_type_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
}
}
}
}
]
}

View File

@@ -0,0 +1,584 @@
{
"automatic_index_updates": true,
"persist_indexes": true,
"number_of_threads": 6,
"eager_indexing_groups": [
[
{
"variables": [],
"name": "acmidm-lezer"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-editeerder"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
],
[
{
"variables": [],
"name": "acmidm-beheerder"
},
{
"variables": [],
"name": "clean"
},
{
"variables": [],
"name": "public"
}
]
],
"types": [
{
"type": "mandatory",
"on_path": "mandatories",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
"properties": {
"given_name": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://xmlns.com/foaf/0.1/givenName"
],
"id": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"uuid": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"family_name": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"http://xmlns.com/foaf/0.1/familyName"
],
"first_name_used": [
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
],
"end_date": "http://data.vlaanderen.be/ns/mandaat#einde",
"organization_id": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"organization_name": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"organization_municipality": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
],
"organization_province": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"position_id": [
"http://www.w3.org/ns/org#holds",
"http://www.w3.org/ns/org#role",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"position_name": [
"http://www.w3.org/ns/org#holds",
"http://www.w3.org/ns/org#role",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": {
"type": "text"
},
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": {
"type": "text"
},
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": {
"type": "date"
}
}
}
},
{
"type": "minister",
"on_path": "ministers",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
"sub_types": [
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
],
"properties": {
"given_name": [
"http://www.w3.org/ns/org#heldBy",
"http://xmlns.com/foaf/0.1/givenName"
],
"id": [
"http://www.w3.org/ns/org#heldBy",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"uuid": [
"http://www.w3.org/ns/org#heldBy",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"family_name": [
"http://www.w3.org/ns/org#heldBy",
"http://xmlns.com/foaf/0.1/familyName"
],
"first_name_used": [
"http://www.w3.org/ns/org#heldBy",
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
],
"end_date": "http://data.lblod.info/vocabularies/contacthub/eindedatum",
"organization_id": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"organization_name": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"organization_municipality": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
],
"organization_province": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"position_id": [
"http://www.w3.org/ns/org#holds",
"http://data.lblod.info/vocabularies/erediensten/functie",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"position_name": [
"http://www.w3.org/ns/org#holds",
"http://data.lblod.info/vocabularies/erediensten/functie",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": {
"type": "text"
},
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": {
"type": "text"
},
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": {
"type": "date"
}
}
}
},
{
"type": "person",
"composite_types": [
"minister",
"mandatory"
],
"on_path": "people",
"properties": [
{
"name": "given_name",
"mappings": {
"minister": "given_name",
"mandatory": "given_name"
}
},
{
"name": "id",
"mappings": {
"minister": "id",
"mandatory": "id"
}
},
{
"name": "family_name",
"mappings": {
"minister": "family_name",
"mandatory": "family_name"
}
},
{
"name": "first_name_used",
"mappings": {
"minister": "first_name_used",
"mandatory": "first_name_used"
}
},
{
"name": "end_date",
"mappings": {
"minister": "end_date",
"mandatory": "end_date"
}
},
{
"name": "organization_id",
"mappings": {
"minister": "organization_id",
"mandatory": "organization_id"
}
},
{
"name": "organization_name",
"mappings": {
"minister": "organization_name",
"mandatory": "organization_name"
}
},
{
"name": "organization_municipality",
"mappings": {
"minister": "organization_municipality",
"mandatory": "organization_municipality"
}
},
{
"name": "organization_province",
"mappings": {
"minister": "organization_province",
"mandatory": "organization_province"
}
},
{
"name": "position_id",
"mappings": {
"minister": "position_id",
"mandatory": "position_id"
}
},
{
"name": "position_name",
"mappings": {
"minister": "position_name",
"mandatory": "position_name"
}
}
],
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": {
"type": "text"
},
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": {
"type": "text"
},
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": {
"type": "date"
}
}
}
},
{
"type": "unit",
"on_path": "units",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
"sub_types": [
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst"
],
"properties": {
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
"classification_id": [
"http://www.w3.org/ns/org#classification",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"classification_name": [
"http://www.w3.org/ns/org#classification",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"status": [
"http://www.w3.org/ns/regorg#orgStatus",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"status_id": [
"http://www.w3.org/ns/regorg#orgStatus",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"recognized_worship_type_id": [
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"recognized_worship_type_name": [
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"province": [
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"municipality": [
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
]
},
"mappings": {
"properties": {
"classification_id": {
"type": "text"
},
"recognized_worship_type_id": {
"type": "text"
},
"name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"classification_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"status": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"recognized_worship_type_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
}
}
}
}
]
}

View File

@@ -14,6 +14,8 @@ services:
db:
restart: "no"
migrations:
volumes:
- ./config/dev-migrations:/data/migrations/dev/
restart: "no"
resource:
restart: "no"
@@ -29,6 +31,7 @@ services:
image: lblod/mock-login-service:latest
links:
- db:database
restart: "no"
sink:
restart: "no"
login:
@@ -40,7 +43,29 @@ services:
adressenregister:
restart: "no"
frontend:
image: lblod/frontend-contact-hub:latest
image: lblod/frontend-organization-portal:latest
restart: "no"
uri-info:
restart: "no"
delta-producer-bg-jobs-initiator-administrative-units:
restart: "no"
delta-producer-pub-graph-maintainer-administrative-units:
restart: "no"
delta-producer-json-diff-publisher-administrative-units:
restart: "no"
delta-producer-bg-jobs-initiator-organizations:
restart: "no"
delta-producer-pub-graph-maintainer-organizations:
restart: "no"
delta-producer-json-diff-publisher-organizations:
restart: "no"
search:
restart: "no"
volumes:
- ./config/search/dev:/config
elasticsearch:
restart: "no"
file:
restart: "no"
delta-producer-dump-file-publisher:
restart: "no"

View File

@@ -18,7 +18,7 @@ services:
restart: always
logging: *default-logging
dispatcher:
image: semtech/mu-dispatcher:latest
image: semtech/mu-dispatcher:2.1.0-beta.2
volumes:
- ./config/dispatcher:/config
labels:
@@ -61,7 +61,7 @@ services:
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors # Bump to fixed version when merged and release
links:
- db:database
volumes:
@@ -79,7 +79,7 @@ services:
restart: always
logging: *default-logging
kalliope-api:
image: lblod/jsonld-delta-service:0.5.4
image: lblod/jsonld-delta-service:0.5.6
volumes:
- ./config/kalliope:/config
- ./data/files:/share
@@ -90,6 +90,7 @@ services:
LOGGING_LEVEL: "INFO"
SPARQL_ENDPOINT: "http://db:8890/sparql"
LIMIT_SIZE: "10000"
MU_AUTH_SUDO: "false"
labels:
- "logging=true"
restart: always
@@ -127,7 +128,7 @@ services:
links:
- db:database
accountdetail:
image: lblod/account-detail-service:latest
image: lblod/account-detail-service:0.1.0
labels:
- "logging=true"
environment:
@@ -137,7 +138,7 @@ services:
restart: always
logging: *default-logging
privacy:
image: lblod/privacy-centric-service:0.3.0
image: lblod/privacy-centric-service:0.4.2
labels:
- "logging=true"
environment:
@@ -152,13 +153,13 @@ services:
restart: always
logging: *default-logging
adressenregister:
image: lblod/adressenregister-fuzzy-search-service:0.5.0
image: lblod/adressenregister-fuzzy-search-service:0.6.0
labels:
- "logging=true"
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-contact-hub:1.5.3
image: lblod/frontend-organization-portal:1.7.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
@@ -199,7 +200,7 @@ services:
# DELTA GENERAL
################################################################################
delta-producer-dump-file-publisher:
image: lblod/delta-producer-dump-file-publisher:0.4.0
image: bdevloed/delta-producer-dump-file-publisher:0.5.0-beta
volumes:
- ./config/delta-producer/dump-file-publisher:/config
- ./data/files:/share
@@ -281,7 +282,7 @@ services:
DUMP_FILE_CREATION_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations'
INITIAL_PUBLICATION_GRAPH_SYNC_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations'
HEALING_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations'
CRON_PATTERN_DUMP_JOB: '30 9 8-18/2 * * MON-FRI' # At second :30, at minute :09, every 2 hours between hours 08am and 18pm, every day between Monday and Friday, every month
CRON_PATTERN_DUMP_JOB: '42 * * * *' # At minute 42 every hour
CRON_PATTERN_HEALING_JOB: '0 0 4 * * *' # everyday at 4 AM
START_INITIAL_SYNC: 'false' # prefer to disable it now. We want to have feeling with how the DB acts.
labels:
@@ -332,3 +333,22 @@ services:
################################################################################
# DELTA ORGANIZATIONS: END
################################################################################
################################################################################
# MU SEARCH - TODO USE THE CORRECT IMAGE ONCE INHERITANCE IS IN MU SEARCH
################################################################################
search:
image: nbittich/mu-search:wip-inheritance-alpha2 # Bump to fixed version when merged and release to the original repo
links:
- db:database
restart: always
volumes:
- ./config/search:/config
elasticsearch:
image: semtech/mu-search-elastic-backend:1.0.1
volumes:
- ./data/elasticsearch/:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
restart: always