Compare commits

...

16 Commits

Author SHA1 Message Date
felix
ab5de759ad a v0.2.0-ish version 2026-09-26 23:24:13 +02:00
felix
2953105d30 Rapport spec as attachment 2026-09-26 16:54:06 +02:00
felix
675437b18a debump frontend because bug 2026-09-16 17:13:41 +02:00
felix
f267b3fd5d updated shcl profile 2026-09-16 11:33:52 +02:00
felix
79288808b6 more elaborate low 2026-09-16 00:25:57 +02:00
felix
cac8ffd248 all other things needed for chat assistent 2026-09-15 23:25:07 +02:00
felix
702b067488 update config mu-auth 2026-09-15 23:24:49 +02:00
felix
2c812ed48b WIP 2026-09-15 19:12:26 +02:00
Damon
c55ad4eebb frontend bump 2026-09-14 16:09:40 +02:00
Damon Kennes
65a2681b4d Merge pull request #630 from lblod/feature/OP-3902-bijkomende-kwalificatie-backend
OP-3902: added bijkomende kwalificatie
2026-09-14 15:55:30 +02:00
Damon Kennes
ae987abec1 Update config/dispatcher/dispatcher.ex
Co-authored-by: Sam Van Campenhout <sam.van.campenhout@gmail.com>
2026-09-14 15:30:10 +02:00
Damon
c5abe136ce Changelog update regarding frontend 2026-09-14 15:09:54 +02:00
Damon
a456509fb2 Merge branch 'development' into feature/OP-3902-bijkomende-kwalificatie-backend
# Conflicts:
#	CHANGELOG.md
2026-09-11 11:36:58 +02:00
Damon
52ae4b4ce7 OP-3902: remove inhoudelijkThema predicate from auth config 2026-09-09 13:43:04 +02:00
Damon
50ccac2c5d OP-3902: removed predicate from auth config 2026-09-09 13:08:30 +02:00
Damon
22be3539bd OP-3902: added bijkomende kwalificatie 2026-09-07 16:19:47 +02:00
20 changed files with 2296 additions and 4 deletions

View File

@@ -36,6 +36,7 @@
- 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)
- Add "Bijkomende kwalificatie" (with "Rechtsgrond" and "Definitie") codelist and organization relationship [OP-3902]
### Deploy notes
```
@@ -88,6 +89,12 @@ drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/
drc up -d construct-organization-relationships frontend
```
```
drc up -d frontend
drc restart migrations
drc restart resource cache db dispatcher
```
## v1.41.3
- Fix betrokken lokale besturen links via migration [OP-3882]

View File

