Compare commits
107 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4cd0d5cbd | ||
|
|
d3420cf935 | ||
|
|
f279c1dba5 | ||
|
|
d0d3440338 | ||
|
|
6c0619d45c | ||
|
|
8b8b192bbd | ||
|
|
bde4180168 | ||
|
|
f04ebf5723 | ||
|
|
addd4304f6 | ||
|
|
ba5bdac6cb | ||
|
|
366aad9fe5 | ||
|
|
01c5c7e7b3 | ||
|
|
73a494cd73 | ||
|
|
73e6c2c60c | ||
|
|
6cc9acd4cd | ||
|
|
273c3d1f10 | ||
|
|
464da76876 | ||
|
|
eb7d8949cd | ||
|
|
34244b699b | ||
|
|
0f4173fd1a | ||
|
|
5dfa7e4676 | ||
|
|
927e370aa6 | ||
|
|
2f06135cf9 | ||
|
|
c6b74f6a1c | ||
|
|
706b7fa525 | ||
|
|
8ca23d5515 | ||
|
|
e712fa8fc8 | ||
|
|
225e31d845 | ||
|
|
a26abc8523 | ||
|
|
9591cd3603 | ||
|
|
85c307216c | ||
|
|
e9327a4357 | ||
|
|
539376c47c | ||
|
|
57ef47cef9 | ||
|
|
12265b7eee | ||
|
|
a019ee1025 | ||
|
|
50d9db571b | ||
|
|
f41aaae912 | ||
|
|
c0d23e6178 | ||
|
|
67a8e9c6df | ||
|
|
b6ac54df46 | ||
|
|
0497b23fac | ||
|
|
0d87feb119 | ||
|
|
725f608a3b | ||
|
|
a3d1ec1b81 | ||
|
|
285bb6f6cb | ||
|
|
9dde9bf2b9 | ||
|
|
2271ea0395 | ||
|
|
4b4f11c1c7 | ||
|
|
ec6f1700a9 | ||
|
|
262fe89248 | ||
|
|
d5c8f699b1 | ||
|
|
d017d1b0e3 | ||
|
|
2757b082b8 | ||
|
|
1f76fc0fe6 | ||
|
|
ce2558ad68 | ||
|
|
b9fb9d8a63 | ||
|
|
bf6b568aa9 | ||
|
|
84b657cd84 | ||
|
|
5deec6a735 | ||
|
|
adb6864321 | ||
|
|
cbff03275a | ||
|
|
d246555c8a | ||
|
|
f9c0ef7072 | ||
|
|
9e75eaecb4 | ||
|
|
a3370a9385 | ||
|
|
0a883702fc | ||
|
|
8a64229f69 | ||
|
|
6cae455d46 | ||
|
|
b97b545add | ||
|
|
2c729ddee3 | ||
|
|
a210f830c2 | ||
|
|
6fc2281ea0 | ||
|
|
b07885b14c | ||
|
|
74d86dd25c | ||
|
|
ab8cef99d0 | ||
|
|
e8a2d29abc | ||
|
|
846b523045 | ||
|
|
93298b2c34 | ||
|
|
0dae17db17 | ||
|
|
be4d2c04b0 | ||
|
|
15972b5125 | ||
|
|
0a5e5ac9e6 | ||
|
|
68afdad2c4 | ||
|
|
c6345a9c2f | ||
|
|
c3365c7b80 | ||
|
|
59b0e6ae5c | ||
|
|
df30c9c080 | ||
|
|
3747f97a8f | ||
|
|
bc3cd35f8f | ||
|
|
3ab27e5d36 | ||
|
|
1d2d69594b | ||
|
|
50728e0766 | ||
|
|
88f49a1f08 | ||
|
|
175ecef9fa | ||
|
|
395707593d | ||
|
|
853b2ddd85 | ||
|
|
ee8dbbe72d | ||
|
|
9a71662b49 | ||
|
|
c72093ad4b | ||
|
|
72a0d782a6 | ||
|
|
a7d77241d0 | ||
|
|
920f78e51d | ||
|
|
6adf03a6a2 | ||
|
|
b45480d594 | ||
|
|
6a231f3ee2 | ||
|
|
828d90747e |
176
CHANGELOG.md
176
CHANGELOG.md
@@ -1,6 +1,179 @@
|
||||
# Changelog
|
||||
## Unreleased
|
||||
|
||||
## v1.32.1 (2025-06-02)
|
||||
### Backend
|
||||
- Added Kabinet Crevits as bestuurseenheid. [DL-6655]
|
||||
### Deploy Notes
|
||||
```
|
||||
drc restart migrations;
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
|
||||
```
|
||||
|
||||
## v1.32.0 (2025-05-23)
|
||||
### Frontend
|
||||
- Bump to version [v1.31.0](https://github.com/lblod/frontend-organization-portal/releases/tag/v1.31.0)
|
||||
### Backend
|
||||
- Fix KBO statuses not being displayed [OP-3584]
|
||||
- datafix: update NIS2019 end dates and link additional NIS2025 to werkingsgebieden [part of OP-3566]
|
||||
- datafix: correct date of change event of ckb olen [OP-3594]
|
||||
- datafix: move memberships from shared to administrative unit graph
|
||||
- datafix: cleanup werkingsgbieden data [OP-3566]
|
||||
+ Move werkingsgebieden to public graph
|
||||
+ Link district werkingsgebieden to Antwerp municipality werkingsgebied
|
||||
+ Add missing werkingsgebied for Borsbeek district
|
||||
- Write migration to extract from existing primary sites the province URI [OP-3597]
|
||||
- datafix: update status kerkfabriek weelde [OP-3598]
|
||||
- datafix: delete change event and update status protestantse kerk oostende [OP-3604]
|
||||
- datafix: update change event date islamic assocation [OP-3602]
|
||||
### Deploy Notes
|
||||
```
|
||||
drc pull frontend; drc up -d frontend
|
||||
drc restart migrations; drc logs -ft --tail=200 migrations
|
||||
drc restart migrations-triggering-indexing && drc logs -ft --tail=200 migrations-triggering-indexing
|
||||
drc up -d kbo-data-sync
|
||||
drc exec kbo-data-sync curl -X POST http://localhost/sync-all-kbo-data
|
||||
|
||||
drc restart delta-producer-publication-graph-maintainer
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs # or wait until nightly healing kicks in
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/organizations/healing-jobs # or wait until nightly healing kicks in
|
||||
drc exec db-cleanup curl -X POST "http://localhost/cleanup"
|
||||
```
|
||||
|
||||
## v1.31.3 (2025-05-08)
|
||||
### Backend
|
||||
- Migrate active organizations linked to inactive CKB to the active one. [DL-6604]
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart migrations-triggering-indexing && drc logs -ft --tail=200 migrations-triggering-indexing
|
||||
```
|
||||
|
||||
## v1.31.2 (2025-04-02)
|
||||
### Backend
|
||||
- Extend the public producer to include: [CLBV-980]
|
||||
- NIS codes
|
||||
- Sites and statuses of representative organs
|
||||
- Secondary sites with their contacts and addresses
|
||||
- Site descriptions
|
||||
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart delta-producer-publication-graph-maintainer
|
||||
```
|
||||
|
||||
## v1.31.1 (2025-04-01)
|
||||
### Backend
|
||||
- Removal of change events of 8 ckb's + update of their status [OP-3562]
|
||||
### Deploy Notes
|
||||
```
|
||||
drc restart migrations-triggering-indexing; drc logs -ft --tail=200 migrations-triggering-indexing
|
||||
drc restart migrations; drc logs -ft --tail=200 migrations
|
||||
```
|
||||
|
||||
## v1.31.0 (2025-03-27)
|
||||
### Frontend
|
||||
- Bump to version [v1.30.0](https://github.com/lblod/frontend-organization-portal/blob/v1.30.0/CHANGELOG.md#v1300-2025-03-27)
|
||||
### Backend
|
||||
- Datafix: move status for municipalities and provinces to the `shared` graph such that it can be read by worship users [OP-3469]
|
||||
- Bump `triplestore` and `publication-triplestore` to `v1.3.0-rc.1`. [OP-2492] [OP-3547]
|
||||
- Add missing docker compose keys. [DL-6490]
|
||||
- Reorganize delta consumers config to harmonize with the ecosystem
|
||||
- Set up the dashboard app [OP-3103]
|
||||
- Datafix: correct date of change event of kerkfabriek st petrus [OP-3555]
|
||||
- Update OCMWv to VVMW [OP-3565] and back. It's technically a nil-operation. But you should run the migrations nevertheless.
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart migrations-triggering-indexing
|
||||
drc restart migrations; drc logs -ft --tail=200 migrations
|
||||
drc pull frontend; drc up -d frontend
|
||||
drc up -d mandatarissen-consumer leidinggevenden-consumer worship-services-main-info-consumer worship-services-private-info-consumer
|
||||
```
|
||||
#### For upgrade databases
|
||||
[This README](https://github.com/Riadabd/upgrade-virtuoso) provides the necessary steps for upgrading the database. **NOTE**: This will involve shutting down the app for small period of time (around 30 minutes).
|
||||
#### For adding the missing keys
|
||||
```
|
||||
drc up -d search elasticsearch
|
||||
```
|
||||
|
||||
#### Dashboard
|
||||
|
||||
The dashboard requires some server specific configuration before it can be used.
|
||||
|
||||
##### 1. Dashboard domains
|
||||
To configure the domain name that's used by the dashboard frontend, you can add it to the `VIRTUAL_HOST` and `LETSENCRYPT_HOST` environment variables of the identifier service.
|
||||
- DEV domain: dashboard.dev.app-organisation-portal.contacthub-dev.s.redhost.be
|
||||
- QA domain: dashboard.qa.app-organisation-portal.contacthub-dev.s.redhost.be
|
||||
- PROD domain: dashboard.app-organisation-portal.organisaties.s.redpencil.io
|
||||
|
||||
##### 2. Dashboard users
|
||||
Before we can generate a user we need to add an application salt to the server. Add a `MU_APPLICATION_SALT` environment variable to the `dashboard-login` service in the docker-compose.override.yml file.
|
||||
|
||||
Once this is done you can generate a user by running `mu script project-scripts generate-dashboard-login` and following the prompts. A new local migration will be generated which can be run by restarting the migrations service and which will insert the new user into the database.
|
||||
|
||||
Store the login credentials as a comment in the docker-compose.override.yml file.
|
||||
|
||||
##### 3. (Re)start the needed services
|
||||
`drc up -d frontend-dashboard dashboard-login identifier; drc restart dispatcher resource db`
|
||||
|
||||
## v1.30.5 (2025-03-10)
|
||||
### Backend
|
||||
- Added `http://www.w3.org/ns/prov#Location` to delta stream 'public' [DL-6496]
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart delta-producer-publication-graph-maintainer
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
|
||||
|
||||
```
|
||||
|
||||
## v1.30.6 (2025-03-25)
|
||||
### Backend
|
||||
- Flushed landingzones [DL-6552]
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart migrations
|
||||
```
|
||||
|
||||
## v1.30.5 (2025-03-10)
|
||||
### Backend
|
||||
- Added `http://www.w3.org/ns/prov#Location` to delta stream 'public' [DL-6496]
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart delta-producer-publication-graph-maintainer
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
|
||||
|
||||
```
|
||||
|
||||
## v1.30.4 (2025-03-06)
|
||||
### Backend
|
||||
- Add missing codes to public producer [DL-6210] [DL-6449]
|
||||
#### Deploy commands
|
||||
```
|
||||
drc restart migrations delta-producer-publication-graph-maintainer
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
|
||||
```
|
||||
|
||||
## v1.30.3 (2025-03-04)
|
||||
### Frontend
|
||||
- Bump to [v1.29.1](https://github.com/lblod/frontend-organization-portal/releases/tag/v1.29.1)
|
||||
### Deploy notes
|
||||
- Bump frontend
|
||||
#### Deploy commands
|
||||
```
|
||||
drc pull frontend; drc up -d frontend
|
||||
```
|
||||
|
||||
## v1.30.2 (2025-02-28)
|
||||
### Backend
|
||||
- Datafix: add new timed governing bodies for new legislature for AGBs [OP-3552]
|
||||
### Deploy notes
|
||||
- Restart the migration service
|
||||
- Start a healing job the public producer, or wait for it to kick in overnight
|
||||
#### Deploy commands
|
||||
```
|
||||
drc restart migrations; drc logs -ft --tail=200 migrations
|
||||
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
|
||||
```
|
||||
|
||||
## v1.30.1 (2025-02-20)
|
||||
### Backend
|
||||
- Bestuursorgaanclassificatiecode of VGC was in wrong graph, so it wouldn't export. [DL-6428]
|
||||
@@ -8,6 +181,7 @@
|
||||
```
|
||||
drc restart migrations
|
||||
```
|
||||
|
||||
## v1.30.0 (2025-02-19)
|
||||
### Frontend
|
||||
- Bump to version [v1.29.0](https://github.com/lblod/frontend-organization-portal/releases/tag/v1.29.0)
|
||||
@@ -21,7 +195,6 @@ drc restart migrations
|
||||
- Remove several OCMW bcsd faciliteitgemeenten [OP-3535]
|
||||
- Completely remove AGB Stekene's data. [OP-3409]
|
||||
- Remove reasoner service, replaced by new consumer logic
|
||||
|
||||
### Deploy Notes
|
||||
- Before pulling the changes
|
||||
+ Shut down the reasoner and thank it for its good service: `drc down reasoner`
|
||||
@@ -111,6 +284,7 @@ Then, update `docker-compose.override.yml` to:
|
||||
```
|
||||
drc up -d
|
||||
sh scripts/reset-elastic.sh
|
||||
|
||||
```
|
||||
|
||||
## 1.29.0 (2025-02-07)
|
||||
|
||||
23
README.md
23
README.md
@@ -185,3 +185,26 @@ To make sure the app can share data, producers need to be set up. There is an in
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
## Configuring the dashboard
|
||||
### Accessing the dashboard from your local machine
|
||||
|
||||
Since we use dispatcher v2, which dispatches on hostname, we'll have to update `/etc/hosts`.
|
||||
Add an entry similar to the following. Ensure the first part of the domain starts with `dashboard`.:
|
||||
|
||||
```
|
||||
127.0.0.1 dashboard.localhost
|
||||
```
|
||||
|
||||
### Creating new users
|
||||
For now, we use specific logins for the dashboard users. Each environment has its own passwords.
|
||||
|
||||
To add a user, make sure to have [mu-cli](https://github.com/mu-semtech/mu-cli) installed first.
|
||||
Then in `docker-compose.override.yml`
|
||||
```
|
||||
dashboard-login:
|
||||
environment:
|
||||
MU_APPLICATION_SALT: 'a_random_string_with_sufficient_entropy_hence_not_this_one'
|
||||
```
|
||||
You can now generate a user by running `mu script project-scripts generate-dashboard-login` and following the steps.
|
||||
Restart `migrations` and it should insert the new user into the database.
|
||||
@@ -107,6 +107,19 @@ defmodule Acl.UserGroups.Config do
|
||||
}"
|
||||
end
|
||||
|
||||
defp can_access_dashboard() do
|
||||
%AccessByQuery{
|
||||
vars: [],
|
||||
query: "PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
SELECT DISTINCT ?account WHERE {
|
||||
<SESSION_ID> <http://mu.semte.ch/vocabularies/session/account> ?account.
|
||||
?account <http://mu.semte.ch/vocabularies/ext/sessionRole> ?session_role.
|
||||
FILTER( ?session_role = \"dashboard-user\" )
|
||||
}"
|
||||
}
|
||||
end
|
||||
|
||||
def user_groups do
|
||||
[
|
||||
%GroupSpec{
|
||||
@@ -206,6 +219,46 @@ defmodule Acl.UserGroups.Config do
|
||||
}
|
||||
]
|
||||
},
|
||||
# // dashboard users
|
||||
%GroupSpec{
|
||||
name: "dashboard-users",
|
||||
useage: [:read],
|
||||
access: can_access_dashboard(),
|
||||
graphs: [
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/reports",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: [
|
||||
"http://lblod.data.gift/vocabularies/reporting/Report",
|
||||
"http://open-services.net/ns/core#Error",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"
|
||||
]
|
||||
}
|
||||
},
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/system/jobs",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: [
|
||||
"http://vocab.deri.ie/cogs#Job",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"
|
||||
]
|
||||
}
|
||||
},
|
||||
# OP stores jobs in multiple graphs, so we configure both until they are merged into one graph
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/jobs",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: [
|
||||
"http://vocab.deri.ie/cogs#Job",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer",
|
||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"
|
||||
]
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
# // CLEANUP
|
||||
#
|
||||
|
||||
@@ -231,10 +231,12 @@ DefaultHost = localhost:8890
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 1000000 ; 1 million
|
||||
MaxConstructTriples = 1000000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;MaxQueryCostEstimationTime = 4000 ; in seconds
|
||||
MaxQueryExecutionTime = 1200 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
[Plugins]
|
||||
|
||||
@@ -231,10 +231,12 @@ DefaultHost = localhost:8890
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 1000000 ; 1 million
|
||||
MaxConstructTriples = 1000000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;MaxQueryCostEstimationTime = 4000 ; in seconds
|
||||
MaxQueryExecutionTime = 1200 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
[Plugins]
|
||||
|
||||
@@ -336,6 +336,7 @@
|
||||
"http://www.w3.org/ns/locn#postCode",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2",
|
||||
"https://data.vlaanderen.be/ns/adres#adresIsGelegenIn",
|
||||
"https://data.vlaanderen.be/ns/adres#land",
|
||||
"http://www.w3.org/ns/locn#fullAddress",
|
||||
"https://data.vlaanderen.be/ns/adres#verwijstNaar",
|
||||
@@ -389,7 +390,7 @@
|
||||
{
|
||||
"type": "http://www.w3.org/ns/prov#Location",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/shared"
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"properties": [
|
||||
"http://www.w3.org/2000/01/rdf-schema#label",
|
||||
|
||||
@@ -157,6 +157,9 @@
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
@@ -204,7 +207,28 @@
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/ns/org#siteAddress",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://data.lblod.info/vocabularies/erediensten/vestigingstype"
|
||||
"http://data.lblod.info/vocabularies/erediensten/vestigingstype",
|
||||
"http://purl.org/dc/terms/description"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/org#Site",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/shared",
|
||||
"http://mu.semte.ch/graphs/worship-service",
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"^http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/ns/org#siteAddress",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://data.lblod.info/vocabularies/erediensten/vestigingstype",
|
||||
"http://purl.org/dc/terms/description"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -228,6 +252,35 @@
|
||||
"http://www.w3.org/ns/locn#postCode",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2",
|
||||
"https://data.vlaanderen.be/ns/adres#adresIsGelegenIn",
|
||||
"https://data.vlaanderen.be/ns/adres#land",
|
||||
"http://www.w3.org/ns/locn#fullAddress",
|
||||
"https://data.vlaanderen.be/ns/adres#verwijstNaar",
|
||||
"http://purl.org/dc/terms/source"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/locn#Address",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/shared",
|
||||
"http://mu.semte.ch/graphs/worship-service",
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"^https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"^http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"https://data.vlaanderen.be/ns/adres#Adresvoorstelling.huisnummer",
|
||||
"https://data.vlaanderen.be/ns/adres#Adresvoorstelling.busnummer",
|
||||
"http://www.w3.org/ns/locn#thoroughfare",
|
||||
"http://www.w3.org/ns/locn#postCode",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2",
|
||||
"https://data.vlaanderen.be/ns/adres#adresIsGelegenIn",
|
||||
"https://data.vlaanderen.be/ns/adres#land",
|
||||
"http://www.w3.org/ns/locn#fullAddress",
|
||||
"https://data.vlaanderen.be/ns/adres#verwijstNaar",
|
||||
@@ -258,6 +311,30 @@
|
||||
"http://schema.org/telephone"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://schema.org/ContactPoint",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/shared",
|
||||
"http://mu.semte.ch/graphs/worship-service",
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"^http://www.w3.org/ns/org#siteAddress",
|
||||
"^http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/ns/locn#address",
|
||||
"http://xmlns.com/foaf/0.1/page",
|
||||
"http://schema.org/faxNumber",
|
||||
"http://schema.org/contactType",
|
||||
"http://xmlns.com/foaf/0.1/page",
|
||||
"http://schema.org/email",
|
||||
"http://schema.org/telephone"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/adms#Identifier",
|
||||
"graphsFilter": [
|
||||
@@ -497,6 +574,107 @@
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://data.lblod.info/vocabularies/leidinggevenden/FunctionarisStatusCode",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://mu.semte.ch/vocabularies/ext/OrganizationClassificationCode",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/prov#Location",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"hasRegexGraphsFilter": false,
|
||||
"properties": [
|
||||
"http://www.w3.org/2000/01/rdf-schema#label",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau",
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://www.w3.org/2004/02/skos/core#exactMatch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/2004/02/skos/core#Concept",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#broadMatch",
|
||||
"http://www.w3.org/2004/02/skos/core#broader",
|
||||
"http://www.w3.org/2004/02/skos/core#exactMatch",
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme",
|
||||
"http://www.w3.org/2004/02/skos/core#narrowMatch",
|
||||
"http://www.w3.org/2004/02/skos/core#narrower",
|
||||
"http://www.w3.org/2004/02/skos/core#notation",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#relatedMatch",
|
||||
"http://www.w3.org/2004/02/skos/core#topConceptOf",
|
||||
"https://schema.org/endDate",
|
||||
"https://schema.org/startDate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://publications.europa.eu/ontology/euvoc#Country",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/public"
|
||||
],
|
||||
"properties": [
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/2000/01/rdf-schema#label"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -240,6 +240,47 @@ defmodule Dispatcher do
|
||||
Proxy.forward(conn, path, "http://resource/kbo-organizations/")
|
||||
end
|
||||
|
||||
# Dashboard
|
||||
match "/jobs/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://cache/jobs/")
|
||||
end
|
||||
|
||||
match "/tasks/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://cache/tasks/")
|
||||
end
|
||||
|
||||
match "/data-containers/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://cache/data-containers/")
|
||||
end
|
||||
|
||||
match "/job-errors/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://cache/job-errors/")
|
||||
end
|
||||
|
||||
match "/reports/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://resource/reports/")
|
||||
end
|
||||
|
||||
match "/log-entries/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://resource/log-entries/")
|
||||
end
|
||||
|
||||
match "/log-levels/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://resource/log-levels/")
|
||||
end
|
||||
|
||||
match "/status-codes/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://resource/status-codes/")
|
||||
end
|
||||
|
||||
match "/log-sources/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://resource/log-sources/")
|
||||
end
|
||||
|
||||
match "/remote-data-objects/*path", %{accept: [:json], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://resource/remote-data-objects/")
|
||||
end
|
||||
|
||||
###############
|
||||
# LOGIN
|
||||
###############
|
||||
@@ -264,6 +305,10 @@ defmodule Dispatcher do
|
||||
Proxy.forward(conn, path, "http://mocklogin/sessions/")
|
||||
end
|
||||
|
||||
match "/sessions/*path", %{ reverse_host: ["dashboard" | _rest] } do
|
||||
Proxy.forward conn, path, "http://dashboard-login/sessions/"
|
||||
end
|
||||
|
||||
match "/sessions/*path", %{accept: [:any], layer: :api} do
|
||||
Proxy.forward(conn, path, "http://login/sessions/")
|
||||
end
|
||||
@@ -428,6 +473,20 @@ defmodule Dispatcher do
|
||||
# frontend layer
|
||||
###############################################################
|
||||
|
||||
get "/assets/*path", %{ reverse_host: ["dashboard" | _rest], layer: :api } do
|
||||
forward conn, path, "http://frontend-dashboard/assets/"
|
||||
end
|
||||
|
||||
get "/@appuniversum/*path", %{ reverse_host: ["dashboard" | _rest], layer: :api} do
|
||||
forward conn, path, "http://frontend-dashboard/@appuniversum/"
|
||||
end
|
||||
|
||||
match "/*_path", %{ reverse_host: ["dashboard" | _rest], layer: :api } do
|
||||
# *_path allows a path to be supplied, but will not yield
|
||||
# an error that we don't use the path variable.
|
||||
forward conn, [], "http://frontend-dashboard/index.html"
|
||||
end
|
||||
|
||||
match "/assets/*path", %{layer: :api} do
|
||||
Proxy.forward(conn, path, "http://frontend/assets/")
|
||||
end
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#prefLabel> ?label
|
||||
}
|
||||
}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#prefLabel> "VVMW".
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
VALUES ?s {
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/cc4e2d67-603b-4784-9b61-e50bac1ec089>
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#prefLabel> ?label.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#prefLabel> ?label
|
||||
}
|
||||
}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#prefLabel> "OCMW vereniging".
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
VALUES ?s {
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/cc4e2d67-603b-4784-9b61-e50bac1ec089>
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#prefLabel> ?label.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?activeStatus.
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?notActiveStatus.
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?s {
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/ed0914f40dfed83ca44af845a2bf4d81>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/9e0e8f060ca954da6263243642433f44>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/b93ae92a8eb4912125094d98b8b4841d>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/988321712204bd0104fb62e6f5dbe104>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/70e058024a3cd58f76005d645b892e01>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/cf4add06db226861767559753fb50206>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/5442c1374ed159347bc0c64518a9b1a9>
|
||||
}
|
||||
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
|
||||
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?notActiveStatus.
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?activeStatus.
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?s {
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/e12c4f9f7167cd0074a97a2f658d1d51>
|
||||
|
||||
}
|
||||
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
|
||||
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?activeOrg
|
||||
<http://www.w3.org/ns/org#hasSubOrganization> ?sub .
|
||||
|
||||
?membership a org:Membership ;
|
||||
mu:uuid ?uuid ;
|
||||
org:organization ?activeOrg ;
|
||||
org:member ?sub ;
|
||||
org:role <http://data.lblod.info/id/rollen/4ec7d5c39bdc4e84b4174379b9e22ad8> .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
BIND(<http://data.lblod.info/id/centraleBesturenVanDeEredienst/643ddbd9448ca43828702527af7bfbb8> AS ?inactiveOrg)
|
||||
BIND(<http://data.lblod.info/id/centraleBesturenVanDeEredienst/7f5475cfb202d12f54779f046441c9e1> AS ?activeOrg)
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?inactiveOrg
|
||||
<http://www.w3.org/ns/org#hasSubOrganization> ?sub .
|
||||
}
|
||||
|
||||
FILTER NOT EXISTS {
|
||||
?activeOrg
|
||||
<http://www.w3.org/ns/org#hasSubOrganization> ?sub .
|
||||
}
|
||||
|
||||
BIND(SHA1(CONCAT(STR(?activeOrg), STR(?sub), "sub organization")) as ?uuid)
|
||||
BIND(IRI(CONCAT("http://data.lblod.info/id/lidmaatschap/", ?uuid)) AS ?membership)
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?inactiveOrg
|
||||
<http://www.w3.org/ns/org#hasSubOrganization> ?sub .
|
||||
|
||||
?membership ?membershipP ?membershipO .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
BIND(<http://data.lblod.info/id/centraleBesturenVanDeEredienst/643ddbd9448ca43828702527af7bfbb8> AS ?inactiveOrg)
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?inactiveOrg
|
||||
<http://www.w3.org/ns/org#hasSubOrganization> ?sub .
|
||||
|
||||
?membership a org:Membership ;
|
||||
org:organization ?inactiveOrg ;
|
||||
?membershipP ?membershipO .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?activeStatus.
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?notActiveStatus.
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?s {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/b1dbb9effdedef39bc4f0c8d96197cfd>
|
||||
}
|
||||
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
|
||||
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?notActiveStatus.
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?s regorg:orgStatus ?activeStatus.
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?s {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/45596b602140f031237b0ec26a8d4718>
|
||||
}
|
||||
BIND (<http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> AS ?notActiveStatus)
|
||||
BIND (<http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> AS ?activeStatus)
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?organisation regorg:orgStatus ?status.
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?organisation regorg:orgStatus ?status.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?organisation a besluit:Bestuurseenheid;
|
||||
org:classification ?class.
|
||||
FILTER (?class IN
|
||||
(
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>, # Municipality
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000> # Province
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?organisation regorg:orgStatus ?status.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
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 "2024-12-31"^^xsd:dateTime
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?agb a besluit:Bestuurseenheid;
|
||||
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/36a82ba0-7ff1-4697-a9dd-2e94df73b721>. # AGB
|
||||
?body besluit:bestuurt ?agb;
|
||||
org:classification ?classification.
|
||||
?timedBody generiek:isTijdspecialisatieVan ?body.
|
||||
FILTER NOT EXISTS {?timedBody mandaat:bindingEinde ?endDate.}
|
||||
}
|
||||
VALUES ?classification {
|
||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/b52094ff-21a2-4da8-8dbe-f513365d1528> # Algemene vergadering
|
||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/013cc838-173a-4657-b1ae-b00c048df943> # Raad van bestuur
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
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> {
|
||||
?timedGoverningBody a besluit:Bestuursorgaan;
|
||||
mu:uuid ?timedGoverningBodyUuid;
|
||||
generiek:isTijdspecialisatieVan ?governingBody;
|
||||
mandaat:bindingStart "2025-01-02"^^xsd:dateTime;
|
||||
mandaat:bindingEinde "2030-12-31"^^xsd:dateTime.
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?governingBodyClassification {
|
||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/b52094ff-21a2-4da8-8dbe-f513365d1528> # Algemene vergadering
|
||||
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/013cc838-173a-4657-b1ae-b00c048df943> # Raad van bestuur
|
||||
}
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?agb a besluit:Bestuurseenheid;
|
||||
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/36a82ba0-7ff1-4697-a9dd-2e94df73b721>; # AGB
|
||||
mu:uuid ?organizationUuid.
|
||||
?governingBody besluit:bestuurt ?agb;
|
||||
org:classification ?governingBodyClassification.
|
||||
}
|
||||
|
||||
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
|
||||
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?type {
|
||||
<http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode>
|
||||
<http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode>
|
||||
<http://data.lblod.info/vocabularies/leidinggevenden/FunctionarisStatusCode>
|
||||
<http://mu.semte.ch/vocabularies/ext/OrganizationClassificationCode>
|
||||
}
|
||||
|
||||
?s a ?type .
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
<http://data.lblod.info/id/log-levels/0986a9b6-b543-4629-8ef8-08928ae42430> a <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "0986a9b6-b543-4629-8ef8-08928ae42430" ;
|
||||
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority> 1 ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "TRACE" .
|
||||
|
||||
<http://data.lblod.info/id/log-levels/fe6473d5-ac83-450c-83f8-3546357c7117> a <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "fe6473d5-ac83-450c-83f8-3546357c7117" ;
|
||||
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority> 2 ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "DEBUG" .
|
||||
|
||||
<http://data.lblod.info/id/log-levels/6f92baad-b4a1-42ce-8bdf-e28218b27ff9> a <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "6f92baad-b4a1-42ce-8bdf-e28218b27ff9" ;
|
||||
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority> 3 ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "INFO" .
|
||||
|
||||
<http://data.lblod.info/id/log-levels/62d2516b-e6b8-4866-aad1-e8347f2cdc70> a <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "62d2516b-e6b8-4866-aad1-e8347f2cdc70" ;
|
||||
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority> 4 ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "WARN" .
|
||||
|
||||
<http://data.lblod.info/id/log-levels/3af9ebe1-e6a8-495c-a392-16ced1f38ef1> a <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "3af9ebe1-e6a8-495c-a392-16ced1f38ef1" ;
|
||||
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority> 5 ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "ERROR" .
|
||||
|
||||
<http://data.lblod.info/id/log-levels/c679f915-1fdd-4b50-938d-6b565aa31278> a <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "c679f915-1fdd-4b50-938d-6b565aa31278" ;
|
||||
<http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority> 6 ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "FATAL" .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
<http://data.lblod.info/id/log-sources/c7806563-25a4-46c8-9be2-a0cdf0db1f98> a <http://mu.semte.ch/vocabularies/ext/LogSource> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "c7806563-25a4-46c8-9be2-a0cdf0db1f98" ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "Acmidm login service" .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
PREFIX dct: <http://purl.org/dc/terms/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/67C816180F1E719C0DBB7B6C> dct:date ?oldDate .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/67C816180F1E719C0DBB7B6C> dct:date "2025-03-05"^^xsd:date .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/67C816180F1E719C0DBB7B6C> dct:date ?oldDate .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/landing-zone/leidinggevenden> {
|
||||
?s a ?type;
|
||||
?p ?o.
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
VALUES ?type {
|
||||
<http://mu.semte.ch/vocabularies/ext/BestuurseenheidClassificatieCode>
|
||||
<http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>
|
||||
<http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>
|
||||
<http://mu.semte.ch/vocabularies/ext/BestuursorgaanClassificatieCode>
|
||||
<http://mu.semte.ch/vocabularies/ext/BestuursfunctieCode>
|
||||
<http://data.lblod.info/vocabularies/leidinggevenden/FunctionarisStatusCode>
|
||||
<http://www.w3.org/ns/prov#Location>
|
||||
}
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/landing-zone/leidinggevenden> {
|
||||
?s a ?type;
|
||||
?p ?o.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/landing-zone/mandatarissen> {
|
||||
?s a ?type;
|
||||
?p ?o.
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
VALUES ?type {
|
||||
<http://mu.semte.ch/vocabularies/ext/MandatarisStatusCode>
|
||||
<http://data.vlaanderen.be/ns/mandaat#Mandaat>
|
||||
<http://mu.semte.ch/vocabularies/ext/BestuursfunctieCode>
|
||||
<http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>
|
||||
<http://mu.semte.ch/vocabularies/ext/BestuursorgaanClassificatieCode>
|
||||
<http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>
|
||||
<http://mu.semte.ch/vocabularies/ext/BestuurseenheidClassificatieCode>
|
||||
<http://www.w3.org/ns/prov#Location>
|
||||
}
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/landing-zone/mandatarissen> {
|
||||
?s a ?type;
|
||||
?p ?o.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s skos:inScheme <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b>.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
VALUES ?nisScheme {
|
||||
<http://vocab.belgif.be/auth/refnis2025>
|
||||
<http://vocab.belgif.be/auth/refnis2019>
|
||||
}
|
||||
|
||||
?s a <http://www.w3.org/2004/02/skos/core#Concept> ;
|
||||
<http://www.w3.org/2004/02/skos/core#inScheme> ?nisScheme .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
PREFIX core: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX lblodorg: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
PREFIX euro: <http://data.europa.eu/m8g/>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?event ?ep ?eo .
|
||||
|
||||
?result ?rp ?ro .
|
||||
|
||||
?decision ?de ?do .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
VALUES ?changeEventUuid {
|
||||
"675AFDCA29299CC832892989" # CKB Beveren
|
||||
|
||||
"675AC8C529299CC83289296D" # CKB De Pinte
|
||||
|
||||
"675AC99229299CC83289296F" # CKB Merelbeke
|
||||
|
||||
"675AB94329299CC83289295D" # CKB Galmaarden
|
||||
"675AD32529299CC83289297B" # CKB Galmaarden
|
||||
|
||||
"675AB98C29299CC83289295F" # CKB Gooik
|
||||
"675AD47629299CC83289297D" # CKB Gooik
|
||||
|
||||
"675AD50229299CC83289297F" # CKB Herne
|
||||
"675AB9D229299CC832892961" # CKB Herne
|
||||
|
||||
"675ACA5F29299CC832892971" # CKB Tessenderlo
|
||||
|
||||
"6774F73E29299CC8328929D3" # CKB Ham
|
||||
}
|
||||
|
||||
?event a org:ChangeEvent ;
|
||||
core:uuid ?changeEventUuid ;
|
||||
lblodorg:veranderingsgebeurtenisResultaat ?result ;
|
||||
?ep ?eo .
|
||||
|
||||
?result a lblodorg:VeranderingsgebeurtenisResultaat ;
|
||||
?rp ?ro .
|
||||
|
||||
OPTIONAL {
|
||||
?event euro:hasFormalFramework ?decision .
|
||||
?decision a besluit:Besluit ;
|
||||
?de ?do .
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?s <http://purl.org/dc/terms/modified> ?modified .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
?s <http://purl.org/dc/terms/modified> "1000-01-01"^^xsd:date .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
?s a <http://mu.semte.ch/vocabularies/ext/KboOrganisatie> ;
|
||||
<http://purl.org/dc/terms/modified> ?modified .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
http://mu.semte.ch/graphs/refnis2019-data-temp
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
PREFIX schemas: <https://schema.org/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?nis2019 schemas:endDate ?currentEndDate .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?nis2019 schemas:endDate ?newEndDate .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?nis2019 skos:inScheme <http://vocab.belgif.be/auth/refnis2019> ;
|
||||
schemas:endDate ?currentEndDate .
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/refnis2019-data-temp> {
|
||||
?nis2019 schemas:endDate ?newEndDate .
|
||||
}
|
||||
FILTER (?currentEndDate != ?newEndDate)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
CLEAR GRAPH <http://mu.semte.ch/graphs/refnis2019-data-temp>
|
||||
@@ -0,0 +1,18 @@
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?werkingsgebied skos:exactMatch ?nis2019 .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?werkingsgebied skos:exactMatch ?nis2025 .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?werkingsgebied skos:exactMatch ?nis2019 .
|
||||
}
|
||||
VALUES (?nis2019 ?nis2025) {
|
||||
(<http://vocab.belgif.be/auth/refnis2019/10000> <http://vocab.belgif.be/auth/refnis2025/10000>) # Antwerp province
|
||||
(<http://vocab.belgif.be/auth/refnis2019/40000> <http://vocab.belgif.be/auth/refnis2025/40000>) # East Flanders province
|
||||
(<http://vocab.belgif.be/auth/refnis2019/11002> <http://vocab.belgif.be/auth/refnis2025/11002>) # Antwerp municipality
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
PREFIX prov: <http://www.w3.org/ns/prov#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?sourceGraph {
|
||||
?werkingsgebied ?p ?o .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?werkingsgebied ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?sourceGraph {
|
||||
?werkingsgebied a prov:Location ;
|
||||
ext:werkingsgebiedNiveau ?level ;
|
||||
?p ?o .
|
||||
}
|
||||
VALUES ?sourceGraph {
|
||||
<http://mu.semte.ch/graphs/administrative-unit>
|
||||
<http://mu.semte.ch/graphs/shared>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?districtLocation geo:sfWithin ?antwerpLocation .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?districtLocation a prov:Location ;
|
||||
ext:werkingsgebiedNiveau ?level .
|
||||
FILTER (?level = "District")
|
||||
}
|
||||
# Hardcode the werkingsgbied for the Antwerp municipality as it is the only one with districts anyway.
|
||||
BIND (<http://data.lblod.info/id/werkingsgebieden/3a9b09cbccb798c8f9d5bad3fce1476bce1ee014165ba243488b0af690d0f464> AS ?antwerpLocation)
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?borsbeekLocation a prov:Location;
|
||||
mu:uuid ?uuid ;
|
||||
rdfs:label "Borsbeek" ;
|
||||
ext:werkingsgebiedNiveau "District" ;
|
||||
geo:sfWithin ?antwerpLocation .
|
||||
}
|
||||
# Also link this new werkingsgbied to the actual district
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?borsbeekDistrict besluit:werkingsgebied ?borsbeekLocation .
|
||||
}
|
||||
} WHERE {
|
||||
BIND(SHA256(CONCAT("Werkingsgebied for the district of Borsbeek")) AS ?uuid)
|
||||
BIND(IRI(CONCAT("http://data.lblod.info/id/werkingsgebieden/", STR(?uuid))) AS ?borsbeekLocation)
|
||||
|
||||
BIND (<http://data.lblod.info/id/werkingsgebieden/3a9b09cbccb798c8f9d5bad3fce1476bce1ee014165ba243488b0af690d0f464> AS ?antwerpLocation)
|
||||
BIND (<http://data.lblod.info/id/bestuurseenheden/4b44e6f1-113b-4692-b149-44a889b215f2> AS ?borsbeekDistrict)
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?municipalityLocation geo:sfWithin ?provinceLocation .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?municipality a besluit:Bestuurseenheid ;
|
||||
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001> .
|
||||
?province a besluit:Bestuurseenheid ;
|
||||
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000> .
|
||||
}
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?membership a org:Membership ;
|
||||
org:member ?municipality ;
|
||||
org:organization ?province .
|
||||
|
||||
?municipality besluit:werkingsgebied ?municipalityLocation .
|
||||
?province besluit:werkingsgebied ?provinceLocation .
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX prov: <http://www.w3.org/ns/prov#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?s ?p ?o .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?s ?p ?o .
|
||||
VALUES ?p {
|
||||
geo:sfWithin
|
||||
skos:exactMatch
|
||||
}
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s a prov:Location .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
PREFIX dct: <http://purl.org/dc/terms/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/68021371D4DB18EC8BA958FC> dct:date ?oldDate .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/68021371D4DB18EC8BA958FC> dct:date "2023-11-30"^^xsd:date .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/68021371D4DB18EC8BA958FC> dct:date ?oldDate .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?membership ?p ?o .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?membership ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
?membership a org:Membership ;
|
||||
?p ?o .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX concept_schemes: <http://data.lblod.info/doc/conceptscheme#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
concept_schemes:ProvincesConceptScheme a skos:ConceptScheme ;
|
||||
skos:prefLabel "Provinces Concept Scheme" ;
|
||||
dcterms:description "A concept scheme containing all the location entities that are provinces".
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
INSERT
|
||||
{
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?province_uri rdf:type skos:Concept ;
|
||||
skos:inScheme concept_schemes:ProvincesConceptScheme .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?province_uri ext:werkingsgebiedNiveau "Provincie".
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?address adres:adresIsGelegenIn ?province_uri .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?address rdf:type locn:Address ;
|
||||
locn:adminUnitL2 ?province_literal .
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?province_uri rdfs:label ?province_literal ;
|
||||
ext:werkingsgebiedNiveau "Provincie" .
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?address adres:adresIsGelegenIn ?province_uri .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?address rdf:type locn:Address ;
|
||||
locn:adminUnitL2 ?province_literal .
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?province_uri rdfs:label ?province_literal ;
|
||||
ext:werkingsgebiedNiveau "Provincie" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
http://mu.semte.ch/graphs/public
|
||||
@@ -0,0 +1,41 @@
|
||||
@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/42245582-ea60-4d44-80ef-c686901eccb5> a cleanup:Job ;
|
||||
mu:uuid "42245582-ea60-4d44-80ef-c686901eccb5" ;
|
||||
dcterms:title "Insert missing province uris for addresses of administrative units" ;
|
||||
cleanup:randomQuery """
|
||||
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?address adres:adresIsGelegenIn ?province_uri .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?address rdf:type locn:Address ;
|
||||
locn:adminUnitL2 ?province_literal .
|
||||
FILTER NOT EXISTS {
|
||||
?address adres:adresIsGelegenIn ?province_uri2 .
|
||||
}
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?province_uri rdfs:label ?province_literal ;
|
||||
ext:werkingsgebiedNiveau "Provincie" .
|
||||
BIND (?province_uri as ?province_uri2)
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
""" .
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
http://mu.semte.ch/graphs/public
|
||||
@@ -0,0 +1,39 @@
|
||||
@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/cdbb9f4e-90cc-40f6-a0a9-bd0bd8c9105f> a cleanup:Job ;
|
||||
mu:uuid "cdbb9f4e-90cc-40f6-a0a9-bd0bd8c9105f" ;
|
||||
dcterms:title "Insert missing province uris for addresses of worship services" ;
|
||||
cleanup:randomQuery """
|
||||
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?address adres:adresIsGelegenIn ?province_uri .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?address rdf:type locn:Address ;
|
||||
locn:adminUnitL2 ?province_literal .
|
||||
FILTER NOT EXISTS {
|
||||
?address adres:adresIsGelegenIn ?province_uri2 .
|
||||
}
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?province_uri rdfs:label ?province_literal ;
|
||||
ext:werkingsgebiedNiveau "Provincie" .
|
||||
BIND (?province_uri as ?province_uri2)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
""" .
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
PREFIX core: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX lblodorg: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
PREFIX euro: <http://data.europa.eu/m8g/>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?event ?ep ?eo .
|
||||
|
||||
?result ?rp ?ro .
|
||||
|
||||
?decision ?de ?do .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?event a org:ChangeEvent ;
|
||||
core:uuid "6824418BD4DB18EC8BA95940" ;
|
||||
lblodorg:veranderingsgebeurtenisResultaat ?result ;
|
||||
?ep ?eo .
|
||||
|
||||
?result a lblodorg:VeranderingsgebeurtenisResultaat ;
|
||||
?rp ?ro .
|
||||
|
||||
OPTIONAL {
|
||||
?event euro:hasFormalFramework ?decision .
|
||||
?decision a besluit:Besluit ;
|
||||
?de ?do .
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
PREFIX dct: <http://purl.org/dc/terms/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/682443E0D4DB18EC8BA95945> dct:date ?oldDate .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/682443E0D4DB18EC8BA95945> dct:date "2021-06-18"^^xsd:date .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/682443E0D4DB18EC8BA95945> dct:date ?oldDate .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
|
||||
INSERT DATA {
|
||||
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
<http://data.lblod.info/id/bestuurseenheden/a33d5059-d527-4c9a-a788-1b7f5c75d10e>
|
||||
rdf:type <http://www.w3.org/ns/org#Organization> , <http://data.vlaanderen.be/ns/besluit#Bestuurseenheid> , dcterms:Agent ;
|
||||
owl:sameAs <http://data.vlaanderen.be/doc/organisatie/OVO053550> ;
|
||||
<http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/52cc9d8d-1c9a-4d92-9936-da9d4a622ec4> ;
|
||||
<http://www.w3.org/ns/org#linkedTo> <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "a33d5059-d527-4c9a-a788-1b7f5c75d10e" ;
|
||||
skos:prefLabel "Kabinet Crevits" ;
|
||||
<http://www.w3.org/2004/02/skos/core#note> """This is a special case, we consider (for now) Kabinet Crevits as a bestuurseenheid, of org:classification ABB.""";
|
||||
<http://www.w3.org/ns/adms#identifier> <http://data.lblod.info/id/identificatoren/b53dc2b0-7fca-4c59-8f2a-276753edb81e> ;
|
||||
<http://www.w3.org/ns/regorg#orgStatus> <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> ;
|
||||
<http://www.w3.org/ns/regorg#legalName> "Kabinet Crevits" .
|
||||
|
||||
<http://data.lblod.info/id/identificatoren/b53dc2b0-7fca-4c59-8f2a-276753edb81e>
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> <http://data.lblod.info/id/gestructureerdeIdentificator/aac3f5c0-e525-4cec-8432-2d59806661e5>;
|
||||
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/adms#Identifier>;
|
||||
<http://www.w3.org/2004/02/skos/core#notation> "OVO-nummer" ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "b53dc2b0-7fca-4c59-8f2a-276753edb81e" .
|
||||
|
||||
<http://data.lblod.info/id/gestructureerdeIdentificator/aac3f5c0-e525-4cec-8432-2d59806661e5>
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "aac3f5c0-e525-4cec-8432-2d59806661e5";
|
||||
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator>;
|
||||
<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "OVO053550" .
|
||||
}
|
||||
}
|
||||
@@ -231,10 +231,12 @@ DefaultHost = localhost:8890
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 1000000 ; 1 million
|
||||
MaxConstructTriples = 1000000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;MaxQueryCostEstimationTime = 4000 ; in seconds
|
||||
MaxQueryExecutionTime = 1200 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
[Plugins]
|
||||
|
||||
@@ -231,10 +231,12 @@ DefaultHost = localhost:8890
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 1000000 ; 1 million
|
||||
MaxConstructTriples = 1000000 ; More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;MaxQueryCostEstimationTime = 4000 ; in seconds
|
||||
MaxQueryExecutionTime = 1200 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited). More info on this addition here: https://github.com/redpencilio/docker-virtuoso/pull/29
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
[Plugins]
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
(read-domain-file "domain.json")
|
||||
(read-domain-file "auth.json")
|
||||
(read-domain-file "change-events.json")
|
||||
(read-domain-file "files-domain.lisp")
|
||||
(read-domain-file "file.json")
|
||||
(read-domain-file "dcat.json")
|
||||
(read-domain-file "privacy-centric-service.json")
|
||||
(read-domain-file "job.json")
|
||||
(read-domain-file "report.json")
|
||||
(read-domain-file "log.json")
|
||||
(read-domain-file "harvest.json")
|
||||
|
||||
107
config/resources/file.json
Normal file
107
config/resources/file.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"version": "0.1",
|
||||
"prefixes": {
|
||||
"adms": "http://www.w3.org/ns/adms#",
|
||||
"dct": "http://purl.org/dc/terms/",
|
||||
"dbpedia": "http://dbpedia.org/ontology/",
|
||||
"nfo": "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#",
|
||||
"nie": "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#",
|
||||
"rpioHttp": "http://redpencil.data.gift/vocabularies/http/",
|
||||
"skos": "http://www.w3.org/2004/02/skos/core#",
|
||||
"task": "http://redpencil.data.gift/vocabularies/tasks/"
|
||||
},
|
||||
"resources": {
|
||||
"files": {
|
||||
"name": "file",
|
||||
"class": "nfo:FileDataObject",
|
||||
"attributes": {
|
||||
"filename": {
|
||||
"type": "string",
|
||||
"predicate": "nfo:fileName"
|
||||
},
|
||||
"format": {
|
||||
"type": "string",
|
||||
"predicate": "dct:format"
|
||||
},
|
||||
"size": {
|
||||
"type": "number",
|
||||
"predicate": "nfo:fileSize"
|
||||
},
|
||||
"extension": {
|
||||
"type": "string",
|
||||
"predicate": "dbpedia:fileExtension"
|
||||
},
|
||||
"created": {
|
||||
"type": "datetime",
|
||||
"predicate": "nfo:fileCreated"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"download": {
|
||||
"predicate": "nie:dataSource",
|
||||
"target": "file",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
},
|
||||
"data-container": {
|
||||
"predicate": "task:hasFile",
|
||||
"target": "data-container",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"features": ["include-uri"],
|
||||
"new-resource-base": "http://data.lblod.info/files/"
|
||||
},
|
||||
"remote-data-objects": {
|
||||
"name": "remote-data-object",
|
||||
"class": "nfo:RemoteDataObject",
|
||||
"attributes": {
|
||||
"source": {
|
||||
"type": "url",
|
||||
"predicate": "nie:url"
|
||||
},
|
||||
"created": {
|
||||
"type": "datetime",
|
||||
"predicate": "dct:created"
|
||||
},
|
||||
"modified": {
|
||||
"type": "datetime",
|
||||
"predicate": "dct:modified"
|
||||
},
|
||||
"request-header": {
|
||||
"type": "url",
|
||||
"predicate": "rpioHttp:requestHeader"
|
||||
},
|
||||
"status": {
|
||||
"type": "url",
|
||||
"predicate": "adms:status"
|
||||
},
|
||||
"comment": {
|
||||
"type": "string",
|
||||
"predicate": "skos:comment"
|
||||
},
|
||||
"creator": {
|
||||
"type": "url",
|
||||
"predicate": "dct:creator"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"file": {
|
||||
"predicate": "nie:dataSource",
|
||||
"target": "file",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
},
|
||||
"harvesting-collection": {
|
||||
"predicate": "dct:hasPart",
|
||||
"target": "harvesting-collection",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"features": ["include-uri"],
|
||||
"new-resource-base": "http://data.lblod.info/id/remote-data-objects/"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
(define-resource file ()
|
||||
:class (s-prefix "nfo:FileDataObject")
|
||||
:properties `((:filename :string ,(s-prefix "nfo:fileName"))
|
||||
(:format :string ,(s-prefix "dct:format"))
|
||||
(:size :number ,(s-prefix "nfo:fileSize"))
|
||||
(:extension :string ,(s-prefix "dbpedia:fileExtension"))
|
||||
(:created :datetime ,(s-prefix "nfo:fileCreated")))
|
||||
:has-one `((file :via ,(s-prefix "nie:dataSource")
|
||||
:inverse t
|
||||
:as "download"))
|
||||
:resource-base (s-url "http://data.lblod.info/files/")
|
||||
:features `(no-pagination-defaults include-uri)
|
||||
:on-path "files")
|
||||
40
config/resources/harvest.json
Normal file
40
config/resources/harvest.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"version": "0.1",
|
||||
"prefixes": {
|
||||
"adms": "http://www.w3.org/ns/adms#",
|
||||
"dct": "http://purl.org/dc/terms/",
|
||||
"hrvst": "http://lblod.data.gift/vocabularies/harvesting/",
|
||||
"task": "http://redpencil.data.gift/vocabularies/tasks/"
|
||||
},
|
||||
"resources": {
|
||||
"harvesting-collections": {
|
||||
"name": "harvesting-collection",
|
||||
"class": "hrvst:HarvestingCollection",
|
||||
"attributes": {
|
||||
"status": {
|
||||
"type": "url",
|
||||
"predicate": "adms:status"
|
||||
},
|
||||
"creator": {
|
||||
"type": "url",
|
||||
"predicate": "dct:creator"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"remote-data-objects": {
|
||||
"predicate": "dct:hasPart",
|
||||
"target": "remote-data-object",
|
||||
"cardinality": "many"
|
||||
},
|
||||
"data-container": {
|
||||
"predicate": "task:hasHarvestingCollection",
|
||||
"target": "data-container",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"features": ["include-uri"],
|
||||
"new-resource-base": "http://data.lblod.info/id/harvesting-collection/"
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user