Compare commits

...

5 Commits

Author SHA1 Message Date
Nordine Bittich
967213c2d3 bump frontend 2022-09-09 12:04:31 +02:00
Claire Lovisa
f7732ef75d Merge branch 'master' into development 2022-09-06 17:29:58 +02:00
Claire Lovisa
431598b75e Bump frontend 2022-09-06 17:19:11 +02:00
Claire Lovisa
7ecd5d2efa Add betrokken lokale besturen to centrale besturen (#167) 2022-09-06 08:34:51 +02:00
Nordine Bittich
787bc9e9c7 cleanup data: delete primary type when it's secondary (#166) 2022-09-05 12:09:46 +02:00
3 changed files with 97 additions and 1 deletions

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#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?secondary
schema:contactType "Primary"
}
}
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,72 @@
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
INSERT {
GRAPH ?g {
?betrokkeLokaleBesturen a ere:BetrokkenLokaleBesturen ;
mu:uuid ?uuidBetrokkeLokaleBesturen ;
ere:financieringspercentage "100"^^xsd:integer ;
org:organization ?worshipAdminUnit ;
ere:typebetrokkenheid <http://lblod.data.gift/concepts/ac400cc9f135ac7873fb3e551ec738c1> .
?bestuurseenheid ere:betrokkenBestuur ?betrokkeLokaleBesturen .
}
} WHERE {
GRAPH ?g {
VALUES ?typeEredienst {
<http://lblod.data.gift/concepts/b13d1d623626bc1ee75c7d20bc60e3c0>
<http://lblod.data.gift/concepts/e8cba1540b35a32e9cb45126c38c03c6>
<http://lblod.data.gift/concepts/1a1abeafc973d27cebcb2d7a15b2d823>
<http://lblod.data.gift/concepts/99536dd6eb0d2ef38a89efafb17e7389>
}
?worshipAdminUnit a ere:CentraalBestuurVanDeEredienst ;
ere:typeEredienst ?typeEredienst ;
<http://www.w3.org/ns/org#hasPrimarySite>/<https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address .
?address <https://data.vlaanderen.be/ns/adres#gemeentenaam> ?gemeente .
?bestuurseenheid a besluit:Bestuurseenheid ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001> ;
skos:prefLabel ?gemeente .
}
BIND(MD5(CONCAT(?bestuurseenheid, 'Betrokken lokale besturen')) as ?uuidBetrokkeLokaleBesturen)
BIND(IRI(CONCAT("http://data.lblod.info/id/betrokkenLokaleBesturen/", ?uuidBetrokkeLokaleBesturen)) AS ?betrokkeLokaleBesturen)
}
;
INSERT {
GRAPH ?g {
?betrokkeLokaleBesturen a ere:BetrokkenLokaleBesturen ;
mu:uuid ?uuidBetrokkeLokaleBesturen ;
ere:financieringspercentage "100"^^xsd:integer ;
org:organization ?worshipAdminUnit ;
ere:typebetrokkenheid <http://lblod.data.gift/concepts/ac400cc9f135ac7873fb3e551ec738c1> .
?bestuurseenheid ere:betrokkenBestuur ?betrokkeLokaleBesturen .
}
} WHERE {
GRAPH ?g {
VALUES ?typeEredienst {
<http://lblod.data.gift/concepts/84bcd6896f575bae4857ff8d2764bed8>
<http://lblod.data.gift/concepts/9d8bd472a00bf0a5c7b7186606365a52>
}
?worshipAdminUnit a ere:CentraalBestuurVanDeEredienst ;
ere:typeEredienst ?typeEredienst ;
<http://www.w3.org/ns/org#hasPrimarySite>/<https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address .
?address <http://www.w3.org/ns/locn#adminUnitL2> ?provincie .
?bestuurseenheid a besluit:Bestuurseenheid ;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000> ;
skos:prefLabel ?provincie .
}
BIND(MD5(CONCAT(?bestuurseenheid, 'Betrokken lokale besturen')) as ?uuidBetrokkeLokaleBesturen)
BIND(IRI(CONCAT("http://data.lblod.info/id/betrokkenLokaleBesturen/", ?uuidBetrokkeLokaleBesturen)) AS ?betrokkeLokaleBesturen)
}

View File

@@ -158,7 +158,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.11.0-2
image: lblod/frontend-organization-portal:1.11.0-4
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment: