Compare commits
49 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3024940172 | ||
|
|
4ede122678 | ||
|
|
e7fd43c0c3 | ||
|
|
eb10f5897d | ||
|
|
f5f9884f4f | ||
|
|
19052da1b0 | ||
|
|
6887ee4451 | ||
|
|
a3e7e43237 | ||
|
|
4f8cc570b4 | ||
|
|
f4cec2cf57 | ||
|
|
22d449fad9 | ||
|
|
ec2482c8ce | ||
|
|
bfc15d7dc4 | ||
|
|
47307103e9 | ||
|
|
c74ced18a9 | ||
|
|
81a2c5bcbc | ||
|
|
71cb867edb | ||
|
|
2810ae60a5 | ||
|
|
b81d1319ed | ||
|
|
ee2830a10f | ||
|
|
c8c33d2c5b | ||
|
|
8753301534 | ||
|
|
d52c5d899e | ||
|
|
8fb620bf7b | ||
|
|
15a372325d | ||
|
|
edcb91433c | ||
|
|
adf006744c | ||
|
|
76a5741996 | ||
|
|
930241fcf3 | ||
|
|
39b6faa310 | ||
|
|
7a6a6ef192 | ||
|
|
504e3d491a | ||
|
|
a75adb7681 | ||
|
|
63a524a0ba | ||
|
|
15e33d39e2 | ||
|
|
ec60003754 | ||
|
|
bb4529cf82 | ||
|
|
9d6a14a81f | ||
|
|
0ba4f16031 | ||
|
|
ba26d24042 | ||
|
|
272f877281 | ||
|
|
8d44366829 | ||
|
|
f821710ea7 | ||
|
|
36484c851b | ||
|
|
7501ce4d4d | ||
|
|
7fc1ea1c29 | ||
|
|
d3751b2352 | ||
|
|
44fe1866ba | ||
|
|
7e84e9092e |
106
CHANGELOG.md
106
CHANGELOG.md
@@ -1,48 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
- Added service to link addresses to addressregister uris [OP-3795]
|
|
||||||
- Derive an organization's reference region(s) from its werkingsgebied; bump scope-of-operation to 0.2.0 [OP-3799]
|
- Derive an organization's reference region(s) from its werkingsgebied; bump scope-of-operation to 0.2.0 [OP-3799]
|
||||||
- Site type changes [OP-3818]
|
- Frontend [v1.40.1], [v1.40.0], [v1.39.0] ,[v1.38.0]
|
||||||
- Frontend [v1.40.1](https://github.com/lblod/frontend-organization-portal/blob/v1.40.1/CHANGELOG.md), [v1.40.0](https://github.com/lblod/frontend-organization-portal/blob/5d2147662f620d420f54b9624a12c42ca2ac964a/CHANGELOG.md#v1400-2026-07-06), [v1.39.0](https://github.com/lblod/frontend-organization-portal/blob/5d2147662f620d420f54b9624a12c42ca2ac964a/CHANGELOG.md#v1390-2026-06-25) ,[v1.38.0](https://github.com/lblod/frontend-organization-portal/blob/5d2147662f620d420f54b9624a12c42ca2ac964a/CHANGELOG.md#v1380-2026-06-12)
|
|
||||||
- Added Juridische vorm [OP-3816] [OP-3820]
|
|
||||||
- Add new organization types (interlokale vereniging, vervoerregioraad, zorgraad, bosgroep, woonmaatschappij); add werkingsgebied (dct:spatial) to registered organizations [OP-3828]
|
- Add new organization types (interlokale vereniging, vervoerregioraad, zorgraad, bosgroep, woonmaatschappij); add werkingsgebied (dct:spatial) to registered organizations [OP-3828]
|
||||||
- Rename generic organization types to "Vereniging algemeen" / "Vennootschap algemeen" [OP-3828]
|
- Rename generic organization types to "Vereniging algemeen" / "Vennootschap algemeen" [OP-3828]
|
||||||
- bump construct-organization-relationships [OP-3810]
|
|
||||||
- "In Oprichting" bestuursorgaan lifecycle [OP-3810]
|
|
||||||
- Added "werkingsgebied" filter [OP-3812]
|
|
||||||
- Inhoudelijk thema [OP-3817]
|
|
||||||
- Werkingsgebied (dct:spatial) for private OCMW associations [OP-3832]
|
- Werkingsgebied (dct:spatial) for private OCMW associations [OP-3832]
|
||||||
- Add a new "Wijkkantoor" site type [OP-3837]
|
|
||||||
- cleanup local involvement herne [OP-3858]
|
|
||||||
- Search organizations by vendor [OP-3808]
|
|
||||||
- Add organization types "Regionaal zorgplatform" (altLabel "Regionale zorgzone") and residual "Andere" [OP-3844]
|
|
||||||
- Move organizations from "Vereniging algemeen" / "Vennootschap algemeen" to "Andere"; delete those codes [OP-3844]
|
|
||||||
- Bump construct-organization-relationships [OP-3844]
|
|
||||||
- Frontend [v1.40.5](https://github.com/lblod/frontend-organization-portal/blob/v1.40.5/CHANGELOG.md) [OP-3844] [OP-3808] [OP-3849]
|
|
||||||
- Consume and serve provenance properties on harvested Worship positions [DL-7437]
|
|
||||||
- Frontend [v1.41.0](https://github.com/lblod/frontend-organization-portal/blob/v1.41.0/CHANGELOG.md) [DL-7438]
|
|
||||||
- Keep werkingsgebied filter up to date via db-cleanup service [OP-3841]
|
|
||||||
- Restrict available imam roles based on worship organisation status [DL-7485]
|
|
||||||
- IMPORTANT NOTE: Make sure first the [DL-7485] loket migration has completed + data has flown from loket to OP
|
|
||||||
- Frontend [v1.41.1](https://github.com/lblod/frontend-organization-portal/blob/v1.41.1/CHANGELOG.md) [DL-7438]
|
|
||||||
- Frontend [v1.42.0](https://github.com/lblod/frontend-organization-portal/blob/a0fb2536afe7019c2943c8312e50648c14249e02/CHANGELOG.md#v1420-2026-08-20)
|
|
||||||
- Fix broken lmb mandataris mappin query [OP-3867]
|
|
||||||
- Add the value politiecollege to the existing dropdown list beslissingsorgaan [DL-7473]
|
|
||||||
- Bump construct-organization-relationships [DL-7473] [OP-3851]
|
|
||||||
- fix duplicate van rechtswege/grote helft mandates [OP-3851]
|
|
||||||
- IMPORTANT NOTE: Make sure first the loket migration has completed + data has flown from loket to OP
|
|
||||||
- Add missing headers to identifier calls
|
|
||||||
- Add columns to administrative units report [OP-3835]
|
|
||||||
- Added "Wijziging werkingsgebied" change event [OP-3905]
|
|
||||||
- Frontend [v1.43.0](https://github.com/lblod/frontend-organization-portal/blob/v1.43.0/CHANGELOG.md)
|
|
||||||
|
|
||||||
### Deploy notes
|
### Deploy notes
|
||||||
```
|
|
||||||
drc up -d link-adressenregister-uri frontend construct-organization-relationships identifier
|
|
||||||
drc restart resource migrations dispatcher
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
drc restart migrations
|
drc restart migrations
|
||||||
drc up -d frontend scope-of-operation
|
drc up -d frontend scope-of-operation
|
||||||
@@ -51,8 +15,6 @@ drc restart cache resource
|
|||||||
|
|
||||||
```
|
```
|
||||||
drc pull construct-organization-relationships && drc up -d construct-organization-relationships
|
drc pull construct-organization-relationships && drc up -d construct-organization-relationships
|
||||||
drc restart migrations
|
|
||||||
drc restart resource cache
|
|
||||||
drc restart delta-producer-publication-graph-maintainer
|
drc restart delta-producer-publication-graph-maintainer
|
||||||
scripts/reset-elastic.sh
|
scripts/reset-elastic.sh
|
||||||
drc restart migrations frontend db resource cache
|
drc restart migrations frontend db resource cache
|
||||||
@@ -61,41 +23,6 @@ drc restart migrations frontend db resource cache
|
|||||||
drc restart migrations search
|
drc restart migrations search
|
||||||
drc up -d frontend
|
drc up -d frontend
|
||||||
```
|
```
|
||||||
```
|
|
||||||
drc restart migrations
|
|
||||||
drc restart db-cleanup
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
# requires frontend >= 1.40.5 and construct-organization-relationships >= 1.1.4 (both bumped in compose here)
|
|
||||||
drc pull construct-organization-relationships && drc up -d construct-organization-relationships
|
|
||||||
drc restart migrations-triggering-indexing
|
|
||||||
drc up -d frontend
|
|
||||||
drc restart cache resource
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
drc restart migrations resource delta-producer-publication-graph-maintainer
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
drc restart migrations mandatarissen-consumer
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
drc restart migrations report-generation resource cache
|
|
||||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
|
|
||||||
drc up -d construct-organization-relationships frontend
|
|
||||||
```
|
|
||||||
|
|
||||||
## v1.41.3
|
|
||||||
- Fix betrokken lokale besturen links via migration [OP-3882]
|
|
||||||
|
|
||||||
### Deploy notes
|
|
||||||
```
|
|
||||||
drc restart migrations
|
|
||||||
drc restart cache resource
|
|
||||||
```
|
|
||||||
|
|
||||||
## v1.41.2
|
## v1.41.2
|
||||||
- Fix betrokken lokale besturen links via migration [OP-3877]
|
- Fix betrokken lokale besturen links via migration [OP-3877]
|
||||||
@@ -108,7 +35,36 @@ Then:
|
|||||||
```
|
```
|
||||||
drc up -d error-alert delta-producer-background-jobs-initiator
|
drc up -d error-alert delta-producer-background-jobs-initiator
|
||||||
drc restart migrations
|
drc restart migrations
|
||||||
drc restart resource cache
|
drc restart cache resource
|
||||||
|
```
|
||||||
|
|
||||||
|
## v1.41.1
|
||||||
|
- Added service to link addresses to addressregister uris [OP-3795]
|
||||||
|
- Site type changes [OP-3818]
|
||||||
|
- Added Juridische vorm [OP-3816] [OP-3820]
|
||||||
|
- Frontend [v1.40.4-1]
|
||||||
|
- bump construct-organization-relationships [OP-3810]
|
||||||
|
- "In Oprichting" bestuursorgaan lifecycle [OP-3810]
|
||||||
|
- Added "werkingsgebied" filter [OP-3812]
|
||||||
|
- Inhoudelijk thema [OP-3817]
|
||||||
|
- Add a new "Wijkkantoor" site type [OP-3837]
|
||||||
|
- cleanup local involvement herne [OP-3858]
|
||||||
|
|
||||||
|
### Deploy notes
|
||||||
|
```
|
||||||
|
drc up -d link-adressenregister-uri frontend construct-organization-relationships
|
||||||
|
drc restart resource migrations dispatcher
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
drc restart migrations
|
||||||
|
drc restart cache resource
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
drc restart migrations frontend db resource cache
|
||||||
|
# reindex elastic search:
|
||||||
|
/bin/bash scripts/reset-elastic.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## v1.41.0
|
## v1.41.0
|
||||||
|
|||||||
@@ -8,10 +8,10 @@ CONSTRUCT {
|
|||||||
?p ?o.
|
?p ?o.
|
||||||
|
|
||||||
?orgaanInTime <http://www.w3.org/ns/org#hasPost> ?mandate ;
|
?orgaanInTime <http://www.w3.org/ns/org#hasPost> ?mandate ;
|
||||||
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
|
<http://data.vlaanderen.be/ns/mandaat#isTijdspecialisatieVan> ?orgaan .
|
||||||
|
|
||||||
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
|
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
|
||||||
?bestuur <http://www.w3.org/ns/org#classification> ?classification .
|
?bestuur <http://data.vlaanderen.be/ns/besluit#classificatie> ?classification .
|
||||||
|
|
||||||
|
|
||||||
FILTER(?classification IN (
|
FILTER(?classification IN (
|
||||||
|
|||||||
@@ -7,12 +7,7 @@ CONSTRUCT {
|
|||||||
FILTER (?p IN (
|
FILTER (?p IN (
|
||||||
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>,
|
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>,
|
||||||
<http://mu.semte.ch/vocabularies/core/uuid>,
|
<http://mu.semte.ch/vocabularies/core/uuid>,
|
||||||
<http://xmlns.com/foaf/0.1/familyName>,
|
<http://xmlns.com/foaf/0.1/familyName>
|
||||||
<http://www.w3.org/2002/07/owl#sameAs>,
|
|
||||||
<http://www.w3.org/ns/prov#wasGeneratedBy>,
|
|
||||||
<http://www.w3.org/ns/prov#wasAssociatedWith>,
|
|
||||||
<http://redpencil.data.gift/vocabularies/tasks/modifiedOn>,
|
|
||||||
<http://redpencil.data.gift/vocabularies/tasks/modifiedBy>
|
|
||||||
))
|
))
|
||||||
|
|
||||||
FILTER NOT EXISTS {
|
FILTER NOT EXISTS {
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
"graphsFilter": ["http://mu.semte.ch/graphs/administrative-unit"],
|
"graphsFilter": ["http://mu.semte.ch/graphs/administrative-unit"],
|
||||||
"properties": [
|
"properties": [
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||||
"http://purl.org/dc/terms/spatial",
|
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||||
"http://www.w3.org/2002/07/owl#sameAs",
|
"http://www.w3.org/2002/07/owl#sameAs",
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||||
|
|||||||
@@ -240,7 +240,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [
|
"properties": [
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||||
"http://purl.org/dc/terms/spatial",
|
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||||
"http://www.w3.org/2002/07/owl#sameAs",
|
"http://www.w3.org/2002/07/owl#sameAs",
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||||
|
|||||||
@@ -126,7 +126,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [
|
"properties": [
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||||
"http://purl.org/dc/terms/spatial",
|
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||||
"http://www.w3.org/2002/07/owl#sameAs",
|
"http://www.w3.org/2002/07/owl#sameAs",
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||||
@@ -535,8 +535,7 @@
|
|||||||
],
|
],
|
||||||
"properties": [
|
"properties": [
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||||
"http://data.lblod.info/vocabularies/erediensten/vanToepassingBijStatus"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -235,10 +235,6 @@ defmodule Dispatcher do
|
|||||||
Proxy.forward(conn, path, "http://cache/membership-roles/")
|
Proxy.forward(conn, path, "http://cache/membership-roles/")
|
||||||
end
|
end
|
||||||
|
|
||||||
match "/vendors/*path", %{accept: [:json], layer: :api} do
|
|
||||||
Proxy.forward(conn, path, "http://cache/vendors/")
|
|
||||||
end
|
|
||||||
|
|
||||||
# There is currently no logic to invalidate the kboOrganization cache when wegwijse updates the content
|
# There is currently no logic to invalidate the kboOrganization cache when wegwijse updates the content
|
||||||
match "/kbo-organizations/*path", %{accept: [:any], layer: :api} do
|
match "/kbo-organizations/*path", %{accept: [:any], layer: :api} do
|
||||||
Proxy.forward(conn, path, "http://resource/kbo-organizations/")
|
Proxy.forward(conn, path, "http://resource/kbo-organizations/")
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
PREFIX scheme: <http://data.vlaanderen.be/id/conceptscheme/>
|
|
||||||
|
|
||||||
INSERT DATA {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/e3afe092-6ca6-4685-94c6-1ee20811efc4>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
mu:uuid "e3afe092-6ca6-4685-94c6-1ee20811efc4" ;
|
|
||||||
skos:prefLabel "Regionaal zorgplatform" ;
|
|
||||||
skos:altLabel "Regionale zorgzone" ;
|
|
||||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
mu:uuid "7a199d27-31c3-44bb-a58f-b3a64673a8b6" ;
|
|
||||||
skos:prefLabel "Andere" ;
|
|
||||||
skos:definition "Restcategorie: geregistreerde organisatie die niet onder een van de andere classificaties valt." ;
|
|
||||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
|
|
||||||
# All graphs authorized for regorg:RegisteredOrganization (see config/authorization/config.lisp),
|
|
||||||
# so no dangling org:classification survives the code deletion in the next migration.
|
|
||||||
DELETE {
|
|
||||||
GRAPH ?g { ?org org:classification ?legacy . }
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
VALUES ?g {
|
|
||||||
<http://mu.semte.ch/graphs/administrative-unit>
|
|
||||||
<http://mu.semte.ch/graphs/shared>
|
|
||||||
<http://mu.semte.ch/graphs/worship-service>
|
|
||||||
}
|
|
||||||
VALUES ?legacy {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
|
|
||||||
}
|
|
||||||
GRAPH ?g { ?org org:classification ?legacy . }
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
VALUES ?code {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
|
|
||||||
}
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
http://mu.semte.ch/graphs/public
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# New organization classification codes (ticket: new org types).
|
|
||||||
# prefLabel = technically-correct org name; altLabel = colloquial werkingsgebied term.
|
|
||||||
# URIs under data.vlaanderen.be/id/concept/<Family>/<uuid> (to be published upstream) - matches existing codes.
|
|
||||||
# Each code is inScheme its family scheme AND the public-export scheme (10caf4a4) = the export switch.
|
|
||||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
||||||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
||||||
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
|
|
||||||
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
|
|
||||||
@prefix code: <http://lblod.data.gift/vocabularies/organisatie/> .
|
|
||||||
@prefix scheme: <http://data.vlaanderen.be/id/conceptscheme/> .
|
|
||||||
|
|
||||||
# --- BestuurseenheidClassificatieCode (besluit:Bestuurseenheid) ---
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/3a2649ef-7345-4d3a-8709-f89fc9b44f58>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , code:BestuurseenheidClassificatieCode ;
|
|
||||||
mu:uuid "3a2649ef-7345-4d3a-8709-f89fc9b44f58" ;
|
|
||||||
skos:prefLabel "Interlokale vereniging" ;
|
|
||||||
skos:topConceptOf scheme:BestuurseenheidClassificatieCode ;
|
|
||||||
skos:inScheme scheme:BestuurseenheidClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/b2133b86-24f0-44f0-9d10-5b4c7f944a9d>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , code:BestuurseenheidClassificatieCode ;
|
|
||||||
mu:uuid "b2133b86-24f0-44f0-9d10-5b4c7f944a9d" ;
|
|
||||||
skos:prefLabel "Vervoerregioraad" ;
|
|
||||||
skos:altLabel "Vervoerregio" ; # Modelled as the werkingsgebied of a Vervoerregioraad, but colloquially known as a Vervoerregio.
|
|
||||||
skos:topConceptOf scheme:BestuurseenheidClassificatieCode ;
|
|
||||||
skos:inScheme scheme:BestuurseenheidClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
# --- GeregistreerdeOrganisatieClassificatieCode (regorg:RegisteredOrganization) ---
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/8392b885-a875-4b0d-b6a2-b52e53bda454>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
mu:uuid "8392b885-a875-4b0d-b6a2-b52e53bda454" ;
|
|
||||||
skos:prefLabel "Zorgraad" ;
|
|
||||||
skos:altLabel "Eerstelijnszone" ; # Modelled as the werkingsgebied of a Zorgraad, but colloquially known as an Eerstelijnszone.
|
|
||||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b22948f9-e695-4f24-a530-b6bf3af3b37f>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
mu:uuid "b22948f9-e695-4f24-a530-b6bf3af3b37f" ;
|
|
||||||
skos:prefLabel "Bosgroep" ;
|
|
||||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/f4e5bb57-1007-4397-828b-b34bbf1e760d>
|
|
||||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
mu:uuid "f4e5bb57-1007-4397-828b-b34bbf1e760d" ;
|
|
||||||
skos:prefLabel "Woonmaatschappij" ;
|
|
||||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
|
||||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
http://mu.semte.ch/graphs/public
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
# Governing body (bestuursorgaan) + mandate (bestuursfunctie) codes for the Vervoerregioraad.
|
|
||||||
# The vervoerregioraad is itself the deliberative organ (no AV/RvB substructure); members + a
|
|
||||||
# (dual) voorzitter. URIs under data.vlaanderen.be (to be published), matching existing codes.
|
|
||||||
# NOTE (business to confirm): exact role set + the dual voorzitterschap (gemeente-vertegenwoordiger
|
|
||||||
# + Departement MOW) — modeled here as a single Voorzitter + Lid.
|
|
||||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
||||||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
||||||
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
|
|
||||||
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
|
|
||||||
@prefix code: <http://lblod.data.gift/vocabularies/organisatie/> .
|
|
||||||
@prefix scheme: <http://data.vlaanderen.be/id/conceptscheme/> .
|
|
||||||
|
|
||||||
# --- Bestuursorgaan: the Vervoerregioraad itself ---
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a04a5fb1-b79c-4b8d-a664-c5410d466d49>
|
|
||||||
rdf:type code:BestuursorgaanClassificatieCode , skos:Concept , ext:BestuursorgaanClassificatieCode ;
|
|
||||||
mu:uuid "a04a5fb1-b79c-4b8d-a664-c5410d466d49" ;
|
|
||||||
skos:prefLabel "Vervoerregioraad" ;
|
|
||||||
skos:inScheme <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
# --- Bestuursfunctie codes (mandate roles) applying to the Vervoerregioraad ---
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/540f3be6-73ed-4935-9de7-30997bab379c>
|
|
||||||
rdf:type code:BestuursfunctieCode ;
|
|
||||||
mu:uuid "540f3be6-73ed-4935-9de7-30997bab379c" ;
|
|
||||||
skos:prefLabel "Voorzitter van de vervoerregioraad" ;
|
|
||||||
ext:appliesTo <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a04a5fb1-b79c-4b8d-a664-c5410d466d49> ;
|
|
||||||
skos:topConceptOf scheme:BestuursfunctieCode ;
|
|
||||||
skos:inScheme scheme:BestuursfunctieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuursfunctieCode/1093c55c-84d5-424b-980e-8b2ca32dc445>
|
|
||||||
rdf:type code:BestuursfunctieCode ;
|
|
||||||
mu:uuid "1093c55c-84d5-424b-980e-8b2ca32dc445" ;
|
|
||||||
skos:prefLabel "Lid van de vervoerregioraad" ;
|
|
||||||
ext:appliesTo <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/a04a5fb1-b79c-4b8d-a664-c5410d466d49> ;
|
|
||||||
skos:topConceptOf scheme:BestuursfunctieCode ;
|
|
||||||
skos:inScheme scheme:BestuursfunctieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7> <http://www.w3.org/2004/02/skos/core#prefLabel> ?oldLabel.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7> <http://www.w3.org/2004/02/skos/core#prefLabel> "Vereniging algemeen".
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7> <http://www.w3.org/2004/02/skos/core#prefLabel> ?oldLabel.
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61> <http://www.w3.org/2004/02/skos/core#prefLabel> ?oldLabel.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61> <http://www.w3.org/2004/02/skos/core#prefLabel> "Vennootschap algemeen".
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61> <http://www.w3.org/2004/02/skos/core#prefLabel> ?oldLabel.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
|
|
||||||
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX dct: <http://purl.org/dc/terms/>
|
|
||||||
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?org dct:spatial ?werkingsgebied .
|
|
||||||
}
|
|
||||||
} WHERE {
|
|
||||||
VALUES ?classification {
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/82250452-83a0-48f4-89cc-b430320493ce>
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/35833ba2-7371-400b-8df2-2912f66fb153>
|
|
||||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/82fd21dc-e8bb-4d13-a010-f4a12358ef10>
|
|
||||||
}
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?org org:classification ?classification ;
|
|
||||||
org:hasPrimarySite ?site .
|
|
||||||
?site organisatie:bestaatUit ?address .
|
|
||||||
?address adres:gemeentenaam ?municipalityName .
|
|
||||||
}
|
|
||||||
FILTER NOT EXISTS {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?org dct:spatial ?existing .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
|
||||||
?municipality org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001> ;
|
|
||||||
skos:prefLabel ?municipalityName .
|
|
||||||
}
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?municipality besluit:werkingsgebied ?werkingsgebied .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
|
||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
|
|
||||||
# Deduplicate islamitisch minister positions: if an eredienstbestuur has more
|
|
||||||
# than one position for the same function (e.g. 2 "Waarnemende Imam"), keep
|
|
||||||
# only one - deterministically the lowest-URI position - and drop the rest
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService ere:wordtBediendDoor ?position .
|
|
||||||
?position ?p ?o .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService a ere:BestuurVanDeEredienst ;
|
|
||||||
ere:typeEredienst <http://lblod.data.gift/concepts/9d8bd472a00bf0a5c7b7186606365a52> ; # Islamitisch
|
|
||||||
ere:wordtBediendDoor ?position .
|
|
||||||
|
|
||||||
?position ?p ?o ;
|
|
||||||
ere:functie ?functie .
|
|
||||||
|
|
||||||
{
|
|
||||||
SELECT ?worshipService ?functie (IRI(MIN(STR(?anyPosition))) AS ?keptPosition) WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService ere:wordtBediendDoor ?anyPosition .
|
|
||||||
?anyPosition ere:functie ?functie .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
GROUP BY ?worshipService ?functie
|
|
||||||
}
|
|
||||||
|
|
||||||
FILTER(?position != ?keptPosition)
|
|
||||||
FILTER NOT EXISTS { ?anyMinister org:holds ?position }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
;
|
|
||||||
|
|
||||||
# Create any of the 4 islamitisch minister positions (Waarnemende Imam, Eerste/
|
|
||||||
# Tweede/Derde Imam in rang) that a worship service is missing, so every
|
|
||||||
# islamitisch eredienstbestuur always has all 4 positions, regardless of its
|
|
||||||
# current status.
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService ere:wordtBediendDoor ?newMinisterPosition .
|
|
||||||
|
|
||||||
?newMinisterPosition a org:Post , ere:PositieBedienaar ;
|
|
||||||
mu:uuid ?uuidNewMinisterPosition ;
|
|
||||||
ere:functie ?functie .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService a ere:BestuurVanDeEredienst ;
|
|
||||||
ere:typeEredienst <http://lblod.data.gift/concepts/9d8bd472a00bf0a5c7b7186606365a52> . # Islamitisch
|
|
||||||
|
|
||||||
VALUES ?functie {
|
|
||||||
<http://lblod.data.gift/concepts/7d8e0c15-7726-4196-9416-6dc40ed858bb> # Waarnemende Imam
|
|
||||||
<http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22> # Eerste Imam in rang
|
|
||||||
<http://lblod.data.gift/concepts/c4a3fd586211b17b06f574885e23f355> # Tweede Imam in rang
|
|
||||||
<http://lblod.data.gift/concepts/5ebb798bd59c3b48c25116032caa02b7> # Derde Imam in rang
|
|
||||||
}
|
|
||||||
|
|
||||||
FILTER NOT EXISTS {
|
|
||||||
?worshipService ere:wordtBediendDoor ?ministerPosition .
|
|
||||||
?ministerPosition ere:functie ?functie .
|
|
||||||
}
|
|
||||||
|
|
||||||
BIND(MD5(CONCAT(?worshipService, ?functie, "fix-islam-imam-roles-by-status")) as ?uuidNewMinisterPosition)
|
|
||||||
BIND(IRI(CONCAT("http://data.lblod.info/id/positiesBedienaar/", ?uuidNewMinisterPosition)) AS ?newMinisterPosition)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
|
||||||
|
|
||||||
INSERT DATA {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://lblod.data.gift/concepts/7d8e0c15-7726-4196-9416-6dc40ed858bb> # Waarnemende Imam
|
|
||||||
ere:vanToepassingBijStatus <http://lblod.data.gift/concepts/abf4fee82019f88cf122f986830621ab> . # In Oprichting
|
|
||||||
|
|
||||||
<http://lblod.data.gift/concepts/e357bc8f4cc3a694fde2239748768a22> # Eerste Imam in rang
|
|
||||||
ere:vanToepassingBijStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
|
||||||
|
|
||||||
<http://lblod.data.gift/concepts/c4a3fd586211b17b06f574885e23f355> # Tweede Imam in rang
|
|
||||||
ere:vanToepassingBijStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
|
||||||
|
|
||||||
<http://lblod.data.gift/concepts/5ebb798bd59c3b48c25116032caa02b7> # Derde Imam in rang
|
|
||||||
ere:vanToepassingBijStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
http://mu.semte.ch/graphs/public
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
@prefix cleanup: <http://mu.semte.ch/vocabularies/ext/cleanup/> .
|
|
||||||
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
|
|
||||||
@prefix dcterms: <http://purl.org/dc/terms/> .
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/cleanup-job/db1e677e-fc84-47b1-8204-020ce139cfbb> a cleanup:Job ;
|
|
||||||
mu:uuid "db1e677e-fc84-47b1-8204-020ce139cfbb" ;
|
|
||||||
dcterms:title "Adding new werkingsgebieden to codelist" ;
|
|
||||||
cleanup:randomQuery """
|
|
||||||
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX prov: <http://www.w3.org/ns/prov#>
|
|
||||||
PREFIX core: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
?uri a skos:Concept ;
|
|
||||||
skos:inScheme <http://lblod.data.gift/concept-schemes/3307738e-f84d-4f95-9b14-3e9162d83394> ;
|
|
||||||
core:uuid ?uuid ;
|
|
||||||
skos:prefLabel ?label .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
?sub besluit:werkingsgebied ?uri .
|
|
||||||
|
|
||||||
?uri a prov:Location ;
|
|
||||||
core:uuid ?uuid ;
|
|
||||||
rdfs:label ?label ;
|
|
||||||
ext:werkingsgebiedNiveau "Gemeente" .
|
|
||||||
|
|
||||||
FILTER NOT EXISTS {
|
|
||||||
?existingConcept a skos:Concept ;
|
|
||||||
core:uuid ?uuid ;
|
|
||||||
skos:inScheme <http://lblod.data.gift/concept-schemes/3307738e-f84d-4f95-9b14-3e9162d83394> .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
""" .
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/cleanup-job/6061ca0c-12d8-4fb7-9c24-511e21ab7e0e> a cleanup:Job ;
|
|
||||||
mu:uuid "6061ca0c-12d8-4fb7-9c24-511e21ab7e0e" ;
|
|
||||||
dcterms:title "Updating werkingsgebieden labels from codelist" ;
|
|
||||||
cleanup:randomQuery """
|
|
||||||
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX prov: <http://www.w3.org/ns/prov#>
|
|
||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
?uri skos:prefLabel ?oldLabel .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
?uri skos:prefLabel ?newLabel .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
?sub besluit:werkingsgebied ?uri .
|
|
||||||
|
|
||||||
?uri a prov:Location ;
|
|
||||||
rdfs:label ?newLabel ;
|
|
||||||
ext:werkingsgebiedNiveau "Gemeente" .
|
|
||||||
|
|
||||||
?uri a skos:Concept ;
|
|
||||||
skos:inScheme <http://lblod.data.gift/concept-schemes/3307738e-f84d-4f95-9b14-3e9162d83394> ;
|
|
||||||
skos:prefLabel ?oldLabel .
|
|
||||||
|
|
||||||
FILTER(STR(?oldLabel) != STR(?newLabel))
|
|
||||||
}
|
|
||||||
""" .
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
http://mu.semte.ch/graphs/public
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
||||||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
||||||
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
|
|
||||||
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
|
|
||||||
@prefix code: <http://lblod.data.gift/vocabularies/organisatie/> .
|
|
||||||
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/4f82dfea-0581-43d4-b672-3bdb261d2d33>
|
|
||||||
rdf:type code:BestuursorgaanClassificatieCode , skos:Concept , ext:BestuursorgaanClassificatieCode ;
|
|
||||||
mu:uuid "4f82dfea-0581-43d4-b672-3bdb261d2d33" ;
|
|
||||||
skos:prefLabel "Politiecollege" ;
|
|
||||||
skos:inScheme <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
||||||
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?timedBody mandaat:bindingEinde "2026-07-02T00:00:00"^^xsd:dateTime .
|
|
||||||
}
|
|
||||||
} WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?politiezone a besluit:Bestuurseenheid ;
|
|
||||||
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/a3922c6d-425b-474f-9a02-ffb71a436bfc> . # Politiezone
|
|
||||||
?governingBody besluit:bestuurt ?politiezone ;
|
|
||||||
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/1afce932-53c1-46d8-8aab-90dcc331e67d> . # Politieraad
|
|
||||||
?timedBody generiek:isTijdspecialisatieVan ?governingBody .
|
|
||||||
FILTER NOT EXISTS { ?timedBody mandaat:bindingEinde ?endDate . }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?newGoverningBody a besluit:Bestuursorgaan ;
|
|
||||||
mu:uuid ?newGoverningBodyUuid ;
|
|
||||||
skos:prefLabel ?newGoverningBodyLabel ;
|
|
||||||
besluit:bestuurt ?politiezone ;
|
|
||||||
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/4f82dfea-0581-43d4-b672-3bdb261d2d33> . # Politiecollege
|
|
||||||
?newTimedGoverningBody a besluit:Bestuursorgaan ;
|
|
||||||
mu:uuid ?newTimedGoverningBodyUuid ;
|
|
||||||
generiek:isTijdspecialisatieVan ?newGoverningBody ;
|
|
||||||
mandaat:bindingStart "2026-07-02T00:00:00"^^xsd:dateTime .
|
|
||||||
}
|
|
||||||
} WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?politiezone a besluit:Bestuurseenheid ;
|
|
||||||
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/a3922c6d-425b-474f-9a02-ffb71a436bfc> ; # Politiezone
|
|
||||||
mu:uuid ?politiezoneUuid ;
|
|
||||||
skos:prefLabel ?politiezoneLabel .
|
|
||||||
?oldGoverningBody besluit:bestuurt ?politiezone ;
|
|
||||||
org:classification <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/1afce932-53c1-46d8-8aab-90dcc331e67d> . # Politieraad
|
|
||||||
}
|
|
||||||
BIND(CONCAT("Politiecollege ", ?politiezoneLabel) AS ?newGoverningBodyLabel)
|
|
||||||
BIND(SHA256(CONCAT("politiecollege-", STR(?politiezoneUuid))) AS ?newGoverningBodyUuid)
|
|
||||||
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?newGoverningBodyUuid))) AS ?newGoverningBody)
|
|
||||||
BIND(SHA256(CONCAT("politiecollege-timed-", STR(?politiezoneUuid))) AS ?newTimedGoverningBodyUuid)
|
|
||||||
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?newTimedGoverningBodyUuid))) AS ?newTimedGoverningBody)
|
|
||||||
}
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
# Delete duplicate van rechtswege mandaten per governing body
|
|
||||||
# Must be run AFTER the corresponding loket migration
|
|
||||||
|
|
||||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?orgaanInTime org:hasPost ?mandaat .
|
|
||||||
?mandaat ?p ?o .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?orgaanInTime org:hasPost ?canonicalMandaat .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService a ere:BestuurVanDeEredienst .
|
|
||||||
?orgaan besluit:bestuurt ?worshipService .
|
|
||||||
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
|
|
||||||
org:hasPost ?mandaat .
|
|
||||||
?mandaat org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5972fccd87f864c4ec06bfbd20b5008b> ;
|
|
||||||
?p ?o .
|
|
||||||
|
|
||||||
FILTER NOT EXISTS { ?holder org:holds ?mandaat . }
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
SELECT ?orgaan (IRI(MIN(STR(?anyMandaat))) AS ?canonicalMandaat) WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?anyOrgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
|
|
||||||
org:hasPost ?anyMandaat .
|
|
||||||
?anyMandaat org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5972fccd87f864c4ec06bfbd20b5008b> .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
GROUP BY ?orgaan
|
|
||||||
}
|
|
||||||
|
|
||||||
FILTER(?mandaat != ?canonicalMandaat)
|
|
||||||
}
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
# Delete duplicate grote helft mandaten within a single election cycle period
|
|
||||||
# Must be run AFTER the corresponding loket migration
|
|
||||||
|
|
||||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?orgaanInTime org:hasPost ?mandaat .
|
|
||||||
?mandaat ?p ?o .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?orgaanInTime org:hasPost ?canonicalMandaat .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?worshipService a ere:BestuurVanDeEredienst .
|
|
||||||
?orgaan besluit:bestuurt ?worshipService .
|
|
||||||
?orgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
|
|
||||||
mandaat:bindingStart ?start ;
|
|
||||||
org:hasPost ?mandaat .
|
|
||||||
?mandaat org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> ;
|
|
||||||
?p ?o .
|
|
||||||
|
|
||||||
FILTER NOT EXISTS { ?holder org:holds ?mandaat . }
|
|
||||||
}
|
|
||||||
|
|
||||||
BIND(YEAR(?start) AS ?startYear)
|
|
||||||
VALUES (?startYear ?pairIndex) {
|
|
||||||
(2017 0)
|
|
||||||
(2020 1)
|
|
||||||
(2023 1)
|
|
||||||
(2026 2)
|
|
||||||
(2029 2)
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
SELECT ?orgaan ?pairIndex (IRI(MIN(STR(?anyMandaat))) AS ?canonicalMandaat) WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?anyOrgaanInTime generiek:isTijdspecialisatieVan ?orgaan ;
|
|
||||||
mandaat:bindingStart ?anyStart ;
|
|
||||||
org:hasPost ?anyMandaat .
|
|
||||||
?anyMandaat org:role <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/a8b5509b-f86b-48f8-94d6-fe463a9b77e3> .
|
|
||||||
}
|
|
||||||
|
|
||||||
BIND(YEAR(?anyStart) AS ?anyStartYear)
|
|
||||||
VALUES (?anyStartYear ?pairIndex) {
|
|
||||||
(2017 0)
|
|
||||||
(2020 1)
|
|
||||||
(2023 1)
|
|
||||||
(2026 2)
|
|
||||||
(2029 2)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
GROUP BY ?orgaan ?pairIndex
|
|
||||||
}
|
|
||||||
|
|
||||||
FILTER(?mandaat != ?canonicalMandaat)
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
|
||||||
?s ?p ?o.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/landing-zone/mandatarissen> {
|
|
||||||
?s a mandaat:Mandataris;
|
|
||||||
org:holds ?mandate;
|
|
||||||
?p ?o.
|
|
||||||
}
|
|
||||||
|
|
||||||
?orgaanInTime org:hasPost ?mandate ;
|
|
||||||
generiek:isTijdspecialisatieVan ?orgaan .
|
|
||||||
|
|
||||||
?orgaan besluit:bestuurt ?bestuur .
|
|
||||||
?bestuur org:classification ?classification .
|
|
||||||
|
|
||||||
FILTER(?classification IN (
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000>,
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>,
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002>,
|
|
||||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000003>
|
|
||||||
))
|
|
||||||
|
|
||||||
FILTER (?p NOT IN (mandaat:start, mandaat:einde))
|
|
||||||
|
|
||||||
FILTER NOT EXISTS {
|
|
||||||
?s ?p "" .
|
|
||||||
}
|
|
||||||
|
|
||||||
FILTER NOT EXISTS {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> { ?s org:holds ?mandate }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
|
||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX org: <http://www.w3.org/ns/org#>
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
|
||||||
?betrokkenLokaleBesturen ?p ?o .
|
|
||||||
}
|
|
||||||
} WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
|
||||||
VALUES ?worshipService {
|
|
||||||
<http://data.lblod.info/id/besturenVanDeEredienst/6A5624A4174153E0CE6F0423>
|
|
||||||
}
|
|
||||||
|
|
||||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
|
||||||
?betrokkenLokaleBesturen ere:typebetrokkenheid <http://lblod.data.gift/concepts/0f845f00ee76099c89518cbaf6a7b77f> ;
|
|
||||||
org:organization ?worshipService ;
|
|
||||||
?p ?o .
|
|
||||||
|
|
||||||
FILTER (?bestuur != <http://data.lblod.info/id/bestuurseenheden/670db1d66c0de3b931962e1044033ccfa9d6e3023aa9828a5f252c3bc69bd32c>)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
INSERT DATA {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://lblod.data.gift/concepts/09ec81e1-2d5a-49dd-a4bc-7c2594108b60>
|
|
||||||
a <http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis> ;
|
|
||||||
<http://mu.semte.ch/vocabularies/core/uuid> "09ec81e1-2d5a-49dd-a4bc-7c2594108b60" ;
|
|
||||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "Wijziging werkingsgebied" ;
|
|
||||||
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> ,
|
|
||||||
<http://lblod.data.gift/concept-schemes/e1ff33ee76b5662ec8486f0e2abec384> ;
|
|
||||||
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://lblod.data.gift/concept-schemes/e1ff33ee76b5662ec8486f0e2abec384> .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -18,18 +18,13 @@ export default {
|
|||||||
|
|
||||||
SELECT DISTINCT
|
SELECT DISTINCT
|
||||||
?Bestuurseenheid
|
?Bestuurseenheid
|
||||||
?JuridischeNaam
|
|
||||||
?AlternatieveNaam
|
|
||||||
?Classificatie
|
?Classificatie
|
||||||
?Status
|
?Status
|
||||||
?KBO_nr
|
?KBO_nr
|
||||||
?OVO_nr
|
?OVO_nr
|
||||||
?Sharepoint_id
|
?Sharepoint_id
|
||||||
?NIS_code
|
?NIS_code
|
||||||
?JuridischeVorm
|
|
||||||
?Regio
|
?Regio
|
||||||
?Werkingsgebied
|
|
||||||
?GeplandeEinddatum
|
|
||||||
?Provincie
|
?Provincie
|
||||||
?Straat
|
?Straat
|
||||||
?Huisnummer
|
?Huisnummer
|
||||||
@@ -53,31 +48,7 @@ export default {
|
|||||||
a ?type.
|
a ?type.
|
||||||
OPTIONAL { ?BestuurseenheidURI skos:prefLabel ?Bestuurseenheid . }
|
OPTIONAL { ?BestuurseenheidURI skos:prefLabel ?Bestuurseenheid . }
|
||||||
OPTIONAL { ?BestuurseenheidURI org:classification/skos:prefLabel ?Classificatie. }
|
OPTIONAL { ?BestuurseenheidURI org:classification/skos:prefLabel ?Classificatie. }
|
||||||
OPTIONAL { ?BestuurseenheidURI regorg:legalName ?JuridischeNaam. }
|
|
||||||
OPTIONAL { ?BestuurseenheidURI organisatie:rechtsvorm/skos:prefLabel ?JuridischeVorm. }
|
|
||||||
OPTIONAL { ?BestuurseenheidURI lblodgeneriek:geplandeEindDatum ?GeplandeEinddatum. }
|
|
||||||
|
|
||||||
OPTIONAL {
|
|
||||||
SELECT ?BestuurseenheidURI (GROUP_CONCAT(DISTINCT ?altLabelValue; separator=", ") AS ?AlternatieveNaam)
|
|
||||||
WHERE {
|
|
||||||
?BestuurseenheidURI skos:altLabel ?altLabelValue .
|
|
||||||
}
|
|
||||||
GROUP BY ?BestuurseenheidURI
|
|
||||||
}
|
|
||||||
|
|
||||||
OPTIONAL {
|
|
||||||
SELECT ?BestuurseenheidURI (GROUP_CONCAT(DISTINCT ?scopeLabel; separator=", ") AS ?Werkingsgebied)
|
|
||||||
WHERE {
|
|
||||||
{
|
|
||||||
?BestuurseenheidURI besluit:werkingsgebied ?scopeURI .
|
|
||||||
} UNION {
|
|
||||||
?BestuurseenheidURI dc_terms:spatial ?scopeURI .
|
|
||||||
}
|
|
||||||
?scopeURI rdfs:label ?scopeLabel .
|
|
||||||
}
|
|
||||||
GROUP BY ?BestuurseenheidURI
|
|
||||||
}
|
|
||||||
|
|
||||||
OPTIONAL {
|
OPTIONAL {
|
||||||
?BestuurseenheidURI besluit:werkingsgebied ?werkingsgebiedURI.
|
?BestuurseenheidURI besluit:werkingsgebied ?werkingsgebiedURI.
|
||||||
?werkingsgebiedURI rdfs:label ?werkingsgebied.
|
?werkingsgebiedURI rdfs:label ?werkingsgebied.
|
||||||
@@ -160,18 +131,13 @@ export default {
|
|||||||
|
|
||||||
const data = queryResponse.results.bindings.map((row) => ({
|
const data = queryResponse.results.bindings.map((row) => ({
|
||||||
Bestuurseenheid: getSafeValue(row, "Bestuurseenheid"),
|
Bestuurseenheid: getSafeValue(row, "Bestuurseenheid"),
|
||||||
JuridischeNaam: getSafeValue(row, "JuridischeNaam"),
|
|
||||||
AlternatieveNaam: getSafeValue(row, "AlternatieveNaam"),
|
|
||||||
Classificatie: getSafeValue(row, "Classificatie"),
|
Classificatie: getSafeValue(row, "Classificatie"),
|
||||||
Status: getSafeValue(row, "Status"),
|
Status: getSafeValue(row, "Status"),
|
||||||
KBO_nr: getSafeValue(row, "KBO_nr"),
|
KBO_nr: getSafeValue(row, "KBO_nr"),
|
||||||
OVO_nr: getSafeValue(row, "OVO_nr"),
|
OVO_nr: getSafeValue(row, "OVO_nr"),
|
||||||
Sharepoint_id: getSafeValue(row, "Sharepoint_id"),
|
Sharepoint_id: getSafeValue(row, "Sharepoint_id"),
|
||||||
NIS_code: getSafeValue(row, "NIS_code"),
|
NIS_code: getSafeValue(row, "NIS_code"),
|
||||||
JuridischeVorm: getSafeValue(row, "JuridischeVorm"),
|
|
||||||
Regio: getSafeValue(row, "Regio"),
|
Regio: getSafeValue(row, "Regio"),
|
||||||
Werkingsgebied: getSafeValue(row, "Werkingsgebied"),
|
|
||||||
GeplandeEinddatum: getSafeValue(row, "GeplandeEinddatum"),
|
|
||||||
Provincie: getSafeValue(row, "Provincie"),
|
Provincie: getSafeValue(row, "Provincie"),
|
||||||
Straat: getSafeValue(row, "Straat"),
|
Straat: getSafeValue(row, "Straat"),
|
||||||
Huisnummer: getSafeValue(row, "Huisnummer"),
|
Huisnummer: getSafeValue(row, "Huisnummer"),
|
||||||
@@ -188,18 +154,13 @@ export default {
|
|||||||
data,
|
data,
|
||||||
[
|
[
|
||||||
"Bestuurseenheid",
|
"Bestuurseenheid",
|
||||||
"JuridischeNaam",
|
|
||||||
"AlternatieveNaam",
|
|
||||||
"Classificatie",
|
"Classificatie",
|
||||||
"Status",
|
"Status",
|
||||||
"KBO_nr",
|
"KBO_nr",
|
||||||
"OVO_nr",
|
"OVO_nr",
|
||||||
"Sharepoint_id",
|
"Sharepoint_id",
|
||||||
"NIS_code",
|
"NIS_code",
|
||||||
"JuridischeVorm",
|
|
||||||
"Regio",
|
"Regio",
|
||||||
"Werkingsgebied",
|
|
||||||
"GeplandeEinddatum",
|
|
||||||
"Provincie",
|
"Provincie",
|
||||||
"Straat",
|
"Straat",
|
||||||
"Huisnummer",
|
"Huisnummer",
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ export const PREFIXES = `
|
|||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||||
PREFIX lblodgeneriek: <https://data.lblod.info/vocabularies/generiek/>
|
|
||||||
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
|
PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
|
||||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
||||||
|
|||||||
@@ -72,11 +72,6 @@
|
|||||||
"target": "concepts",
|
"target": "concepts",
|
||||||
"cardinality": "one"
|
"cardinality": "one"
|
||||||
},
|
},
|
||||||
"resulting-scope": {
|
|
||||||
"predicate": "code:resulterendWerkingsgebied",
|
|
||||||
"target": "locations",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"result-from": {
|
"result-from": {
|
||||||
"predicate": "code:veranderingsgebeurtenisResultaat",
|
"predicate": "code:veranderingsgebeurtenisResultaat",
|
||||||
"target": "change-events",
|
"target": "change-events",
|
||||||
|
|||||||
@@ -32,10 +32,7 @@
|
|||||||
"nacebel": "http://data.gift/vocabularies/nace-bel/",
|
"nacebel": "http://data.gift/vocabularies/nace-bel/",
|
||||||
"time": "http://www.w3.org/2006/time#",
|
"time": "http://www.w3.org/2006/time#",
|
||||||
"muAccount": "http://mu.semte.ch/vocabularies/account/",
|
"muAccount": "http://mu.semte.ch/vocabularies/account/",
|
||||||
"sh": "http://www.w3.org/ns/shacl#",
|
"sh": "http://www.w3.org/ns/shacl#"
|
||||||
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
|
|
||||||
"owl": "http://www.w3.org/2002/07/owl#",
|
|
||||||
"task": "http://redpencil.data.gift/vocabularies/tasks/"
|
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"agents": {
|
"agents": {
|
||||||
@@ -69,30 +66,9 @@
|
|||||||
"first-name-used": {
|
"first-name-used": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"predicate": "persoon:gebruikteVoornaam"
|
"predicate": "persoon:gebruikteVoornaam"
|
||||||
},
|
|
||||||
"harvest-source": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "prov:wasGeneratedBy"
|
|
||||||
},
|
|
||||||
"harvest-original-uri": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "owl:sameAs"
|
|
||||||
},
|
|
||||||
"harvest-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "task:modifiedOn"
|
|
||||||
},
|
|
||||||
"harvest-job": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "task:modifiedBy"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"vendor": {
|
|
||||||
"predicate": "prov:wasAssociatedWith",
|
|
||||||
"target": "vendors",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"mandatories": {
|
"mandatories": {
|
||||||
"predicate": "mandaat:isBestuurlijkeAliasVan",
|
"predicate": "mandaat:isBestuurlijkeAliasVan",
|
||||||
"target": "mandatories",
|
"target": "mandatories",
|
||||||
@@ -125,34 +101,9 @@
|
|||||||
"agent-end-date": {
|
"agent-end-date": {
|
||||||
"type": "datetime",
|
"type": "datetime",
|
||||||
"predicate": "ch:eindedatum"
|
"predicate": "ch:eindedatum"
|
||||||
},
|
|
||||||
"harvest-source": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "prov:wasGeneratedBy"
|
|
||||||
},
|
|
||||||
"harvest-original-uri": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "owl:sameAs"
|
|
||||||
},
|
|
||||||
"harvest-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "task:modifiedOn"
|
|
||||||
},
|
|
||||||
"harvest-job": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "task:modifiedBy"
|
|
||||||
},
|
|
||||||
"harvestLink": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "rdfs:seeAlso"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"vendor": {
|
|
||||||
"predicate": "prov:wasAssociatedWith",
|
|
||||||
"target": "vendors",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"person": {
|
"person": {
|
||||||
"predicate": "org:heldBy",
|
"predicate": "org:heldBy",
|
||||||
"target": "people",
|
"target": "people",
|
||||||
@@ -246,30 +197,9 @@
|
|||||||
"reason-stopped": {
|
"reason-stopped": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"predicate": "ere:redenVanStopzetting"
|
"predicate": "ere:redenVanStopzetting"
|
||||||
},
|
|
||||||
"harvest-source": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "prov:wasGeneratedBy"
|
|
||||||
},
|
|
||||||
"harvest-original-uri": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "owl:sameAs"
|
|
||||||
},
|
|
||||||
"harvest-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "task:modifiedOn"
|
|
||||||
},
|
|
||||||
"harvest-job": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "task:modifiedBy"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"vendor": {
|
|
||||||
"predicate": "prov:wasAssociatedWith",
|
|
||||||
"target": "vendors",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"type-half": {
|
"type-half": {
|
||||||
"predicate": "ere:typeHelft",
|
"predicate": "ere:typeHelft",
|
||||||
"target": "half-elections",
|
"target": "half-elections",
|
||||||
@@ -310,30 +240,9 @@
|
|||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"predicate": "schema:contactType"
|
"predicate": "schema:contactType"
|
||||||
},
|
|
||||||
"harvest-source": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "prov:wasGeneratedBy"
|
|
||||||
},
|
|
||||||
"harvest-original-uri": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "owl:sameAs"
|
|
||||||
},
|
|
||||||
"harvest-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "task:modifiedOn"
|
|
||||||
},
|
|
||||||
"harvest-job": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "task:modifiedBy"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"vendor": {
|
|
||||||
"predicate": "prov:wasAssociatedWith",
|
|
||||||
"target": "vendors",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"contact-address": {
|
"contact-address": {
|
||||||
"predicate": "locn:address",
|
"predicate": "locn:address",
|
||||||
"target": "addresses",
|
"target": "addresses",
|
||||||
@@ -623,13 +532,6 @@
|
|||||||
"registered-organizations": {
|
"registered-organizations": {
|
||||||
"class": "regorg:RegisteredOrganization",
|
"class": "regorg:RegisteredOrganization",
|
||||||
"super": ["organizations"],
|
"super": ["organizations"],
|
||||||
"relationships": {
|
|
||||||
"scope": {
|
|
||||||
"predicate": "dc_terms:spatial",
|
|
||||||
"target": "locations",
|
|
||||||
"cardinality": "one"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"new-resource-base": "http://data.lblod.info/id/geregistreerdeOrganisaties/"
|
"new-resource-base": "http://data.lblod.info/id/geregistreerdeOrganisaties/"
|
||||||
},
|
},
|
||||||
"organization-classification-codes": {
|
"organization-classification-codes": {
|
||||||
@@ -638,10 +540,6 @@
|
|||||||
"label": {
|
"label": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"predicate": "skos:prefLabel"
|
"predicate": "skos:prefLabel"
|
||||||
},
|
|
||||||
"alt-label": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "skos:altLabel"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"new-resource-base": "http://data.vlaanderen.be/id/concept/OrganizationClassificationCode/"
|
"new-resource-base": "http://data.vlaanderen.be/id/concept/OrganizationClassificationCode/"
|
||||||
@@ -694,7 +592,6 @@
|
|||||||
"cardinality": "many"
|
"cardinality": "many"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"features": ["include-uri"],
|
|
||||||
"new-resource-base": "http://data.lblod.info/vendors/"
|
"new-resource-base": "http://data.lblod.info/vendors/"
|
||||||
},
|
},
|
||||||
"worship-services": {
|
"worship-services": {
|
||||||
@@ -938,30 +835,9 @@
|
|||||||
"address-register-uri": {
|
"address-register-uri": {
|
||||||
"type": "url",
|
"type": "url",
|
||||||
"predicate": "adres:verwijstNaar"
|
"predicate": "adres:verwijstNaar"
|
||||||
},
|
|
||||||
"harvest-source": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "prov:wasGeneratedBy"
|
|
||||||
},
|
|
||||||
"harvest-original-uri": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "owl:sameAs"
|
|
||||||
},
|
|
||||||
"harvest-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "task:modifiedOn"
|
|
||||||
},
|
|
||||||
"harvest-job": {
|
|
||||||
"type": "uri",
|
|
||||||
"predicate": "task:modifiedBy"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"vendor": {
|
|
||||||
"predicate": "prov:wasAssociatedWith",
|
|
||||||
"target": "vendors",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"source": {
|
"source": {
|
||||||
"predicate": "dc_terms:source",
|
"predicate": "dc_terms:source",
|
||||||
"target": "concepts",
|
"target": "concepts",
|
||||||
@@ -1263,13 +1139,6 @@
|
|||||||
"predicate": "skos:prefLabel"
|
"predicate": "skos:prefLabel"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relationships": {
|
|
||||||
"applicable-statuses": {
|
|
||||||
"predicate": "ere:vanToepassingBijStatus",
|
|
||||||
"target": "organization-status-codes",
|
|
||||||
"cardinality": "many"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||||
},
|
},
|
||||||
"financing-codes": {
|
"financing-codes": {
|
||||||
|
|||||||
@@ -663,10 +663,6 @@
|
|||||||
"http://www.w3.org/ns/org#classification",
|
"http://www.w3.org/ns/org#classification",
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||||
],
|
],
|
||||||
"classification_alternative_name": [
|
|
||||||
"http://www.w3.org/ns/org#classification",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel"
|
|
||||||
],
|
|
||||||
"status": [
|
"status": [
|
||||||
"http://www.w3.org/ns/regorg#orgStatus",
|
"http://www.w3.org/ns/regorg#orgStatus",
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||||
@@ -700,15 +696,7 @@
|
|||||||
],
|
],
|
||||||
"operation_area": [
|
"operation_area": [
|
||||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||||
"http://www.w3.org/2000/01/rdf-schema#label"
|
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||||
],
|
|
||||||
"operation_area_spatial": [
|
|
||||||
"http://purl.org/dc/terms/spatial",
|
|
||||||
"http://www.w3.org/2000/01/rdf-schema#label"
|
|
||||||
],
|
|
||||||
"vendor": [
|
|
||||||
"^http://mu.semte.ch/vocabularies/account/canActOnBehalfOf",
|
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mappings": {
|
"mappings": {
|
||||||
@@ -761,15 +749,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"classification_alternative_name": {
|
|
||||||
"type": "text",
|
|
||||||
"fields": {
|
|
||||||
"field": {
|
|
||||||
"type": "keyword",
|
|
||||||
"normalizer": "custom_sort_normalizer"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"status": {
|
"status": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"fields": {
|
"fields": {
|
||||||
@@ -829,18 +808,6 @@
|
|||||||
"normalizer": "custom_sort_normalizer"
|
"normalizer": "custom_sort_normalizer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"operation_area_spatial": {
|
|
||||||
"type": "keyword",
|
|
||||||
"fields": {
|
|
||||||
"field": {
|
|
||||||
"type": "keyword",
|
|
||||||
"normalizer": "custom_sort_normalizer"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"vendor": {
|
|
||||||
"type": "keyword"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,7 @@ services:
|
|||||||
identifier:
|
identifier:
|
||||||
image: semtech/mu-identifier:1.10.3
|
image: semtech/mu-identifier:1.10.3
|
||||||
environment:
|
environment:
|
||||||
# It is INCREDIBLY important that the "clean" group is part of this config, DO NOT ADJUST unless you know EXACTLY what you're doing
|
DEFAULT_MU_AUTH_ALLOWED_GROUPS_HEADER: '[{"variables":[],"name":"public"}]'
|
||||||
DEFAULT_MU_AUTH_ALLOWED_GROUPS_HEADER: '[{"variables":[],"name":"clean"}, {"variables":[],"name":"public"}]'
|
|
||||||
SESSION_COOKIE_SECURE: "on"
|
SESSION_COOKIE_SECURE: "on"
|
||||||
labels:
|
labels:
|
||||||
- "logging=true"
|
- "logging=true"
|
||||||
@@ -216,7 +215,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
frontend:
|
frontend:
|
||||||
image: lblod/frontend-organization-portal:1.43.0
|
image: lblod/frontend-organization-portal:1.40.4-1
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||||
environment:
|
environment:
|
||||||
@@ -309,7 +308,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
construct-organization-relationships:
|
construct-organization-relationships:
|
||||||
image: lblod/construct-organization-relationships-service:1.2.0
|
image: lblod/construct-organization-relationships-service:1.1.3
|
||||||
links:
|
links:
|
||||||
- db:database
|
- db:database
|
||||||
labels:
|
labels:
|
||||||
@@ -317,7 +316,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
scope-of-operation:
|
scope-of-operation:
|
||||||
image: lblod/scope-of-operation-service:0.2.0
|
image: lblod/scope-of-operation-service:0.1.1
|
||||||
links:
|
links:
|
||||||
- db:database
|
- db:database
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user