Compare commits

...

59 Commits

Author SHA1 Message Date
claire-lovisa
b8bca6ce79 Merge pull request #145 from lblod/hotfix/wrong-status-code
fix wrong classification
2022-05-09 09:22:24 +02:00
Claire Lovisa
693763c3b4 Bump frontend 2022-05-09 09:12:21 +02:00
Nordine Bittich
1e05382a6d fix wrong classification 2022-05-09 08:52:31 +02:00
claire-lovisa
deb3964733 Merge pull request #144 from lblod/hotfix/v1.7.8
Hotfix/v1.7.8
2022-05-06 13:35:40 +02:00
Claire Lovisa
2ae11f707c Bump frontend 2022-05-06 12:20:21 +02:00
Nordine Bittich
24f13fa6de missing governing body (#143) 2022-05-04 10:28:20 +02:00
Claire Lovisa
724635d9aa Add missing person-position link 2022-05-03 19:22:33 +02:00
claire-lovisa
365ca03300 Merge pull request #142 from lblod/hotfix/v1.7.7
Add migration to remove person and position
2022-04-29 18:15:21 +02:00
Claire Lovisa
48fd0d0255 Add migration to remove person and position 2022-04-29 14:26:54 +02:00
Claire Lovisa
fc557cada5 Merge branch 'hotfix/v1.7.6' 2022-04-15 09:18:44 +02:00
Claire Lovisa
16fc4b3a5b Fix change event 2022-04-15 09:17:54 +02:00
claire-lovisa
c97126d2e1 Merge pull request #135 from lblod/hotfix/v1.7.6
Fix missing original organization
2022-04-14 16:24:40 +02:00
Claire Lovisa
289eb375a5 Fix missing original organization 2022-04-14 16:23:12 +02:00
claire-lovisa
8773330736 Merge pull request #134 from lblod/hotfix/v1.7.6
Add migration to fix resulting organization
2022-04-14 15:38:28 +02:00
Claire Lovisa
7b160e40de Add migration to fix resulting organization 2022-04-14 15:37:02 +02:00
claire-lovisa
8c26bb1f4e Merge pull request #133 from lblod/hotfix/v1.7.6
Fix change event resulting org and statuses
2022-04-14 14:18:18 +02:00
Claire Lovisa
148a3f3ca7 Fix change event resulting org and statuses 2022-04-14 13:41:33 +02:00
claire-lovisa
7faec6c36b Merge pull request #132 from lblod/hotfix/v1.7.5
Remove some bedinaren
2022-04-14 11:06:59 +02:00
Claire Lovisa
5aaa45c186 Add migration to remove some bedinaren 2022-04-14 10:56:11 +02:00
Claire Lovisa
0c8168b595 Merge branch 'hotfix/v1.7.4' 2022-04-12 15:46:08 +02:00
Claire Lovisa
3f2ff1f1c0 Add migration to update gender codelist 2022-04-12 15:26:41 +02:00
claire-lovisa
074264255c Merge pull request #129 from lblod/hotfix/v1.7.3
Hotfix v1.7.3
2022-04-07 12:12:17 +02:00
Nordine Bittich
1b152e688b fix regression mu search (#128) 2022-04-07 12:03:48 +02:00
claire-lovisa
ba4d24a33e Merge pull request #127 from lblod/fix/status-ckb-melle
Fix status ckb melle
2022-04-06 14:27:32 +02:00
Claire Lovisa
6d492bb1a0 Fix status ckb melle 2022-04-06 14:13:42 +02:00
claire-lovisa
d1ee2a83d2 Merge pull request #125 from lblod/hotfix/reformat-weird-kbos
Add migration to reformat weird kbos
2022-04-01 17:01:51 +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
52 changed files with 539 additions and 13 deletions

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",

View File

@@ -195,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
@@ -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,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

@@ -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" }
# }
# ]
# }
# ]'

View File

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

View File

@@ -0,0 +1,22 @@
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#>
DELETE {
graph ?g {
<http://data.lblod.info/id/bestuursorganen/3703cf09-f9c0-451b-b8b1-e373e1367a85> org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a0701624aefb115b7eda2ff39139c2dd>.
}
}
INSERT {
graph ?g {
<http://data.lblod.info/id/bestuursorganen/3703cf09-f9c0-451b-b8b1-e373e1367a85> org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/04f65457bf125b2dc59fd71917ac3d08>.
}
}WHERE {
graph ?g {
<http://data.lblod.info/id/bestuursorganen/3703cf09-f9c0-451b-b8b1-e373e1367a85> org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a0701624aefb115b7eda2ff39139c2dd>.
}
}

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

@@ -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/"
@@ -756,7 +756,7 @@
},
"worship-service": {
"predicate": "ere:wordtBediendDoor",
"target": "worship-services",
"target": "worship-administrative-units",
"cardinality": "one",
"inverse": true
},

View File

@@ -43,7 +43,7 @@ services:
adressenregister:
restart: "no"
frontend:
image: lblod/frontend-contact-hub:latest
image: lblod/frontend-organization-portal:latest
restart: "no"
uri-info:
restart: "no"

View File

@@ -79,7 +79,7 @@ services:
restart: always
logging: *default-logging
kalliope-api:
image: lblod/jsonld-delta-service:0.5.5
image: lblod/jsonld-delta-service:0.5.6
volumes:
- ./config/kalliope:/config
- ./data/files:/share
@@ -138,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:
@@ -159,7 +159,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-contact-hub:1.6.4-1 # Pre patch (similar to "-beta" but using the convention of release-it)
image: lblod/frontend-organization-portal:1.7.2
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
@@ -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