@@ -56,6 +56,9 @@
:reporting "http://lblod.data.gift/vocabularies/reporting/"
:oslc "http://open-services.net/ns/core#"
:cogs "http://vocab.deri.ie/cogs#"
:sioc "http://rdfs.org/sioc/ns#"
:sioct "http://rdfs.org/sioc/types#"
:as "https://www.w3.org/ns/activitystreams#"
)
(type-cache::add-type-for-prefix "http://mu.semte.ch/sessions/" "http://mu.semte.ch/vocabularies/session/Session")
@@ -220,7 +223,8 @@
("code:EredienstBeroepen" -> _)
("code:Rechtsvormtype" -> _)
("prov:Location" -> _)
("code:inhoudelijkThema" -> _))
("code:BijkomendeKwalificatieCode" -> _)
("prov:SoftwareAgent" -> _))
(define-graph shared ("http://mu.semte.ch/graphs/shared")
("foaf:Image" -> _)
@@ -266,6 +270,22 @@
("nfo:DataContainer" -> _)
("nfo:FileDataObject" -> _))
;; Chat: one graph per account, only its owner reads or writes it.
;; The four chat types appear in no other group: a graph-less insert lands
;; in every graph whose group allows the type.
(define-graph chat ("http://mu.semte.ch/graphs/users/")
("reporting:Report" -> _)
("oslc:Error" -> _)
("nfo:DataContainer" -> _)
("nfo:FileDataObject" -> _)
("cogs:Job" -> _)
("nfo:DataContainer" -> _)
("nfo:FileDataObject" -> _)
("sioc:Thread" -> _)
("sioc:Post" -> _)
("sioct:InstantMessage" -> _)
("as:Document" -> _))
(supply-allowed-group "public")
(supply-allowed-group "o-admin-rwf"
@@ -336,6 +356,25 @@
FILTER( ?session_role = \"ABBOrganisatiePortaalErediensten-beheerder\" )
}")
(supply-allowed-group "chat-owner"
:parameters ("session_account")
:query "PREFIX session: <http://mu.semte.ch/vocabularies/session/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
SELECT DISTINCT ?session_account WHERE {
<SESSION_ID> session:account/mu:uuid ?session_account.
}")
;; Note: this actually a nasty thing in the orginal code. workaround here
(supply-allowed-group "chat-access"
:parameters ()
:query "PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX session: <http://mu.semte.ch/vocabularies/session/>
SELECT DISTINCT ?session_role WHERE {
<SESSION_ID> ext:sessionRole ?session_role.
FILTER( ?session_role = \"ABBOrganisatiePortaalGebruiker-editeerder\" )
}")
(grant (read)
:to-graph (acmidm-lezer acmidm-vendor)
:for-allowed-group "ABBOrganisatiePortaalGebruiker-lezer")
@@ -364,6 +403,24 @@
:to-graph (public shared)
:for-allowed-group "public")
;; natural-language-report-service reads the public graph under its own
;; scope during refinement (code lists, lookup_values). The service passes
;; this scope with mu's query(q, { scope }); sparql-parser then uses only
;; this grant, so the LLM reads public data and nothing beyond it.
;; Execution (run_report) still runs as the caller's session.
(with-scope "http://services.semantic.works/natural-language-report"
(grant (read)
:to-graph public
:for-allowed-group "public"))
(grant (read write)
:to-graph (reports jobs system-jobs)
:for-allowed-group "o-admin-rwf")
(grant (read write)
:to-graph (chat) ;; Note: this actually a nasty thing in the orginal code. workaround here
:for-allowed-group "chat-owner")
(grant (read)
:to-graph (acmidm-editeerder) ;; Note: this actually a nasty thing in the orginal code. workaround here
:for-allowed-group "chat-access")

View File

@@ -199,6 +199,27 @@ export default [
gracePeriod: 1000,
ignoreFromSelf: true
}
},
// The chat's data (per-user graphs) is written straight to the store by
// the natural-language-report service, so mu-cl-resources only sees it
// fresh when a delta clears its caches.
{
match: {
subject: {}
},
callback: {
url: 'http://resource/.mu/delta',
method: 'POST'
},
options: {
resourceFormat: 'v0.0.1',
gracePeriod: 250,
ignoreFromSelf: true,
optOutMuScopeIds: [
"http://redpencil.data.gift/id/concept/muScope/deltas/initialSync",
"http://redpencil.data.gift/id/concept/muScope/deltas/vendor-data"
]
}
}
/*
Commenting ldes rules until ready to go to qa/prod. In the meantime, we override the configuration on dev.

View File

@@ -95,6 +95,10 @@ defmodule Dispatcher do
Proxy.forward(conn, path, "http://cache/registered-organization-classification-codes/")
end
get "/additional-qualification-codes/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/additional-qualification-codes/")
end
match "/worship-administrative-units/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/worship-administrative-units/")
end
@@ -244,6 +248,47 @@ defmodule Dispatcher do
Proxy.forward(conn, path, "http://resource/kbo-organizations/")
end
###############################################################
# CHAT
# To the resource service, not the cache: the data is per user and
# changes every few seconds.
###############################################################
match "/chat-conversations/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://resource/chat-conversations/")
end
match "/chat-messages/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://resource/chat-messages/")
end
match "/chat-instant-messages/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://resource/chat-instant-messages/")
end
match "/chat-documents/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://resource/chat-documents/")
end
match "/chat-agents/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://resource/chat-agents/")
end
# The chat frontend's login screens speak the gebruiker/bestuurseenheid
# resource names (frontend-lblod-chat, used verbatim). The same data as
# /users and /groups, seen through the loket naming.
match "/gebruikers/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/gebruikers/")
end
match "/bestuurseenheden/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/bestuurseenheden/")
end
match "/bestuurseenheid-classificatie-codes/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/bestuurseenheid-classificatie-codes/")
end
# Dashboard
match "/jobs/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/jobs/")
@@ -413,6 +458,15 @@ defmodule Dispatcher do
forward(conn, path, "http://error-report-service/error-reports/")
end
#################################################################
# CHAT ASSISTANT
# The chat's turn endpoint: POST /assistant/conversations/:id/turns
#################################################################
match "/assistant/*path" do
forward(conn, path, "http://natural-language-report/assistant/")
end
#################################################################
# FILES
#################################################################
@@ -487,6 +541,20 @@ defmodule Dispatcher do
forward conn, [], "http://frontend-dashboard/index.html"
end
# The chat frontend (frontend-lblod-chat). Hosted on the "chat"
# subdomain (reverse_host), so the SPA stays a separate app.
get "/assets/*path", %{ reverse_host: ["chat" | _rest], layer: :api } do
forward conn, path, "http://chat/assets/"
end
get "/@appuniversum/*path", %{ reverse_host: ["chat" | _rest], layer: :api } do
forward conn, path, "http://chat/@appuniversum/"
end
match "/*_path", %{ reverse_host: ["chat" | _rest], layer: :api, accept: [:html] } do
forward conn, [], "http://chat/index.html"
end
match "/assets/*path", %{layer: :api} do
Proxy.forward(conn, path, "http://frontend/assets/")
end

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/public

View File

@@ -0,0 +1,200 @@
@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 code: <http://lblod.data.gift/vocabularies/organisatie/> .
@prefix conceptscheme: <http://data.vlaanderen.be/id/conceptscheme/> .
@prefix concept: <http://lblod.data.gift/concepts/> .
# Concept Scheme for Additional Qualification (Bijkomende kwalificatie)
conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3
rdf:type skos:ConceptScheme ;
mu:uuid "48face96-e06d-4a3e-9fc6-f625e763a0a3" ;
skos:prefLabel "Bijkomende kwalificatie" .
concept:f877fae8-5101-4513-871c-4dd2151b0c99
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "f877fae8-5101-4513-871c-4dd2151b0c99" ;
skos:prefLabel "Geen bijkomende kwalificatie" ;
code:rechtsgrond "Geen rechtsgrond" ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:fb7c4b8d-6927-45ba-8f4e-f4854d437815
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "fb7c4b8d-6927-45ba-8f4e-f4854d437815" ;
skos:prefLabel "Afvalintercommunale" ;
code:rechtsgrond "Artikel 26 van het decreet betreffende het duurzaam beheer van materiaalkringlopen en afvalstoffen" ;
skos:definition "Een samenwerkingsverband dat ertoe bijdraagt de huishoudelijke afvalstoffen zo veel mogelijk worden voorkomen of worden hergebruikt, op regelmatige tijdstippen worden opgehaald of op een andere wijze worden ingezameld, en nuttig worden toegepast of verwijderd, overeenkomstig artikel 11, 12 en 13 van het decreet betreffende het duurzaam beheer van materiaalkringlopen en afvalstoffen." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:7f51db9f-e934-4234-9870-fb18ed7afc16
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "7f51db9f-e934-4234-9870-fb18ed7afc16" ;
skos:prefLabel "Bibliotheekwerking binnen IGS bovenlokale cultuurwerking" ;
code:rechtsgrond "Artikelen 33 tot en met 39 van het Bovenlokaalcultuurdecreet van 8 maart 2024" ;
skos:definition "Een intergemeentelijk samenwerkingsverband met rechtspersoonlijkheid dat, binnen zijn bovenlokale cultuurwerking, bibliotheken of bibliotheekdiensten als culturele actoren, praktijken of diensten samenbrengt, ondersteunt, innoveert of verduurzaamt." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:87966ef7-cc35-48c3-94b6-ffb41f65bed3
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "87966ef7-cc35-48c3-94b6-ffb41f65bed3" ;
skos:prefLabel "Distributienetbeheerder" ;
code:rechtsgrond "Artikel 4.1.1 van het Energiedecreet" ;
skos:definition "Een rechtspersoon die door de Vlaamse Nutsregulator belast wordt met het beheer van het elektriciteits- en het aardgasdistributienet van een aaneensluitend geografisch afgebakend gebied." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:910dde7d-3eda-40f0-948b-ca81c7b0152d
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "910dde7d-3eda-40f0-948b-ca81c7b0152d" ;
skos:prefLabel "Energieholding en/of -participatie" ;
code:rechtsgrond "Artikel 180 van de Energiewet van 1994" ;
skos:definition "Een rechtspersoon of samenwerkingsverband dat energiegerelateerde participaties of holdings aanhoudt of beheert, zonder dat dit een afzonderlijke rechtsvorm of sectorale erkenning vormt." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:f92cde87-1ae2-4278-aaa8-78ad598e04b1
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "f92cde87-1ae2-4278-aaa8-78ad598e04b1" ;
skos:prefLabel "Energiehuis" ;
code:rechtsgrond "Artikel 1.1.3, 40°/2 en titel IX Energiehuizen van het Energiedecreet" ;
skos:definition "Een rechtspersoon of samenwerkingsverband die op het niveau van één of meer gemeenten diensten inzake energie en woningkwaliteit aanbiedt aan de klant en door de Vlaamse minister van Energie werd erkend." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:2980c9c5-3e7a-4114-a1bd-a51f8ae34b3c
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "2980c9c5-3e7a-4114-a1bd-a51f8ae34b3c" ;
skos:prefLabel "IGS bovenlokaal netwerk vrijetijdsparticipatie" ;
code:rechtsgrond "Artikelen 40 tot en met 46 van het Bovenlokaalcultuurdecreet van 8 maart 2024" ;
skos:definition "Een samenwerkingsverband dat een werkingssubsidie werd toegekend door de Vlaamse Regering voor de organisatie van een bovenlokaal netwerk vrijetijdsparticipatie met als doel de participatiedrempels van personen in armoede bij participatie in cultuur, jeugdwerk en sport in het werkingsgebied weg te werken." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:14fc15f7-8217-4b15-8e3c-1e6dcc2570ee
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "14fc15f7-8217-4b15-8e3c-1e6dcc2570ee" ;
skos:prefLabel "IGS bovenlokale cultuurwerking" ;
code:rechtsgrond "Artikel 33 van het Bovenlokaalcultuurdecreet van 8 maart 2024" ;
skos:definition "Een samenwerkingsverband dat een werkingssubsidie werd toegekend door de Vlaamse Regering voor een bovenlokale cultuurwerking om een geïntegreerde, inclusieve bovenlokale cultuurwerking in hun werkingsgebied te ontwikkelen, in stand te houden en te verspreiden." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:7a4abacb-3a15-4086-a1e3-d7e198d3ee4b
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "7a4abacb-3a15-4086-a1e3-d7e198d3ee4b" ;
skos:prefLabel "IGS crematorium" ;
code:rechtsgrond "Besluit van de Vlaamse Regering van 14 mei 2004 tot organisatie, inrichting en beheer van begraafplaatsen en crematoria." ;
skos:definition "Een samenwerkingsverband dat op grond van de regelgeving over begraafplaatsen en lijkbezorging een intergemeentelijk crematorium opricht en beheert." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:59fd0892-6c97-4676-ae28-5afaee07b979
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "59fd0892-6c97-4676-ae28-5afaee07b979" ;
skos:prefLabel "IGS cultureel-erfgoedwerking" ;
code:rechtsgrond "Artikel 57 van het Cultureelerfgoeddecreet van 23 december 2021 en uitvoeringsbepalingen" ;
skos:definition "Een samenwerkingsverband dat een werkingssubsidie werd toegekend door de Vlaamse Regering voor de werking van een cultureelerfgoedcel, die een initiërende, coördinerende en ondersteunende rol opneemt, en van eventuele collectiebeherende organisaties voor zover deze de dienstverlenende rol mee opnemen." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:f4a15c55-910d-40ca-be41-41aa428ca993
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "f4a15c55-910d-40ca-be41-41aa428ca993" ;
skos:prefLabel "IGS jeugdwerk en jeugdbeleid" ;
code:rechtsgrond "Artikel 38 van het Jeugddecreet van 23 november 2023" ;
skos:definition "Een samenwerkingsverband dat een werkingssubsidie werd toegekend door de Vlaamse Regering voor het stimuleren van samenwerking en netwerking tussen lokale besturen over het jeugdwerk en het jeugdbeleid binnen hun werkingsgebied." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:fa245a09-bd4d-499a-9bf3-fba5f028c061
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "fa245a09-bd4d-499a-9bf3-fba5f028c061" ;
skos:prefLabel "IGS lokaal woonbeleid" ;
code:rechtsgrond "Artikelen 2.2., 2.11. en 2.13. van het Besluit Vlaamse Codex Wonen van 2021" ;
skos:definition "Een intergemeentelijk samenwerkingsverband dat een subsidie werd toegekend door de Vlaamse Regering met het oog op de realisatie van de Vlaamse beleidsprioriteiten op lokaal woonbeleid, zoals: De gemeente zorgt voor een divers en betaalbaar woonaanbod afhankelijk van de woonnoden. De gemeente werkt aan de kwaliteit van het woningpatrimonium en de woonomgeving. De gemeente informeert, adviseert en begeleidt inwoners met vragen over wonen." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:2ca3f306-5167-4b05-a0cf-9650c75eb2c9
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "2ca3f306-5167-4b05-a0cf-9650c75eb2c9" ;
skos:prefLabel "IGS regierol sociale economie en werk" ;
code:rechtsgrond "Artikel 14 van het decreet van 22 maart 2024 over de ondersteuning van sociale economie en maatschappelijk verantwoord ondernemen" ;
skos:definition "Een intergemeentelijk samenwerkingsverband die de lokale regierol op het vlak van sociale economie en werk opneemt." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:cf6025af-52b4-4527-8e89-7eb8c38be70d
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "cf6025af-52b4-4527-8e89-7eb8c38be70d" ;
skos:prefLabel "IGS wijk-werken / Wijk-werken" ;
code:rechtsgrond "Artikelen 14 en 17 van het Wijk-werkendecreet van 7 juli 2017" ;
skos:definition "Een rechtspersoon of samenwerkingsverband die door de gemeente(n) werd aangeduid of opgericht als organisator van wijk-werken. Deze organisator is belast met de taken die omschreven worden in artikel 17 van het Wijk-werkendecreet van 7 juli 2017." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:d0e660ab-66e5-4929-a24c-a7e89fdf1a36
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "d0e660ab-66e5-4929-a24c-a7e89fdf1a36" ;
skos:prefLabel "Intergemeentelijke onroerenderfgoeddienst IOED" ;
code:rechtsgrond "Artikelen 2.1. en 3.3.1. van het Onroerenderfgoeddecreet" ;
skos:definition "Een intergemeentelijk samenwerkingsverband erkend door de Vlaamse Regering dat beleidsuitvoerende taken inzake onroerend erfgoed opneemt." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:de4ba614-265a-4741-9901-655cf4b89315
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "de4ba614-265a-4741-9901-655cf4b89315" ;
skos:prefLabel "Rioolbeheerder" ;
code:rechtsgrond "Artikel 2.6.1.3.3 van het gecodificeerd Decreet betreffende het integraal waterbeleid" ;
skos:definition "De gemeente, het gemeentebedrijf, de intercommunale, het intergemeentelijk samenwerkingsverband, de exploitant van een openbaar waterdistributienetwerk of een andere overeenkomstig de regelgeving aangewezen entiteit die verantwoordelijk is voor de uitvoering van de gemeentelijke saneringsverplichting" ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:6d0eb89d-921d-42fd-bb0f-ce2cd1db7cce
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "6d0eb89d-921d-42fd-bb0f-ce2cd1db7cce" ;
skos:prefLabel "Samenwerkingsverband geïntegreerd breed onthaal" ;
code:rechtsgrond "Artikelen 9 tot en met 11 van het decreet betreffende het lokaal sociaal beleid" ;
skos:definition "Een samenwerkingsverband, onder regie van het lokaal bestuur, dat minstens het OCMW, het centrum voor algemeen welzijnswerk en de erkende diensten maatschappelijk werk van de ziekenfondsen omvat en dat wordt gerealiseerd vanuit het Sociaal Huis." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:dc58093c-3c2c-4b67-a23d-86868d115e1e
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "dc58093c-3c2c-4b67-a23d-86868d115e1e" ;
skos:prefLabel "Sportregio/IGS Sportwerking" ;
code:rechtsgrond "Geen decretale rechtsgrond" ;
skos:definition "Een gemeentelijk of intergemeentelijk samenwerkingsverband waarin twee of meer gemeenten/steden of gelijkgestelde actoren hun sportbeleid bovenlokaal afstemmen, versterken of uitvoeren door sportpromotionele, beleidsmatige of ondersteunende projecten en activiteiten te ontwikkelen die tegemoetkomen aan behoeften van de deelnemende gemeenten/steden en effect hebben op hun gezamenlijke sportwerking." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:8d11f9bd-a485-4dce-b962-117e2c8112ef
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "8d11f9bd-a485-4dce-b962-117e2c8112ef" ;
skos:prefLabel "Streekontwikkelingsintercommunale" ;
code:rechtsgrond "Decreet ruimtelijke economie van 13 juli 2012" ;
skos:definition "Een samenwerkingsverband om bovenlokale noden en kansen in een streek te ondersteunen, voorbereiden, coördineren, regisseren of realiseren via intergemeentelijke, interbestuurlijke en eventueel publiek-private samenwerking, met het oog op duurzame ruimtelijke, economische, sociale en bestuurlijke ontwikkeling van de streek, en met gebruik van sectorale instrumenten inzake onder meer ruimtelijke planning, economische ruimte, bedrijventerreinen, grondbeleid, wonen, mobiliteit, infrastructuur, energie, klimaat en maatschappelijke dienstverlening." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:83e7e9b4-4e38-45ee-a225-940a14bd541d
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "83e7e9b4-4e38-45ee-a225-940a14bd541d" ;
skos:prefLabel "UiTPAS-regio" ;
code:rechtsgrond "Decreet digitale transformatie cultuursector 2023" ;
skos:definition "Een werkingsgebied van steden en/of gemeenten die zijn aangesloten bij het UiTPAS-initiatief waarin het door publiq ontwikkelde en beheerde UiTPAS-programma gezamenlijk wordt toegepast, met afspraken over het gebruik van de UiTPAS, openstelling van vrijetijdsaanbod, spaar- en omruilvoordelen, doelgroepafbakening, toepassing en verrekening van het kansentarief, en samenwerking rond vrijetijdsparticipatie; de regio wordt juridisch gedragen door de betrokken lokale besturen zelf, door een intergemeentelijke samenwerkingsovereenkomst of door een intergemeentelijk samenwerkingsverband met rechtspersoonlijkheid, en moet waar relevant voldoen aan de subsidievoorwaarden van het Bovenlokaalcultuurdecreet en de principes van regioconform samenwerken." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .
concept:55894cb9-2e5f-47b8-8aac-8681180e1f6b
rdf:type skos:Concept , code:BijkomendeKwalificatieCode ;
mu:uuid "55894cb9-2e5f-47b8-8aac-8681180e1f6b" ;
skos:prefLabel "Waterbeheerder" ;
code:rechtsgrond "Artikelen 2.1.2. en 2.3.5. van het gecodificeerd Decreet van 15 juni 2018 betreffende het integraal waterbeleid" ;
skos:definition "Exploitant van een openbaar waterdistributienetwerk, waterleverancier, rioolbeheerder of uitvoerder van de gemeentelijke saneringsverplichting." ;
skos:topConceptOf conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 ;
skos:inScheme conceptscheme:48face96-e06d-4a3e-9fc6-f625e763a0a3 .

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/public

View File

@@ -0,0 +1,10 @@
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
<http://data.lblod.info/id/chat-agents/rapportassistent>
a prov:SoftwareAgent , foaf:Agent ;
mu:uuid "802f9924-1933-4884-90eb-3f3f6dd1905f" ;
foaf:name "Rapportassistent" ;
dct:description "Stel je vraag over de gegevens in het Organisatieportaal. Ik maak er een rapport van." .

View File

@@ -0,0 +1,29 @@
@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/> .
# The bijlagen of the report assistant get a dct:type. Two types for now:
# the specification of the report, and the executed report with its results.
<http://lblod.data.gift/concept-schemes/f1103789-c5c9-406e-8079-be6c833d0d69>
rdf:type skos:ConceptScheme ;
mu:uuid "f1103789-c5c9-406e-8079-be6c833d0d69" ;
skos:prefLabel "Bijlagetypen rapportassistent"@nl, "Report assistant attachment types"@en ;
skos:definition "Types bijlage bij berichten van de rapportassistent: rapport specificaties en uitgevoerde rapporten."@nl ;
skos:hasTopConcept <http://lblod.data.gift/concepts/6693014e-7b7d-448c-bb24-80c9758521f3>,
<http://lblod.data.gift/concepts/28d97698-e219-4a92-bdbd-7ab367a7524e> .
<http://lblod.data.gift/concepts/6693014e-7b7d-448c-bb24-80c9758521f3>
rdf:type skos:Concept ;
mu:uuid "6693014e-7b7d-448c-bb24-80c9758521f3" ;
skos:prefLabel "Rapportspecificatie"@nl, "Report specification"@en ;
skos:altLabel "Query spec"@nl, "Query spec"@en ;
skos:definition "De specificatie die vastlegt welk rapport gemaakt wordt: filter en kolommen."@nl ;
skos:inScheme <http://lblod.data.gift/concept-schemes/f1103789-c5c9-406e-8079-be6c833d0d69> .
<http://lblod.data.gift/concepts/28d97698-e219-4a92-bdbd-7ab367a7524e>
rdf:type skos:Concept ;
mu:uuid "28d97698-e219-4a92-bdbd-7ab367a7524e" ;
skos:prefLabel "Uitgevoerd rapport"@nl, "Executed report"@en ;
skos:definition "De resultaten van een rapport dat de rapportassistent heeft uitgevoerd."@nl ;
skos:inScheme <http://lblod.data.gift/concept-schemes/f1103789-c5c9-406e-8079-be6c833d0d69> .

View File

@@ -0,0 +1,61 @@
# Profiel "Codes en schemas": skos:Concept en skos:ConceptScheme.
# De codelijsten van de andere profielen zijn skos:Concept-instanties die bij
# een schema horen via skos:inScheme. Met dit profiel kan de LLM een schema
# opzoeken en de concepten eruit tonen (bijvoorbeeld om een filterwaarde te
# kiezen). De andere profielen verwijzen naar ent:Concept via sh:node; dit
# profiel maakt van die entiteiten zelfstandig bevraagbare rapportonderwerpen.
#
# Rapporten hier zijn leeslijsten: een lijst van de concepten van één schema,
# of van schemas zelf. Ze landen in de publieke grafiek.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ent: <http://data.lblod.info/id/report-entities/> .
<http://data.lblod.info/id/report-profiles/skos-concepten>
a owl:Ontology ;
dct:title "Codes en schemas" ;
sh:prefixes [
sh:declare [ sh:prefix "skos" ; sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "dct" ; sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "rdfs" ; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "xsd" ; sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI ] ;
] .
ent:Concept
a sh:NodeShape ;
rdfs:label "concept" ;
sh:targetClass skos:Concept ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:notation ; sh:name "notatie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:definition ; sh:name "definitie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path sh:order ; sh:name "volgorde" ;
sh:datatype xsd:decimal ] ;
sh:property [ sh:path skos:inScheme ; sh:name "in schema" ;
sh:description "Filter hiermee op één codeschema." ;
sh:node ent:ConceptSchema ] ;
sh:property [ sh:path skos:topConceptOf ; sh:name "top van schema" ;
sh:node ent:ConceptSchema ] ;
sh:property [ sh:path skos:exactMatch ; sh:name "exacte match" ;
sh:node ent:Concept ] .
ent:ConceptSchema
a sh:NodeShape ;
rdfs:label "conceptschema" ;
sh:targetClass skos:ConceptScheme ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path rdfs:label ; sh:name "label" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path dct:title ; sh:name "titel" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:notation ; sh:name "notatie" ;
sh:datatype xsd:string ] .

View File

@@ -0,0 +1,433 @@
# Profiel "Erediensten": eredienstbestuurseenheden (besturen van de
# eredienst, centrale besturen), representatieve organen, eredienst-
# mandatarissen, bedienaren (ministers) met hun posities, voorwaarden
# en financiering, betrokken lokale besturen.
#
# Bron: config/resources/domain.json is de autoriteit (worship-
# administrative-units, worship-services, central-worship-services,
# representative-bodies, worship-mandatories, ministers,
# minister-positions, minister-conditions en de bijhorende codes),
# aangevuld met de contact- en mandaatvelden van de oudertypes.
#
# Datatypes volgen de resource-config (number → xsd:decimal,
# datetime → xsd:dateTime, boolean → xsd:boolean). De triplestore stond
# niet aan tijdens het opstellen; waar de data afwijkt wint later de data.
#
# Niet opgenomen (geen rapportvelden): harvest-velden en vendor-relaties.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix locn: <http://www.w3.org/ns/locn#> .
@prefix adres: <https://data.vlaanderen.be/ns/adres#> .
@prefix schema: <http://schema.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix persoon: <http://data.vlaanderen.be/ns/persoon#> .
@prefix person: <http://www.w3.org/ns/person#> .
@prefix mandaat: <http://data.vlaanderen.be/ns/mandaat#> .
@prefix besluit: <http://data.vlaanderen.be/ns/besluit#> .
@prefix generiek: <https://data.vlaanderen.be/ns/generiek#> .
@prefix lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/> .
@prefix ch: <http://data.lblod.info/vocabularies/contacthub/> .
@prefix ere: <http://data.lblod.info/vocabularies/erediensten/> .
@prefix code: <http://lblod.data.gift/vocabularies/organisatie/> .
@prefix regorg: <http://www.w3.org/ns/regorg#> .
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix ent: <http://data.lblod.info/id/report-entities/> .
<http://data.lblod.info/id/report-profiles/erediensten>
a owl:Ontology ;
dct:title "Erediensten" ;
sh:prefixes [
sh:declare [ sh:prefix "ere" ; sh:namespace "http://data.lblod.info/vocabularies/erediensten/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "mandaat" ; sh:namespace "http://data.vlaanderen.be/ns/mandaat#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "besluit" ; sh:namespace "http://data.vlaanderen.be/ns/besluit#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "org" ; sh:namespace "http://www.w3.org/ns/org#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "persoon" ; sh:namespace "http://data.vlaanderen.be/ns/persoon#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "person" ; sh:namespace "http://www.w3.org/ns/person#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "foaf" ; sh:namespace "http://xmlns.com/foaf/0.1/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "skos" ; sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "schema" ; sh:namespace "http://schema.org/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ch" ; sh:namespace "http://data.lblod.info/vocabularies/contacthub/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "code" ; sh:namespace "http://lblod.data.gift/vocabularies/organisatie/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ext" ; sh:namespace "http://mu.semte.ch/vocabularies/ext/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "regorg" ; sh:namespace "http://www.w3.org/ns/regorg#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "geo" ; sh:namespace "http://www.opengis.net/ont/geosparql#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "generiek" ; sh:namespace "https://data.vlaanderen.be/ns/generiek#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "lblodlg" ; sh:namespace "http://data.lblod.info/vocabularies/leidinggevenden/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "dct" ; sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "rdfs" ; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "xsd" ; sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI ] ;
] .
ent:EredienstBestuurseenheid
a sh:NodeShape ;
rdfs:label "eredienstbestuurseenheid" ;
sh:targetClass ere:EredienstBestuurseenheid ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path regorg:legalName ; sh:name "juridische naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuur" ;
sh:node ent:BestuurseenheidClassificatie ] ;
sh:property [ sh:path regorg:orgStatus ; sh:name "organisatiestatus" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path ere:typeEredienst ; sh:name "type eredienst" ;
sh:description "Bv. rooms-katholiek, anglicaans, ..." ;
sh:node ent:TypeEredienst ] ;
sh:property [ sh:path besluit:werkingsgebied ; sh:name "werkingsgebied" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path geo:sfWithin ; sh:name "ligt in" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath besluit:bestuurt ] ; sh:name "bestuursorganen" ;
sh:description "De bestuursorganen van deze eredienst" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path ere:wordtBediendDoor ; sh:name "wordt bediend door" ;
sh:description "De posities waarop bedienaren deze eredienst bedienen" ;
sh:node ent:PositieBedienaar ] ;
sh:property [ sh:path ere:betrokkenBestuur ; sh:name "betrokken lokale besturen" ;
sh:description "De lokale besturen waarin deze eredienst betrokken is" ;
sh:node ent:BetrokkenLokaleBesturen ] ;
sh:property [ sh:path [ sh:inversePath org:organization ] ; sh:name "is betrokken bij" ;
sh:description "De betrokkenheden waar deze eredienst het eredienstbestuur van is" ;
sh:node ent:BetrokkenLokaleBesturen ] .
ent:BestuurVanDeEredienst
a sh:NodeShape ;
rdfs:label "bestuur van de eredienst" ;
sh:targetClass ere:BestuurVanDeEredienst ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path regorg:legalName ; sh:name "juridische naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuur" ;
sh:node ent:BestuurseenheidClassificatie ] ;
sh:property [ sh:path regorg:orgStatus ; sh:name "organisatiestatus" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path ere:typeEredienst ; sh:name "type eredienst" ;
sh:node ent:TypeEredienst ] ;
sh:property [ sh:path ere:denominatie ; sh:name "denominatie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ere:grensoverschrijdend ; sh:name "grensoverschrijdend" ;
sh:description "Of het bestuur over de landsgrens werkt" ;
sh:datatype xsd:boolean ] ;
sh:property [ sh:path besluit:werkingsgebied ; sh:name "werkingsgebied" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath besluit:bestuurt ] ; sh:name "bestuursorganen" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path ere:wordtBediendDoor ; sh:name "wordt bediend door" ;
sh:node ent:PositieBedienaar ] ;
sh:property [ sh:path ere:betrokkenBestuur ; sh:name "betrokken lokale besturen" ;
sh:node ent:BetrokkenLokaleBesturen ] .
ent:CentraalBestuurVanDeEredienst
a sh:NodeShape ;
rdfs:label "centraal bestuur van de eredienst" ;
sh:targetClass ere:CentraalBestuurVanDeEredienst ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path regorg:legalName ; sh:name "juridische naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuur" ;
sh:node ent:BestuurseenheidClassificatie ] ;
sh:property [ sh:path regorg:orgStatus ; sh:name "organisatiestatus" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path ere:typeEredienst ; sh:name "type eredienst" ;
sh:node ent:TypeEredienst ] ;
sh:property [ sh:path besluit:werkingsgebied ; sh:name "werkingsgebied" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath besluit:bestuurt ] ; sh:name "bestuursorganen" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path ere:wordtBediendDoor ; sh:name "wordt bediend door" ;
sh:node ent:PositieBedienaar ] .
ent:RepresentatiefOrgaan
a sh:NodeShape ;
rdfs:label "representatief orgaan" ;
sh:targetClass ere:RepresentatiefOrgaan ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "classificatie" ;
sh:node ent:RepresentatiefOrgaanClassificatie ] ;
sh:property [ sh:path ere:typeEredienst ; sh:name "type eredienst" ;
sh:node ent:TypeEredienst ] ;
sh:property [ sh:path [ sh:inversePath ere:behoort ] ; sh:name "bedienaren" ;
sh:description "De posities van bedienaren die bij dit orgaan horen" ;
sh:node ent:PositieBedienaar ] .
ent:RepresentatiefOrgaanClassificatie
a sh:NodeShape ;
rdfs:label "representatief orgaan classificatie" ;
sh:targetClass ext:RepresentatiefOrgaanClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] .
ent:TypeEredienst
a sh:NodeShape ;
rdfs:label "type eredienst" ;
sh:targetClass code:TypeEredienst ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:BestuurseenheidClassificatie
a sh:NodeShape ;
rdfs:label "soort bestuur" ;
sh:targetClass code:BestuurseenheidClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:OrganisatieStatus
a sh:NodeShape ;
rdfs:label "organisatiestatus" ;
sh:targetClass code:OrganisatieStatusCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Werkingsgebied
a sh:NodeShape ;
rdfs:label "werkingsgebied" ;
sh:targetClass prov:Location ;
sh:property [ sh:path rdfs:label ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ext:werkingsgebiedNiveau ; sh:name "niveau" ;
sh:datatype xsd:string ] .
ent:Bestuursorgaan
a sh:NodeShape ;
rdfs:label "bestuursorgaan" ;
sh:targetClass besluit:Bestuursorgaan ;
sh:property [ sh:path mandaat:bindingStart ; sh:name "binding start" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:bindingEinde ; sh:name "binding einde" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuursorgaan" ;
sh:node ent:BestuursorgaanClassificatie ] ;
sh:property [ sh:path besluit:bestuurt ; sh:name "bestuurt" ;
sh:node ent:EredienstBestuurseenheid ] ;
sh:property [ sh:path generiek:isTijdspecialisatieVan ; sh:name "is tijdspecialisatie van" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path [ sh:inversePath generiek:isTijdspecialisatieVan ] ; sh:name "heeft tijdsspecialisaties" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path org:hasPost ; sh:name "bevat mandaat" ;
sh:node ent:Mandaat ] .
ent:BestuursorgaanClassificatie
a sh:NodeShape ;
rdfs:label "soort bestuursorgaan" ;
sh:targetClass code:BestuursorgaanClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Mandaat
a sh:NodeShape ;
rdfs:label "mandaat" ;
sh:targetClass mandaat:Mandaat ;
sh:property [ sh:path mandaat:aantalHouders ; sh:name "aantal houders" ;
sh:datatype xsd:decimal ] ;
sh:property [ sh:path org:role ; sh:name "bestuursfunctie" ;
sh:node ent:BestuursfunctieCode ] ;
sh:property [ sh:path [ sh:inversePath org:hasPost ] ; sh:name "zit in bestuursorgaan" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path [ sh:inversePath org:holds ] ; sh:name "bekleders" ;
sh:node ent:EredienstMandataris ] .
ent:BestuursfunctieCode
a sh:NodeShape ;
rdfs:label "bestuursfunctie" ;
sh:targetClass code:BestuursfunctieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:EredienstMandataris
a sh:NodeShape ;
rdfs:label "eredienstmandataris" ;
sh:targetClass ere:EredienstMandataris ;
sh:property [ sh:path mandaat:start ; sh:name "start" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:einde ; sh:name "einde" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path ere:geplandeEinddatumAanstelling ; sh:name "geplande einddatum aanstelling" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path ere:redenVanStopzetting ; sh:name "reden van stopzetting" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path mandaat:status ; sh:name "status" ;
sh:node ent:MandatarisStatus ] ;
sh:property [ sh:path ere:typeHelft ; sh:name "type helft" ;
sh:description "Bv. eerste helft, tweede helft van de bestuursperiode" ;
sh:node ent:HelftVerkiezing ] ;
sh:property [ sh:path mandaat:isBestuurlijkeAliasVan ; sh:name "persoon" ;
sh:node ent:Persoon ] ;
sh:property [ sh:path org:holds ; sh:name "bekleedt mandaat" ;
sh:node ent:Mandaat ] ;
sh:property [ sh:path schema:contactPoint ; sh:name "contact" ;
sh:node ent:ContactPunt ] .
ent:MandatarisStatus
a sh:NodeShape ;
rdfs:label "status" ;
sh:targetClass code:MandatarisStatusCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:HelftVerkiezing
a sh:NodeShape ;
rdfs:label "helft verkiezing" ;
sh:targetClass code:HelftVerkiezing ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Persoon
a sh:NodeShape ;
rdfs:label "persoon" ;
sh:targetClass person:Person ;
sh:property [ sh:path foaf:givenName ; sh:name "voornaam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path foaf:familyName ; sh:name "achternaam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path persoon:gebruikteVoornaam ; sh:name "gebruikte voornaam" ;
sh:datatype xsd:string ] .
ent:PositieBedienaar
a sh:NodeShape ;
rdfs:label "positie" ;
sh:targetClass ere:PositieBedienaar ;
sh:property [ sh:path ere:functie ; sh:name "functie" ;
sh:description "Het beroep van de bedienaar, bv. pastoor, imam" ;
sh:node ent:EredienstBeroep ] ;
sh:property [ sh:path [ sh:inversePath org:holds ] ; sh:name "bedienaren" ;
sh:description "De bedienaren die deze positie bekleden" ;
sh:node ent:Bedienaar ] ;
sh:property [ sh:path [ sh:inversePath ere:wordtBediendDoor ] ; sh:name "eredienstbestuur" ;
sh:description "Het eredienstbestuur dat door deze positie bediend wordt" ;
sh:node ent:EredienstBestuurseenheid ] ;
sh:property [ sh:path ere:behoort ; sh:name "representatief orgaan" ;
sh:node ent:RepresentatiefOrgaan ] .
ent:EredienstBeroep
a sh:NodeShape ;
rdfs:label "beroep" ;
sh:targetClass code:EredienstBeroepen ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ere:vanToepassingBijStatus ; sh:name "van toepassing bij status" ;
sh:description "De organisatiestatussen waarbij dit beroep voorkomt" ;
sh:node ent:OrganisatieStatus ] .
ent:Bedienaar
a sh:NodeShape ;
rdfs:label "bedienaar" ;
sh:targetClass ere:RolBedienaar ;
sh:property [ sh:path ch:startdatum ; sh:name "startdatum" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path ch:eindedatum ; sh:name "eindedatum" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path org:holds ; sh:name "bekleedt positie" ;
sh:description "De functiepositie die de bedienaar bekleedt" ;
sh:node ent:PositieBedienaar ] ;
sh:property [ sh:path ere:financiering ; sh:name "financiering" ;
sh:node ent:BedienaarFinancieringCode ] ;
sh:property [ sh:path ere:voldoetAan ; sh:name "voldoet aan" ;
sh:description "De voorwaarden waaraan de bedienaar voldoet" ;
sh:node ent:VoorwaardenBedienaar ] .
ent:BedienaarFinancieringCode
a sh:NodeShape ;
rdfs:label "financiering" ;
sh:targetClass code:BedienaarFinancieringCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:VoorwaardenBedienaar
a sh:NodeShape ;
rdfs:label "voorwaarde" ;
sh:targetClass ere:VoorwaardenBedienaar ;
sh:property [ sh:path ere:voldaan ; sh:name "voldaan" ;
sh:datatype xsd:boolean ] ;
sh:property [ sh:path ere:criterium ; sh:name "criterium" ;
sh:node ent:VoorwaardenBedienaarCriterium ] ;
sh:property [ sh:path ere:criteriumbewijsstuktype ; sh:name "bewijsstuktype" ;
sh:node ent:BedienaarCriteriumBewijsstuk ] .
ent:VoorwaardenBedienaarCriterium
a sh:NodeShape ;
rdfs:label "criterium" ;
sh:targetClass code:VoorwaardenBedienaarCriterium ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:BedienaarCriteriumBewijsstuk
a sh:NodeShape ;
rdfs:label "bewijsstuktype" ;
sh:targetClass code:BedienaarCriteriumBewijsstuk ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:BetrokkenLokaleBesturen
a sh:NodeShape ;
rdfs:label "betrokken lokale besturen" ;
sh:targetClass ere:BetrokkenLokaleBesturen ;
sh:property [ sh:path ere:financieringspercentage ; sh:name "financieringspercentage" ;
sh:datatype xsd:decimal ] ;
sh:property [ sh:path ere:typebetrokkenheid ; sh:name "type betrokkenheid" ;
sh:node ent:TypeBetrokkenheid ] ;
sh:property [ sh:path org:organization ; sh:name "eredienstbestuur" ;
sh:description "Het eredienstbestuur dat betrokken is" ;
sh:node ent:EredienstBestuurseenheid ] ;
sh:property [ sh:path [ sh:inversePath ere:betrokkenBestuur ] ; sh:name "bestuurseenheid" ;
sh:description "Het lokale bestuur waar de eredienst bij betrokken is" ;
sh:node ent:Bestuurseenheid ] .
ent:TypeBetrokkenheid
a sh:NodeShape ;
rdfs:label "type betrokkenheid" ;
sh:targetClass code:TypeBetrokkenheid ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Bestuurseenheid
a sh:NodeShape ;
rdfs:label "bestuurseenheid" ;
sh:targetClass besluit:Bestuurseenheid ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuur" ;
sh:node ent:BestuurseenheidClassificatie ] .
ent:ContactPunt
a sh:NodeShape ;
rdfs:label "contactpunt" ;
sh:targetClass schema:ContactPoint ;
sh:property [ sh:path schema:email ; sh:name "email" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:telephone ; sh:name "telefoon" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:contactType ; sh:name "contactsoort" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:address ; sh:name "adres" ;
sh:node ent:Adres ] .
ent:Adres
a sh:NodeShape ;
rdfs:label "adres" ;
sh:targetClass locn:Address ;
sh:property [ sh:path locn:thoroughfare ; sh:name "straat" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:Adresvoorstelling.huisnummer ; sh:name "huisnummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:Adresvoorstelling.busnummer ; sh:name "busnummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:postCode ; sh:name "postcode" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:gemeentenaam ; sh:name "gemeente" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:land ; sh:name "land" ;
sh:datatype xsd:string ] .

View File

@@ -0,0 +1,318 @@
# Profiel "Mandaten": bestuursorganen (in tijd), mandaten,
# bestuursfuncties, mandatarissen, functionarissen (leidinggevenden),
# personen en hun contacten.
#
# Bron: config/resources/domain.json is de autoriteit (governing-bodies,
# mandates, board-positions, mandatories, functionaries, people,
# agents-in-position, posts en de status- en classificatiecodes).
#
# Datatypes volgen de resource-config (number → xsd:decimal,
# datetime → xsd:dateTime). De triplestore stond niet aan tijdens het
# opstellen; waar de data afwijkt wint later de data.
#
# Keten: bestuurseenheid <- bestuursorgaan ("bestuurt", omgekeerd) ->
# bestuursorgaan in tijd (generiek:isTijdspecialisatieVan,
# mandaat:bindingStart/-Einde) -> mandaat (org:hasPost) -> mandataris
# (org:holds) -> persoon (mandaat:isBestuurlijkeAliasVan).
#
# Bestuursorgaan en bestuursorgaanInTijd delen besluit:Bestuursorgaan als
# sh:targetClass; rep:discriminator houdt ze in de seed uit elkaar (een
# orgaan in tijd heeft generiek:isTijdspecialisatieVan, een vast orgaan
# heeft die niet). Een spec kiest er één met rep:entity.
#
# Niet opgenomen (geen rapportvelden): harvest-velden en vendor-relaties.
# Een generiek org:Post (posts) deelt org:role met het mandaat; hier wint
# de lezing van het mandaat (bestuursfunctie). De eredienst-varianten
# (EredienstMandataris) staan in erediensten.ttl.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix locn: <http://www.w3.org/ns/locn#> .
@prefix adres: <https://data.vlaanderen.be/ns/adres#> .
@prefix schema: <http://schema.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix persoon: <http://data.vlaanderen.be/ns/persoon#> .
@prefix person: <http://www.w3.org/ns/person#> .
@prefix mandaat: <http://data.vlaanderen.be/ns/mandaat#> .
@prefix besluit: <http://data.vlaanderen.be/ns/besluit#> .
@prefix generiek: <https://data.vlaanderen.be/ns/generiek#> .
@prefix lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/> .
@prefix ch: <http://data.lblod.info/vocabularies/contacthub/> .
@prefix code: <http://lblod.data.gift/vocabularies/organisatie/> .
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
@prefix rep: <http://mu.semte.ch/vocabularies/reporting/> .
@prefix ent: <http://data.lblod.info/id/report-entities/> .
<http://data.lblod.info/id/report-profiles/mandaten>
a owl:Ontology ;
dct:title "Mandaten" ;
sh:prefixes [
sh:declare [ sh:prefix "mandaat" ; sh:namespace "http://data.vlaanderen.be/ns/mandaat#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "besluit" ; sh:namespace "http://data.vlaanderen.be/ns/besluit#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "org" ; sh:namespace "http://www.w3.org/ns/org#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "generiek" ; sh:namespace "https://data.vlaanderen.be/ns/generiek#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "persoon" ; sh:namespace "https://data.vlaanderen.be/ns/persoon#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "person" ; sh:namespace "http://www.w3.org/ns/person#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "foaf" ; sh:namespace "http://xmlns.com/foaf/0.1/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "skos" ; sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "schema" ; sh:namespace "http://schema.org/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "lblodlg" ; sh:namespace "http://data.lblod.info/vocabularies/leidinggevenden/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ch" ; sh:namespace "http://data.lblod.info/vocabularies/contacthub/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "code" ; sh:namespace "http://lblod.data.gift/vocabularies/organisatie/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ext" ; sh:namespace "http://mu.semte.ch/vocabularies/ext/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "locn" ; sh:namespace "http://www.w3.org/ns/locn#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "adres" ; sh:namespace "https://data.vlaanderen.be/ns/adres#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "dct" ; sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "rdfs" ; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "xsd" ; sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI ] ;
] .
ent:Bestuursorgaan
a sh:NodeShape ;
rdfs:label "bestuursorgaan" ;
sh:targetClass besluit:Bestuursorgaan ;
rep:discriminator [ sh:path generiek:isTijdspecialisatieVan ; sh:maxCount 0 ] ;
sh:property [ sh:path besluit:bestuurt ; sh:name "bestuurt" ;
sh:description "De bestuurseenheid die door dit orgaan bestuurd wordt" ;
sh:node ent:Bestuurseenheid ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuursorgaan" ;
sh:description "Bv. gemeenteraad, college van burgemeester en schepenen" ;
sh:node ent:BestuursorgaanClassificatie ] ;
sh:property [ sh:path [ sh:inversePath generiek:isTijdspecialisatieVan ] ; sh:name "heeft tijdsspecialisaties" ;
sh:description "De organen in tijd die bij dit vaste orgaan horen" ;
sh:node ent:BestuursorgaanInTijd ] .
ent:BestuursorgaanInTijd
a sh:NodeShape ;
rdfs:label "bestuursorgaanInTijd" ;
sh:targetClass besluit:Bestuursorgaan ;
rep:discriminator [ sh:path generiek:isTijdspecialisatieVan ; sh:minCount 1 ] ;
sh:property [ sh:path mandaat:bindingStart ; sh:name "binding start" ;
sh:description "Start van de bestuursperiode; orgaan in tijd" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:bindingEinde ; sh:name "binding einde" ;
sh:description "Einde van de bestuursperiode; orgaan in tijd" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ; sh:name "is tijdspecialisatie van" ;
sh:description "Het vaste orgaan waarvan dit orgaan in tijd een periode is" ;
sh:node ent:Bestuursorgaan ] ;
sh:property [ sh:path org:hasPost ; sh:name "bevat mandaat" ;
sh:description "De mandaten die dit orgaan bevat" ;
sh:node ent:Mandaat ] ;
sh:property [ sh:path lblodlg:heeftBestuursfunctie ; sh:name "bevat bestuursfunctie" ;
sh:description "De leidinggevende functies van dit orgaan, bv. secretaris" ;
sh:node ent:LeidinggevendeBestuursfunctie ] .
ent:BestuursorgaanClassificatie
a sh:NodeShape ;
rdfs:label "soort bestuursorgaan" ;
sh:targetClass code:BestuursorgaanClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ext:appliesWithin ; sh:name "geldt binnen" ;
sh:description "De soorten bestuur waarbinnen deze orgaanclassificatie voorkomt" ;
sh:node ent:BestuurseenheidClassificatie ] .
ent:BestuurseenheidClassificatie
a sh:NodeShape ;
rdfs:label "soort bestuur" ;
sh:targetClass code:BestuurseenheidClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Bestuurseenheid
a sh:NodeShape ;
rdfs:label "bestuurseenheid" ;
sh:targetClass besluit:Bestuurseenheid ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuur" ;
sh:node ent:BestuurseenheidClassificatie ] ;
sh:property [ sh:path org:hasPrimarySite ; sh:name "hoofdvestiging" ;
sh:description "De hoofdvestiging van de bestuurseenheid" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path [ sh:inversePath besluit:bestuurt ] ; sh:name "bestuursorganen" ;
sh:description "De bestuursorganen van deze bestuurseenheid" ;
sh:node ent:Bestuursorgaan ].
ent:Mandaat
a sh:NodeShape ;
rdfs:label "mandaat" ;
sh:targetClass mandaat:Mandaat ;
sh:property [ sh:path mandaat:aantalHouders ; sh:name "aantal houders" ;
sh:description "Aantal mandatarissen dat het mandaat kan hebben" ;
sh:datatype xsd:decimal ] ;
sh:property [ sh:path org:role ; sh:name "bestuursfunctie" ;
sh:description "De functie waarvoor het mandaat geldt, bv. burgemeester" ;
sh:node ent:BestuursfunctieCode ] ;
sh:property [ sh:path [ sh:inversePath org:hasPost ] ; sh:name "zit in bestuursorgaan" ;
sh:description "Het bestuursorgaan (in tijd) dat dit mandaat bevat" ;
sh:node ent:BestuursorgaanInTijd ] ;
sh:property [ sh:path [ sh:inversePath org:holds ] ; sh:name "bekleders" ;
sh:description "De mandatarissen die dit mandaat bekleden" ;
sh:node ent:Mandataris ] .
ent:BestuursfunctieCode
a sh:NodeShape ;
rdfs:label "bestuursfunctie" ;
sh:targetClass code:BestuursfunctieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ext:appliesTo ; sh:name "geldt voor" ;
sh:description "De orgaanclassificaties waarop deze functie van toepassing is" ;
sh:node ent:BestuursorgaanClassificatie ] .
ent:Mandataris
a sh:NodeShape ;
rdfs:label "mandataris" ;
sh:targetClass mandaat:Mandataris ;
sh:property [ sh:path mandaat:start ; sh:name "start" ;
sh:description "Start van de aanstelling" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:einde ; sh:name "einde" ;
sh:description "Einde van de aanstelling" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:status ; sh:name "status" ;
sh:description "Status van de mandataris, bv. effectief, verhindering" ;
sh:node ent:MandatarisStatus ] ;
sh:property [ sh:path mandaat:isBestuurlijkeAliasVan ; sh:name "persoon" ;
sh:description "De persoon achter de mandataris" ;
sh:node ent:Persoon ] ;
sh:property [ sh:path org:holds ; sh:name "bekleedt mandaat" ;
sh:description "Het mandaat dat de mandataris bekleedt" ;
sh:node ent:Mandaat ] ;
sh:property [ sh:path schema:contactPoint ; sh:name "contact" ;
sh:node ent:ContactPunt ] .
ent:MandatarisStatus
a sh:NodeShape ;
rdfs:label "status" ;
sh:targetClass code:MandatarisStatusCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:LeidinggevendeBestuursfunctie
a sh:NodeShape ;
rdfs:label "bestuursfunctie" ;
sh:targetClass lblodlg:Bestuursfunctie ;
sh:property [ sh:path org:role ; sh:name "functie" ;
sh:description "De leidinggevende functie, bv. secretaris, financieel directeur" ;
sh:node ent:BestuursfunctieCode ] ;
sh:property [ sh:path schema:contactPoint ; sh:name "contact" ;
sh:node ent:ContactPunt ] ;
sh:property [ sh:path [ sh:inversePath lblodlg:heeftBestuursfunctie ] ; sh:name "in bestuursorgaan" ;
sh:description "Het bestuursorgaan waar deze functie bij hoort" ;
sh:node ent:BestuursorgaanInTijd ] .
ent:Functionaris
a sh:NodeShape ;
rdfs:label "functionaris" ;
sh:targetClass lblodlg:Functionaris ;
sh:property [ sh:path mandaat:start ; sh:name "start" ;
sh:description "Start van de aanstelling" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:einde ; sh:name "einde" ;
sh:description "Einde van de aanstelling" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:status ; sh:name "status" ;
sh:node ent:FunctionarisStatus ] ;
sh:property [ sh:path mandaat:isBestuurlijkeAliasVan ; sh:name "persoon" ;
sh:description "De persoon achter de functionaris" ;
sh:node ent:Persoon ] ;
sh:property [ sh:path org:holds ; sh:name "bekleedt bestuursfunctie" ;
sh:description "De leidinggevende functie die de functionaris bekleedt" ;
sh:node ent:LeidinggevendeBestuursfunctie ] .
ent:FunctionarisStatus
a sh:NodeShape ;
rdfs:label "status" ;
sh:targetClass lblodlg:FunctionarisStatusCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Persoon
a sh:NodeShape ;
rdfs:label "persoon" ;
sh:targetClass person:Person ;
sh:property [ sh:path foaf:givenName ; sh:name "voornaam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path foaf:familyName ; sh:name "achternaam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path persoon:gebruikteVoornaam ; sh:name "gebruikte voornaam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path [ sh:inversePath mandaat:isBestuurlijkeAliasVan ] ; sh:name "mandatarissen" ;
sh:description "De mandatarissen van deze persoon" ;
sh:node ent:Mandataris ] ;
sh:property [ sh:path [ sh:inversePath mandaat:isBestuurlijkeAliasVan ] ; sh:name "functionarissen" ;
sh:description "De leidinggevende functies van deze persoon" ;
sh:node ent:Functionaris ] ;
sh:property [ sh:path [ sh:inversePath org:heldBy ] ; sh:name "posities" ;
sh:description "De posities (agent-in-positie) van deze persoon" ;
sh:node ent:AgentInPositie ] .
ent:AgentInPositie
a sh:NodeShape ;
rdfs:label "agent in positie" ;
sh:targetClass ch:AgentInPositie ;
sh:property [ sh:path ch:startdatum ; sh:name "startdatum" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path ch:eindedatum ; sh:name "eindedatum" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path org:heldBy ; sh:name "persoon" ;
sh:node ent:Persoon ] ;
sh:property [ sh:path schema:contactPoint ; sh:name "contact" ;
sh:node ent:ContactPunt ] .
ent:ContactPunt
a sh:NodeShape ;
rdfs:label "contactpunt" ;
sh:targetClass schema:ContactPoint ;
sh:property [ sh:path schema:email ; sh:name "email" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:telephone ; sh:name "telefoon" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:faxNumber ; sh:name "fax" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path foaf:page ; sh:name "website" ;
sh:description "URI van de website" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:contactType ; sh:name "contactsoort" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:address ; sh:name "adres" ;
sh:node ent:Adres ] .
ent:Vestiging
a sh:NodeShape ;
rdfs:label "hoofdvestiging" ;
sh:targetClass org:Site ;
sh:property [ sh:path dct:description ; sh:name "omschrijving" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:siteAddress ; sh:name "contact" ;
sh:description "Contactgegevens (ContactPoint) van de vestiging" ;
sh:node ent:ContactPunt ] ;
sh:property [ sh:path [ sh:inversePath org:hasPrimarySite ] ; sh:name "hoofdvestiging van" ;
sh:description "De bestuurseenheid waarvan dit de hoofdvestiging is" ;
sh:node ent:Bestuurseenheid ] .
ent:Adres
a sh:NodeShape ;
rdfs:label "adres" ;
sh:targetClass locn:Address ;
sh:property [ sh:path locn:thoroughfare ; sh:name "straat" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:Adresvoorstelling.huisnummer ; sh:name "huisnummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:Adresvoorstelling.busnummer ; sh:name "busnummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:postCode ; sh:name "postcode" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:gemeentenaam ; sh:name "gemeente" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:land ; sh:name "land" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:fullAddress ; sh:name "volledig adres" ;
sh:datatype xsd:string ] .

View File

@@ -0,0 +1,543 @@
# Profiel "Organisaties": organisaties (incl. bestuurseenheden en
# geregistreerde organisaties), vestigingen, adressen, contacten,
# identificatoren, werkingsgebieden, KBO-gegevens, lidmaatschappen en
# veranderingsgebeurtenissen.
#
# Bron: config/resources/domain.json is de autoriteit (organizations,
# administrative-units, registered-organizations, kbo-organizations,
# sites, addresses, contact-points, identifiers, locations, memberships,
# concepts, sectors, nace-bel-codes en de classificatie- en statuscodes),
# aangevuld met config/resources/change-events.json (change-events,
# change-event-results, change-event-types, decisions,
# decision-activities).
#
# Datatypes volgen de resource-config (number → xsd:decimal,
# datetime → xsd:dateTime, date → xsd:date, boolean → xsd:boolean).
# De triplestore stond niet aan tijdens het opstellen; waar de data afwijkt
# wint later de data.
#
# Niet opgenomen (geen rapportvelden): sync- en harvest-velden
# (prov:wasGeneratedBy, owl:sameAs, task:modifiedOn, task:modifiedBy,
# rdfs:seeAlso), vendor-relaties (muAccount:canActOnBehalfOf,
# prov:wasAssociatedWith). De eredienst-tak van het organigram staat in
# erediensten.ttl; de bestuursorgaan-/mandaatketen in mandaten.ttl.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix regorg: <http://www.w3.org/ns/regorg#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ere: <http://data.lblod.info/vocabularies/erediensten/> .
@prefix locn: <http://www.w3.org/ns/locn#> .
@prefix adres: <https://data.vlaanderen.be/ns/adres#> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix schema: <http://schema.org/> .
@prefix organisatie: <https://data.vlaanderen.be/ns/organisatie#> .
@prefix generiek: <https://data.vlaanderen.be/ns/generiek#> .
@prefix lblodgeneriek: <https://data.lblod.info/vocabularies/generiek/> .
@prefix code: <http://lblod.data.gift/vocabularies/organisatie/> .
@prefix ext: <http://mu.semte.ch/vocabularies/ext/> .
@prefix ch: <http://data.lblod.info/vocabularies/contacthub/> .
@prefix nacebel: <http://data.gift/vocabularies/nace-bel/> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix m8g: <http://data.europa.eu/m8g/> .
@prefix besluit: <http://data.vlaanderen.be/ns/besluit#> .
@prefix eli: <http://data.europa.eu/eli/ontology#> .
@prefix besluitvorming: <https://data.vlaanderen.be/ns/besluitvorming#> .
@prefix dossier: <https://data.vlaanderen.be/ns/dossier#> .
@prefix ent: <http://data.lblod.info/id/report-entities/> .
<http://data.lblod.info/id/report-profiles/organisaties>
a owl:Ontology ;
dct:title "Organisaties" ;
sh:prefixes [
sh:declare [ sh:prefix "org" ; sh:namespace "http://www.w3.org/ns/org#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "besluit" ; sh:namespace "http://data.vlaanderen.be/ns/besluit#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "regorg" ; sh:namespace "http://www.w3.org/ns/regorg#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "skos" ; sh:namespace "http://www.w3.org/2004/02/skos/core#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "dct" ; sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "locn" ; sh:namespace "http://www.w3.org/ns/locn#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "adres" ; sh:namespace "https://data.vlaanderen.be/ns/adres#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "adms" ; sh:namespace "http://www.w3.org/ns/adms#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "prov" ; sh:namespace "http://www.w3.org/ns/prov#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "schema" ; sh:namespace "http://schema.org/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "organisatie" ; sh:namespace "https://data.vlaanderen.be/ns/organisatie#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "generiek" ; sh:namespace "https://data.vlaanderen.be/ns/generiek#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "lblodgeneriek" ; sh:namespace "https://data.lblod.info/vocabularies/generiek/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "code" ; sh:namespace "http://lblod.data.gift/vocabularies/organisatie/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ext" ; sh:namespace "http://mu.semte.ch/vocabularies/ext/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ch" ; sh:namespace "http://data.lblod.info/vocabularies/contacthub/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "ere" ; sh:namespace "http://data.lblod.info/vocabularies/erediensten/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "foaf" ; sh:namespace "http://xmlns.com/foaf/0.1/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "geo" ; sh:namespace "http://www.opengis.net/ont/geosparql#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "nacebel" ; sh:namespace "http://data.gift/vocabularies/nace-bel/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "m8g" ; sh:namespace "http://data.europa.eu/m8g/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "eli" ; sh:namespace "http://data.europa.eu/eli/ontology#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "besluitvorming" ; sh:namespace "https://data.vlaanderen.be/ns/besluitvorming#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "dossier" ; sh:namespace "https://data.vlaanderen.be/ns/dossier#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "rdfs" ; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "xsd" ; sh:namespace "http://www.w3.org/2001/XMLSchema#"^^xsd:anyURI ] ;
] .
ent:Organisatie
a sh:NodeShape ;
rdfs:label "organisatie" ;
sh:targetClass org:Organization ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:description "Officiële naam van de organisatie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path regorg:legalName ; sh:name "juridische naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path lblodgeneriek:geplandeEindDatum ; sh:name "geplande einddatum" ;
sh:description "Geplande einddatum van de organisatie (fusies)" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path org:purpose ; sh:name "doel" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort organisatie" ;
sh:node ent:OrganisatieClassificatie ] ;
sh:property [ sh:path organisatie:rechtsvorm ; sh:name "rechtsvorm" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:inhoudelijkThema ; sh:name "inhoudelijk thema" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:bijkomendeKwalificatie ; sh:name "bijkomende kwalificatie" ;
sh:node ent:BijkomendeKwalificatie ] ;
sh:property [ sh:path adms:identifier ; sh:name "identificator" ;
sh:description "Identificatoren van de organisatie, bv. het KBO-nummer zit in de notatie" ;
sh:node ent:Identificator ] ;
sh:property [ sh:path regorg:orgStatus ; sh:name "organisatiestatus" ;
sh:description "Bv. Actief, In oprichting" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path org:hasPrimarySite ; sh:name "hoofdvestiging" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path org:hasSite ; sh:name "vestiging" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path [ sh:inversePath org:member ] ; sh:name "is lid via" ;
sh:description "De lidmaatschappen waarin deze organisatie het lid is" ;
sh:node ent:Lidmaatschap ] ;
sh:property [ sh:path [ sh:inversePath org:organization ] ; sh:name "bevat lidmaatschappen" ;
sh:description "De lidmaatschappen die bij deze organisatie horen" ;
sh:node ent:Lidmaatschap ] ;
sh:property [ sh:path dct:isPartOf ; sh:name "sector" ;
sh:node ent:Sector ] ;
sh:property [ sh:path regorg:orgActivity ; sh:name "activiteit" ;
sh:description "NaceBel-activiteit van de organisatie" ;
sh:node ent:NaceBelCode ] ;
sh:property [ sh:path [ sh:inversePath owl:sameAs ] ; sh:name "kbo-organisatie" ;
sh:description "De KBO-gegevens die met deze organisatie gelijkgesteld zijn" ;
sh:node ent:KboOrganisatie ] ;
sh:property [ sh:path [ sh:inversePath org:originalOrganization ] ; sh:name "veranderd door" ;
sh:description "De veranderingsgebeurtenis waarvan deze organisatie het oorspronkelijke bestuur is" ;
sh:node ent:Veranderingsgebeurtenis ] ;
sh:property [ sh:path [ sh:inversePath org:resultingOrganization ] ; sh:name "resulteerde uit" ;
sh:description "De veranderingsgebeurtenis waaruit deze organisatie is voortgekomen" ;
sh:node ent:Veranderingsgebeurtenis ] ;
sh:property [ sh:path [ sh:inversePath ext:resultingOrganization ] ; sh:name "veranderingsresultaat van" ;
sh:description "De veranderingsresultaten die naar deze organisatie wijzen" ;
sh:node ent:VeranderingsgebeurtenisResultaat ] .
ent:Bestuurseenheid
a sh:NodeShape ;
rdfs:label "bestuurseenheid" ;
sh:targetClass besluit:Bestuurseenheid ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:description "Officiële naam van de bestuurseenheid" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path regorg:legalName ; sh:name "juridische naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path lblodgeneriek:geplandeEindDatum ; sh:name "geplande einddatum" ;
sh:description "Geplande einddatum van de bestuurseenheid (fusies)" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path org:purpose ; sh:name "doel" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuur" ;
sh:description "Classificatie: gemeente, OCMW, provincie, ..." ;
sh:node ent:BestuurseenheidClassificatie ] ;
sh:property [ sh:path organisatie:rechtsvorm ; sh:name "rechtsvorm" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:inhoudelijkThema ; sh:name "inhoudelijk thema" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:bijkomendeKwalificatie ; sh:name "bijkomende kwalificatie" ;
sh:node ent:BijkomendeKwalificatie ] ;
sh:property [ sh:path adms:identifier ; sh:name "identificator" ;
sh:description "Identificatoren van de bestuurseenheid, bv. het KBO-nummer zit in de notatie" ;
sh:node ent:Identificator ] ;
sh:property [ sh:path regorg:orgStatus ; sh:name "organisatiestatus" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path org:hasPrimarySite ; sh:name "hoofdvestiging" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path org:hasSite ; sh:name "vestiging" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path besluit:werkingsgebied ; sh:name "werkingsgebied" ;
sh:description "Het territorium waar de bestuurseenheid over gaat" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path geo:sfWithin ; sh:name "ligt in" ;
sh:description "Het gebied waar de bestuurseenheid in ligt" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path skos:exactMatch ; sh:name "exacte match" ;
sh:node ent:Concept ] ;
sh:property [ sh:path [ sh:inversePath org:member ] ; sh:name "is lid via" ;
sh:node ent:Lidmaatschap ] ;
sh:property [ sh:path [ sh:inversePath org:organization ] ; sh:name "bevat lidmaatschappen" ;
sh:node ent:Lidmaatschap ] ;
sh:property [ sh:path dct:isPartOf ; sh:name "sector" ;
sh:node ent:Sector ] ;
sh:property [ sh:path regorg:orgActivity ; sh:name "activiteit" ;
sh:node ent:NaceBelCode ] ;
sh:property [ sh:path [ sh:inversePath owl:sameAs ] ; sh:name "kbo-organisatie" ;
sh:node ent:KboOrganisatie ] ;
sh:property [ sh:path [ sh:inversePath org:originalOrganization ] ; sh:name "veranderd door" ;
sh:node ent:Veranderingsgebeurtenis ] ;
sh:property [ sh:path [ sh:inversePath org:resultingOrganization ] ; sh:name "resulteerde uit" ;
sh:node ent:Veranderingsgebeurtenis ] ;
sh:property [ sh:path [ sh:inversePath ext:resultingOrganization ] ; sh:name "veranderingsresultaat van" ;
sh:node ent:VeranderingsgebeurtenisResultaat ] .
ent:GeregistreerdeOrganisatie
a sh:NodeShape ;
rdfs:label "geregistreerde organisatie" ;
sh:targetClass regorg:RegisteredOrganization ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path regorg:legalName ; sh:name "juridische naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path lblodgeneriek:geplandeEindDatum ; sh:name "geplande einddatum" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path org:purpose ; sh:name "doel" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path org:classification ; sh:name "soort organisatie" ;
sh:node ent:GeregistreerdeOrganisatieClassificatie ] ;
sh:property [ sh:path organisatie:rechtsvorm ; sh:name "rechtsvorm" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:inhoudelijkThema ; sh:name "inhoudelijk thema" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:bijkomendeKwalificatie ; sh:name "bijkomende kwalificatie" ;
sh:node ent:BijkomendeKwalificatie ] ;
sh:property [ sh:path adms:identifier ; sh:name "identificator" ;
sh:node ent:Identificator ] ;
sh:property [ sh:path regorg:orgStatus ; sh:name "organisatiestatus" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path org:hasPrimarySite ; sh:name "hoofdvestiging" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path org:hasSite ; sh:name "vestiging" ;
sh:node ent:Vestiging ] ;
sh:property [ sh:path dct:spatial ; sh:name "werkingsgebied" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath org:member ] ; sh:name "is lid via" ;
sh:node ent:Lidmaatschap ] ;
sh:property [ sh:path [ sh:inversePath org:organization ] ; sh:name "bevat lidmaatschappen" ;
sh:node ent:Lidmaatschap ] ;
sh:property [ sh:path dct:isPartOf ; sh:name "sector" ;
sh:node ent:Sector ] ;
sh:property [ sh:path regorg:orgActivity ; sh:name "activiteit" ;
sh:node ent:NaceBelCode ] ;
sh:property [ sh:path [ sh:inversePath owl:sameAs ] ; sh:name "kbo-organisatie" ;
sh:node ent:KboOrganisatie ] .
ent:KboOrganisatie
a sh:NodeShape ;
rdfs:label "kbo-organisatie" ;
sh:targetClass ext:KboOrganisatie ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ext:rechtsvorm ; sh:name "rechtsvorm" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ext:startDate ; sh:name "startdatum" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path dct:modified ; sh:name "gewijzigd" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path owl:sameAs ; sh:name "organisatie" ;
sh:description "De organisatie in dit portaal die aan dit KBO-record gekoppeld is" ;
sh:node ent:Organisatie ] .
ent:OrganisatieClassificatie
a sh:NodeShape ;
rdfs:label "organisatieclassificatie" ;
sh:targetClass ext:OrganizationClassificationCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] .
ent:BestuurseenheidClassificatie
a sh:NodeShape ;
rdfs:label "soort bestuur" ;
sh:targetClass code:BestuurseenheidClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] .
ent:GeregistreerdeOrganisatieClassificatie
a sh:NodeShape ;
rdfs:label "soort geregistreerde organisatie" ;
sh:targetClass ext:GeregistreerdeOrganisatieClassificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] .
ent:OrganisatieStatus
a sh:NodeShape ;
rdfs:label "organisatiestatus" ;
sh:targetClass code:OrganisatieStatusCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Vestiging
a sh:NodeShape ;
rdfs:label "vestiging" ;
sh:targetClass org:Site ;
sh:property [ sh:path dct:description ; sh:name "omschrijving" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ere:vestigingstype ; sh:name "type vestiging" ;
sh:node ent:TypeVestiging ] ;
sh:property [ sh:path organisatie:bestaatUit ; sh:name "adres" ;
sh:node ent:Adres ] ;
sh:property [ sh:path org:siteAddress ; sh:name "contact" ;
sh:node ent:ContactPunt ] ;
sh:property [ sh:path [ sh:inversePath org:hasPrimarySite ] ; sh:name "hoofdvestiging van" ;
sh:node ent:Organisatie ] ;
sh:property [ sh:path [ sh:inversePath org:hasSite ] ; sh:name "vestiging van" ;
sh:node ent:Organisatie ] .
ent:TypeVestiging
a sh:NodeShape ;
rdfs:label "type vestiging" ;
sh:targetClass code:TypeVestiging ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:Adres
a sh:NodeShape ;
rdfs:label "adres" ;
sh:targetClass locn:Address ;
sh:property [ sh:path locn:thoroughfare ; sh:name "straat" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:Adresvoorstelling.huisnummer ; sh:name "huisnummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:Adresvoorstelling.busnummer ; sh:name "busnummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:postCode ; sh:name "postcode" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:gemeentenaam ; sh:name "gemeente" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:adminUnitL2 ; sh:name "provincie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:land ; sh:name "land" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:fullAddress ; sh:name "volledig adres" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path adres:verwijstNaar ; sh:name "verwijst naar" ;
sh:description "URI van het adres in het adressenregister" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path [ sh:inversePath organisatie:bestaatUit ] ; sh:name "vestiging van" ;
sh:node ent:Vestiging ] .
ent:ContactPunt
a sh:NodeShape ;
rdfs:label "contactpunt" ;
sh:targetClass schema:ContactPoint ;
sh:property [ sh:path schema:email ; sh:name "email" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:telephone ; sh:name "telefoon" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:faxNumber ; sh:name "fax" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path foaf:page ; sh:name "website" ;
sh:description "URI van de website" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path schema:contactType ; sh:name "contactsoort" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path locn:address ; sh:name "adres" ;
sh:node ent:Adres ] .
ent:Identificator
a sh:NodeShape ;
rdfs:label "identificator" ;
sh:targetClass adms:Identifier ;
sh:property [ sh:path skos:notation ; sh:name "notatie" ;
sh:description "De waarde van de identificator, bv. het KBO-nummer" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path generiek:gestructureerdeIdentificator ; sh:name "gestructureerde identificator" ;
sh:node ent:GestructureerdeIdentificator ] .
ent:GestructureerdeIdentificator
a sh:NodeShape ;
rdfs:label "gestructureerde identificator" ;
sh:targetClass generiek:GestructureerdeIdentificator ;
sh:property [ sh:path generiek:lokaleIdentificator ; sh:name "lokale identificator" ;
sh:datatype xsd:string ] .
ent:Werkingsgebied
a sh:NodeShape ;
rdfs:label "werkingsgebied" ;
sh:targetClass prov:Location ;
sh:property [ sh:path rdfs:label ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ext:werkingsgebiedNiveau ; sh:name "niveau" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path geo:sfWithin ; sh:name "ligt in" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath geo:sfWithin ] ; sh:name "bevat" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath geo:sfWithin ] ; sh:name "bestuurseenheden" ;
sh:description "De bestuurseenheden die in dit gebied liggen" ;
sh:node ent:Bestuurseenheid ] ;
sh:property [ sh:path skos:exactMatch ; sh:name "exacte match" ;
sh:node ent:Concept ] .
ent:Concept
a sh:NodeShape ;
rdfs:label "concept" ;
sh:targetClass skos:Concept ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:notation ; sh:name "notatie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:altLabel ; sh:name "andere naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path sh:order ; sh:name "volgorde" ;
sh:datatype xsd:decimal ] ;
sh:property [ sh:path skos:inScheme ; sh:name "in schema" ;
sh:node ent:ConceptSchema ] .
ent:ConceptSchema
a sh:NodeShape ;
rdfs:label "conceptschema" ;
sh:targetClass skos:ConceptScheme ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:BijkomendeKwalificatie
a sh:NodeShape ;
rdfs:label "bijkomende kwalificatie" ;
sh:targetClass code:BijkomendeKwalificatieCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:notation ; sh:name "notatie" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path code:rechtsgrond ; sh:name "rechtsgrond" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:definition ; sh:name "definitie" ;
sh:datatype xsd:string ] .
ent:Sector
a sh:NodeShape ;
rdfs:label "sector" ;
sh:targetClass code:Sector ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:NaceBelCode
a sh:NodeShape ;
rdfs:label "nace-bel-code" ;
sh:targetClass nacebel:NaceBelCode ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:notation ; sh:name "code" ;
sh:datatype xsd:string ] .
ent:Lidmaatschap
a sh:NodeShape ;
rdfs:label "lidmaatschap" ;
sh:targetClass org:Membership ;
sh:property [ sh:path org:member ; sh:name "lid" ;
sh:description "De organisatie die lid is" ;
sh:node ent:Organisatie ] ;
sh:property [ sh:path org:organization ; sh:name "organisatie" ;
sh:description "De organisatie waar het lidmaatschap bij hoort" ;
sh:node ent:Organisatie ] ;
sh:property [ sh:path org:role ; sh:name "rol" ;
sh:node ent:LidmaatschapRol ] ;
sh:property [ sh:path m8g:memberDuring ; sh:name "periode" ;
sh:node ent:Periode ] .
ent:LidmaatschapRol
a sh:NodeShape ;
rdfs:label "lidmaatschapsrol" ;
sh:targetClass org:Role ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path skos:broader ; sh:name "bredere rol" ;
sh:node ent:LidmaatschapRol ] .
ent:Periode
a sh:NodeShape ;
rdfs:label "periode" ;
sh:targetClass <http://www.w3.org/2006/time#ProperInterval> ;
sh:property [ sh:path <http://www.w3.org/2006/time#hasBeginning> ; sh:name "start" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path <http://www.w3.org/2006/time#hasEnd> ; sh:name "einde" ;
sh:datatype xsd:dateTime ] .
ent:Veranderingsgebeurtenis
a sh:NodeShape ;
rdfs:label "veranderingsgebeurtenis" ;
sh:targetClass org:ChangeEvent ;
sh:property [ sh:path dct:date ; sh:name "datum" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path dct:description ; sh:name "beschrijving" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path ch:typeWijziging ; sh:name "type" ;
sh:node ent:VeranderingsgebeurtenisType ] ;
sh:property [ sh:path org:resultingOrganization ; sh:name "resulterende organisaties" ;
sh:node ent:Organisatie ] ;
sh:property [ sh:path org:originalOrganization ; sh:name "oorspronkelijke organisaties" ;
sh:node ent:Organisatie ] ;
sh:property [ sh:path code:veranderingsgebeurtenisResultaat ; sh:name "resultaten" ;
sh:node ent:VeranderingsgebeurtenisResultaat ] ;
sh:property [ sh:path m8g:hasFormalFramework ; sh:name "besluit" ;
sh:node ent:Besluit ] .
ent:VeranderingsgebeurtenisType
a sh:NodeShape ;
rdfs:label "type veranderingsgebeurtenis" ;
sh:targetClass code:Veranderingsgebeurtenis ;
sh:property [ sh:path skos:prefLabel ; sh:name "naam" ;
sh:datatype xsd:string ] .
ent:VeranderingsgebeurtenisResultaat
a sh:NodeShape ;
rdfs:label "veranderingsresultaat" ;
sh:targetClass code:VeranderingsgebeurtenisResultaat ;
sh:property [ sh:path ext:resultingOrganization ; sh:name "resulterende organisatie" ;
sh:node ent:Organisatie ] ;
sh:property [ sh:path code:resulterendeStatus ; sh:name "resulterende status" ;
sh:node ent:OrganisatieStatus ] ;
sh:property [ sh:path code:resulterendeRechtsvorm ; sh:name "resulterende rechtsvorm" ;
sh:node ent:Concept ] ;
sh:property [ sh:path code:resulterendWerkingsgebied ; sh:name "resulterend werkingsgebied" ;
sh:node ent:Werkingsgebied ] ;
sh:property [ sh:path [ sh:inversePath code:veranderingsgebeurtenisResultaat ] ; sh:name "resulteert uit" ;
sh:node ent:Veranderingsgebeurtenis ] .
ent:Besluit
a sh:NodeShape ;
rdfs:label "besluit" ;
sh:targetClass besluit:Besluit ;
sh:property [ sh:path eli:date_publication ; sh:name "publicatiedatum" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path foaf:page ; sh:name "documentlink" ;
sh:description "URI van het besluitdocument" ;
sh:datatype xsd:string ] ;
sh:property [ sh:path [ sh:inversePath prov:generated ] ; sh:name "beslissingsactiviteit" ;
sh:node ent:Beslissingsactiviteit ] .
ent:Beslissingsactiviteit
a sh:NodeShape ;
rdfs:label "beslissingsactiviteit" ;
sh:targetClass besluitvorming:Beslissingsactiviteit ;
sh:property [ sh:path dossier:Activiteit.einddatum ; sh:name "einddatum" ;
sh:datatype xsd:date ] ;
sh:property [ sh:path prov:generated ; sh:name "geeft aanleiding tot" ;
sh:node ent:Besluit ] .

View File

@@ -0,0 +1,104 @@
# The report spec, as SHACL
A spec is `rep:ReportSpec` + `sh:NodeShape`. The shape half selects
the subjects and is real SHACL; the `rep:` half says what the CSV holds,
which SHACL has no word for. This file is the spec format's own shapes graph:
a machine-readable definition that doubles as reference documentation.
The namespace:
```
rep: → http://mu.semte.ch/vocabularies/reporting/
```
File: `config/report-profiles/report-spec-shapes.ttl`.
## What it defines
One `sh:NodeShape` per term:
- **ReportSpec** — the document. `dct:title`, `rep:profile` (which profile it
was written against), `sh:targetClass`, `rep:entity` (optional; picks the
shape when two entities share one `sh:targetClass`), `sh:property` (the
filters), `rep:columns` (the CSV, in order, an rdf:List).
- **Filter** — a `sh:property` on the ReportSpec: `sh:path` plus exactly one
condition (`sh:hasValue`, `sh:in`, `sh:minCount`/`sh:maxCount`,
`sh:min/maxInclusive`/`sh:min/maxExclusive`, `sh:pattern` + `sh:flags`,
`rep:anyOf`). A path with no condition is refused by the validator.
Optional `rep:where` (see below).
- **Column** — a list item: `sh:path` (hops, or `rep:self` for the row's own
subject), `rdfs:label` (unique, required), optional `rep:collect`
(`sh:groupConcat` default, `rep:row`, `sh:min`, `sh:max`), optional
`sh:separator`, optional `sh:nodeKind sh:IRI` (the cell shows the URI of
the node the path ends on; only then may the path end on a link). No
constraints on a column — `sh:hasValue` and friends belong in filters, or
in the column's `rep:where`.
## Conditions on the way: rep:where
A filter tests only the end of its own path, and two filters never share a
node. `rep:where` tests a node in the middle of a path. It is written like a
filter, with its path from the row. The steps it has in common with its
filter or column are the same nodes; its condition tests where its own path
ends. On a filter it drops rows; on a column it drops values from the cell,
never rows. Several `rep:where` on one filter or column all apply.
```turtle
[ sh:path ( org:holds [ sh:inversePath lblodlg:heeftBestuursfunctie ]
generiek:isTijdspecialisatieVan besluit:bestuurt
[ sh:inversePath besluit:bestuurt ] [ sh:inversePath generiek:isTijdspecialisatieVan ]
org:hasPost [ sh:inversePath org:holds ]
mandaat:isBestuurlijkeAliasVan foaf:familyName ) ;
rdfs:label "Burgemeester" ;
rep:where [ sh:path ( org:holds [ sh:inversePath lblodlg:heeftBestuursfunctie ]
generiek:isTijdspecialisatieVan besluit:bestuurt
[ sh:inversePath besluit:bestuurt ] [ sh:inversePath generiek:isTijdspecialisatieVan ]
org:hasPost org:role ) ;
sh:hasValue <http://data.vlaanderen.be/id/concept/BestuursfunctieCode/5ab0e9b8a3b2ca7c5e000013> ] ]
```
Per leidinggevende: the names of the mandatarissen whose mandate, in an
organ of the same bestuurseenheid, has the role Burgemeester. The condition
shares seven steps with the column, so it tests the mandate. `validate_spec`
says so: `rep:where 1 on column "Burgemeester" applies at "mandaat", after
step 7`.
On a filter with `sh:maxCount 0`, the filter and its `rep:where` together
become "none such".
## What it cannot say (and the runner enforces anyway)
A shapes graph cannot express "a column must end on a value field, or on a
link with `sh:nodeKind sh:IRI`" (that needs the profile), "a path resolves hop by hop" (needs the profile walk),
"at most 24 anyOf terms" (cardinality over list contents), or "anyOf takes
words, not URIs" (term typing), or "a rep:where shares at least one step with
its filter or column", or "a date or number condition ends on a value, not on
a link". Those live in the service's `src/runner/check.js`.
## Not yet
`sh:count`, `sh:sum`, `sh:orderBy`, `sh:limit`, `sh:offset` (SHACL-AF names for when counting and ordering arrive), `rep:graph` (regex the subject's
graph must match).
## Example
```turtle
<http://data.lblod.info/id/report-specs/e3f1> a rep:ReportSpec , sh:NodeShape ;
dct:title "Meldingen met bijlagen" ;
rep:profile <http://data.lblod.info/id/report-profiles/toezicht> ;
sh:targetClass meb:Submission ;
sh:property [ sh:path ( pav:createdBy skos:prefLabel ) ;
sh:hasValue "West-Vlaanderen" ] ;
rep:columns (
[ sh:path rep:self ; rdfs:label "melding" ]
[ sh:path nmo:sentDate ; rdfs:label "datumVerstuurd" ]
[ sh:path ( prov:generated dct:hasPart nfo:fileName ) ;
rdfs:label "bestandsnamen" ; rep:collect rep:row ]
) .
```
## Validating a spec against these shapes
The shapes are self-describing documentation. `validate_spec` (the conversion tool)
does more: it walks every path through the mounted profile and refuses
what a shapes graph cannot see. Both together are the spec contract.

View File

@@ -0,0 +1,213 @@
# Shapes for the report spec itself (rep:ReportSpec).
# Reference definition of the spec format: a machine-readable
# contract that doubles as documentation. validate_spec does more than this
# graph can express: it walks every path through the mounted profile and
# refuses what shapes alone cannot see (columns ending on a link without
# sh:nodeKind sh:IRI, unresolved
# hops, anyOf term limits, filters without a condition).
#
# Not yet: sh:count, sh:sum, sh:orderBy, sh:limit, sh:offset, rep:graph.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rep: <http://mu.semte.ch/vocabularies/reporting/> .
<http://data.lblod.info/id/report-profiles/report-spec>
a owl:Ontology ;
dct:title "Report spec shapes" ;
sh:prefixes [
sh:declare [ sh:prefix "rep" ; sh:namespace "http://mu.semte.ch/vocabularies/reporting/"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "sh" ; sh:namespace "http://www.w3.org/ns/shacl#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "rdf" ; sh:namespace "http://www.w3.org/1999/02/22-rdf-syntax-ns#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "rdfs"; sh:namespace "http://www.w3.org/2000/01/rdf-schema#"^^xsd:anyURI ] ;
sh:declare [ sh:prefix "dct" ; sh:namespace "http://purl.org/dc/terms/"^^xsd:anyURI ] ;
] .
rep:ReportSpecShape
a sh:NodeShape ;
rdfs:label "rapportspec" ;
sh:targetClass rep:ReportSpec ;
sh:property [
sh:path dct:title ;
sh:name "titel" ;
sh:datatype xsd:string ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path rep:profile ;
sh:name "profiel" ;
sh:nodeKind sh:IRI ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:targetClass ;
sh:name "klasse" ;
sh:nodeKind sh:IRI ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
# rep:entity picks the shape when two entities share one sh:targetClass
# (the profile lists the entity URI per entity).
sh:property [
sh:path rep:entity ;
sh:name "entiteit" ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:property ;
sh:name "filter" ;
sh:node rep:FilterShape ;
] ;
sh:property [
sh:path rep:columns ;
sh:name "kolommen" ;
sh:minCount 1 ;
sh:maxCount 1 ;
] .
# A filter: a path plus exactly one condition. A path without a condition
# selects everything and is refused by check.js (filterConstraint).
rep:FilterShape
a sh:NodeShape ;
sh:property [
sh:path sh:path ;
sh:name "pad" ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:hasValue ;
sh:name "gelijk aan" ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:in ;
sh:name "in lijst" ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:minInclusive ;
sh:name "vanaf" ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:maxInclusive ;
sh:name "tot en met" ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:minExclusive ;
sh:name "na" ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:maxExclusive ;
sh:name "voor" ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:pattern ;
sh:name "regex" ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:flags ;
sh:name "regex-vlaggen" ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:minCount ;
sh:name "minimaal aantal" ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:maxCount ;
sh:name "maximaal aantal" ;
sh:datatype xsd:integer ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path rep:anyOf ;
sh:name "een van deze woorden" ;
sh:maxCount 1 ;
] ;
# rep:where: a condition on a node this filter walks through, written as a
# filter from the row. The steps it shares with this filter are the same
# nodes. check.js refuses one that shares no step, and one nested in
# another (whereConditions).
sh:property [
sh:path rep:where ;
sh:name "voorwaarde onderweg" ;
sh:node rep:FilterShape ;
] ;
sh:property [
sh:path rdfs:label ;
sh:name "label" ;
sh:maxCount 0 ;
] .
# A column: path, label, collect mode, separator. No constraints here;
# check.js refuses a constraint inside rep:columns (columnPure). The one
# exception is sh:nodeKind sh:IRI: the cell shows the URI of the node the
# path ends on, and only then may the path end on a link. A condition
# on a node the column walks through goes in rep:where; it drops values from
# the cell, never rows.
rep:ColumnShape
a sh:NodeShape ;
sh:property [
sh:path sh:path ;
sh:name "pad" ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path rdfs:label ;
sh:name "kolomnaam" ;
sh:datatype xsd:string ;
sh:minCount 1 ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path rep:collect ;
sh:name "verzamelwijze" ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:separator ;
sh:name "scheidingsteken" ;
sh:datatype xsd:string ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path sh:nodeKind ;
sh:name "toon de URI" ;
sh:in ( sh:IRI ) ;
sh:maxCount 1 ;
] ;
sh:property [
sh:path rep:where ;
sh:name "voorwaarde onderweg" ;
sh:node rep:FilterShape ;
] .
# rep:collect takes exactly these values (SHACL Core groupConcat is the
# default when absent; min/max are SHACL-AF names). A shapes graph cannot
# enumerate an IRI value set without a class; check.js enforces it (columnPure).
rep:RowShape
a sh:NodeShape ; rdfs:comment "rep:collect value: one CSV line per value" .
# rep:self as sh:path marks the row's own subject URI: nothing to walk,
# the runner takes it from the seed.
rep:self
a rdf:Property ;
rdfs:comment "in a column's sh:path slot: the row's own subject URI" .

View File

@@ -53,6 +53,12 @@
"target": "user",
"cardinality": "one",
"inverse": true
},
"gebruiker": {
"predicate": "foaf:account",
"target": "gebruikers",
"cardinality": "one",
"inverse": true
}
},
"new-resource-base": "http://data.lblod.info/id/account/"

View File

@@ -0,0 +1,165 @@
{
"version": "0.1",
"prefixes": {
"sioc": "http://rdfs.org/sioc/ns#",
"sioct": "http://rdfs.org/sioc/types#",
"as": "https://www.w3.org/ns/activitystreams#",
"dct": "http://purl.org/dc/terms/",
"foaf": "http://xmlns.com/foaf/0.1/",
"mu": "http://mu.semte.ch/vocabularies/core/",
"prov": "http://www.w3.org/ns/prov#",
"org": "http://www.w3.org/ns/org#",
"besluit": "http://data.vlaanderen.be/ns/besluit#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"code": "http://lblod.data.gift/vocabularies/organisatie/"
},
"resources": {
"gebruikers": {
"class": "foaf:Person",
"attributes": {
"voornaam": {
"type": "string",
"predicate": "foaf:firstName"
},
"achternaam": {
"type": "string",
"predicate": "foaf:familyName"
}
},
"relationships": {
"account": {
"predicate": "foaf:account",
"target": "account",
"cardinality": "many"
},
"bestuurseenheden": {
"predicate": "foaf:member",
"target": "bestuurseenheden",
"cardinality": "many"
}
},
"features": ["include-uri"],
"new-resource-base": "http://data.lblod.info/id/gebruiker/"
},
"bestuurseenheden": {
"class": "besluit:Bestuurseenheid",
"attributes": {
"naam": {
"type": "string",
"predicate": "skos:prefLabel"
}
},
"relationships": {
"classificatie": {
"predicate": "org:classification",
"target": "bestuurseenheid-classificatie-codes",
"cardinality": "one"
}
},
"features": ["include-uri"],
"new-resource-base": "http://data.lblod.info/id/bestuurseenheden/"
},
"bestuurseenheid-classificatie-codes": {
"class": "code:BestuurseenheidClassificatieCode",
"attributes": {
"label": {
"type": "string",
"predicate": "skos:prefLabel"
},
"scope-note": {
"type": "string",
"predicate": "skos:scopeNote"
}
},
"features": ["include-uri"],
"new-resource-base": "http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/"
},
"chat-conversations": {
"name": "chat-conversation",
"class": "sioc:Thread",
"attributes": {
"title": {
"type": "string",
"predicate": "dct:title"
},
"created": {
"type": "datetime",
"predicate": "dct:created"
},
"last-activity": {
"type": "datetime",
"predicate": "sioc:last_activity_date"
}
},
"relationships": {
"creator": {
"predicate": "foaf:maker",
"target": "gebruikers",
"cardinality": "one"
},
"messages": {
"predicate": "sioc:has_container",
"target": "chat-message",
"cardinality": "many",
"inverse": true
}
},
"features": ["include-uri"],
"new-resource-base": "http://data.lblod.info/id/chat-conversations/"
},
"chat-messages": {
"name": "chat-message",
"class": "sioc:Post",
"attributes": {
"content": {
"type": "string",
"predicate": "sioc:content"
},
"created": {
"type": "datetime",
"predicate": "dct:created"
},
"maker": {
"type": "uri",
"predicate": "foaf:maker"
}
},
"relationships": {
"conversation": {
"predicate": "sioc:has_container",
"target": "chat-conversation",
"cardinality": "one"
},
"attachments": {
"predicate": "as:attachment",
"target": "file",
"cardinality": "many"
}
},
"features": ["include-uri"],
"new-resource-base": "http://data.lblod.info/id/chat-messages/"
},
"chat-instant-messages": {
"name": "chat-instant-message",
"class": "sioct:InstantMessage",
"super": ["chat-message"],
"features": ["include-uri"],
"new-resource-base": "http://data.lblod.info/id/chat-messages/"
},
"chat-agents": {
"class": "prov:SoftwareAgent",
"attributes": {
"name": {
"type": "string",
"predicate": "foaf:name"
},
"description": {
"type": "string",
"predicate": "dct:description"
}
},
"features": ["include-uri"],
"new-resource-base": "http://data.lblod.info/id/chat-agents/"
}
}
}

View File

@@ -506,6 +506,11 @@
"target": "concepts",
"cardinality": "many"
},
"additional-qualifications": {
"predicate": "code:bijkomendeKwalificatie",
"target": "additional-qualification-codes",
"cardinality": "many"
},
"identifiers": {
"predicate": "adms:identifier",
"target": "identifiers",
@@ -1088,6 +1093,21 @@
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"additional-qualification-codes": {
"class": "code:BijkomendeKwalificatieCode",
"super": ["concepts"],
"attributes": {
"legal-basis": {
"type": "string",
"predicate": "code:rechtsgrond"
},
"definition": {
"type": "string",
"predicate": "skos:definition"
}
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"concept-schemes": {
"class": "skos:ConceptScheme",
"attributes": {

View File

@@ -16,8 +16,9 @@
(read-domain-file "domain.json")
(read-domain-file "auth.json")
(read-domain-file "change-events.json")
(read-domain-file "file.json")
(read-domain-file "chat-domain.json")
(read-domain-file "change-events.json")
(read-domain-file "dcat.json")
(read-domain-file "privacy-centric-service.json")
(read-domain-file "job.json")

View File

@@ -216,7 +216,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.43.0
image: lblod/frontend-organization-portal:1.42.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
@@ -684,6 +684,40 @@ services:
restart: always
logging: *default-logging
################################################################################
# CHAT / NATURAL LANGUAGE REPORTS
################################################################################
natural-language-report:
image: lblod/natural-language-report-service:0.2.0
build: ../natural-language-report-service/
volumes:
- ./data/files:/share
- ./config/report-profiles/:/config/profiles/
environment:
MU_SPARQL_ENDPOINT: "http://db:8890/sparql"
CSV_SEPARATOR: ";"
SUBJECT_CHUNK_SIZE: "100"
ROW_LIMIT: "200000"
MAX_PATH_DEPTH: "12"
INLINE_VALUES_MAX: "50"
VALUES_TTL: "3600"
labels:
- "logging=true"
restart: always
logging: *default-logging
chat:
image: lblod/frontend-lblod-chat:0.1.0
build: ../frontend-lblod-chat/
links:
- identifier:backend
environment:
EMBER_ASSISTANT_PATH: "/assistant"
EMBER_APP_NAME: "Rapportassistent"
labels:
- "logging=true"
restart: always
logging: *default-logging
###################################################################################
# MU SCRIPTS
# #################################################################################