Compare commits

..

13 Commits

Author SHA1 Message Date
felix
ea97464519 extended profiles 2026-09-27 17:10:20 +02:00
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
15 changed files with 1810 additions and 5 deletions

View File

@@ -90,6 +90,7 @@ drc up -d construct-organization-relationships frontend
```
```
drc up -d frontend
drc restart migrations
drc restart resource cache db dispatcher
```

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:BijkomendeKwalificatieCode" -> _))
("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")
: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,7 +95,7 @@ defmodule Dispatcher do
Proxy.forward(conn, path, "http://cache/registered-organization-classification-codes/")
end
match "/additional-qualification-codes/*path", %{accept: [:json], layer: :api} do
get "/additional-qualification-codes/*path", %{accept: [:json], layer: :api} do
Proxy.forward(conn, path, "http://cache/additional-qualification-codes/")
end
@@ -248,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/")
@@ -417,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
#################################################################
@@ -491,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,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,381 @@
# 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).
#
# Keten leidinggevenden: functionaris -> bestuursfunctie (org:holds) <-
# leidinggevend orgaan in tijd (lblodlg:heeftBestuursfunctie) ->
# leidinggevend bestuursorgaan (generiek:isTijdspecialisatieVan) ->
# bestuurseenheid (besluit:bestuurt). Elke leidinggevende functie heeft een
# eigen orgaan per eenheid (bv. "Algemeen directeur Gemeente Lille"), zonder
# mandaten. Naar de mandatarissen van dezelfde eenheid gaat het dus via de
# eenheid terug naar haar politieke organen.
#
# Vier entiteiten delen besluit:Bestuursorgaan als sh:targetClass;
# rep:discriminator houdt ze in de seed uit elkaar (alle voorwaarden gelden
# samen): een orgaan in tijd heeft generiek:isTijdspecialisatieVan, een vast
# orgaan niet; een leidinggevend orgaan heeft een classificatie uit
# ent:LeidinggevendeOrgaanClassificaties, een orgaan in tijd via zijn vaste
# orgaan. De classificatie beslist, niet of er een functie aan hangt: zo
# blijft een leidinggevend orgaan zonder functie zichtbaar als fout in de
# data. Een spec kiest er één met rep:entity. Let op: in zuivere SHACL moet
# elk besluit:Bestuursorgaan aan alle vier de shapes voldoen;
# rep:discriminator (een eigen uitbreiding) beperkt sh:targetClass. Zie de
# README van natural-language-report-service.
#
# 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 ] ;
] .
# De classificaties van leidinggevende organen, zoals de migraties ze
# gebruiken (bv. 2024/20241028125621). Eén lijst voor de rep:discriminator
# van de vier organen hieronder.
ent:LeidinggevendeOrgaanClassificaties
rdf:first <http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/39854196-f214-4688-87a1-d6ad12baa2fa> ; # Algemeen directeur
rdf:rest (
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/11f0af9e-016c-4e0b-983a-d8bc73804abc> # Adjunct-algemeen directeur
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/62644b9c-4514-41dd-a660-4c35257f2b35> # Financieel directeur
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ed40469e-3b6f-4f38-99ba-18912ee352b0> # Adjunct-financieel directeur
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/3e9f22c1-0d35-445b-8a37-494addedf2d8> # Financieel beheerder
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/41caf7e6-b040-4720-9cc2-a96cfffed5b4> # Leidend ambtenaar
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/5ab19107-82d2-4273-a986-3da86fda050d> # Griffier
) .
ent:Bestuursorgaan
a sh:NodeShape ;
rdfs:label "bestuursorgaan" ;
sh:targetClass besluit:Bestuursorgaan ;
rep:discriminator [ sh:path generiek:isTijdspecialisatieVan ; sh:maxCount 0 ] ;
rep:discriminator [ sh:path org:classification ; sh:in ent:LeidinggevendeOrgaanClassificaties ; 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:LeidinggevendBestuursorgaan
a sh:NodeShape ;
rdfs:label "leidinggevend bestuursorgaan" ;
sh:targetClass besluit:Bestuursorgaan ;
rep:discriminator [ sh:path generiek:isTijdspecialisatieVan ; sh:maxCount 0 ] ;
rep:discriminator [ sh:path org:classification ; sh:in ent:LeidinggevendeOrgaanClassificaties ] ;
sh:property [ sh:path besluit:bestuurt ; sh:name "bestuurt" ;
sh:description "De bestuurseenheid waar deze leidinggevende functie bij hoort" ;
sh:node ent:Bestuurseenheid ] ;
sh:property [ sh:path org:classification ; sh:name "soort bestuursorgaan" ;
sh:description "Bv. algemeen directeur, financieel directeur" ;
sh:node ent:BestuursorgaanClassificatie ] ;
sh:property [ sh:path [ sh:inversePath generiek:isTijdspecialisatieVan ] ; sh:name "heeft tijdsspecialisaties" ;
sh:description "De leidinggevende organen in tijd die bij dit vaste orgaan horen" ;
sh:node ent:LeidinggevendBestuursorgaanInTijd ] .
ent:BestuursorgaanInTijd
a sh:NodeShape ;
rdfs:label "bestuursorgaanInTijd" ;
sh:targetClass besluit:Bestuursorgaan ;
rep:discriminator [ sh:path generiek:isTijdspecialisatieVan ; sh:minCount 1 ] ;
rep:discriminator [ sh:path ( generiek:isTijdspecialisatieVan org:classification ) ; sh:in ent:LeidinggevendeOrgaanClassificaties ; sh:maxCount 0 ] ;
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 ] .
ent:LeidinggevendBestuursorgaanInTijd
a sh:NodeShape ;
rdfs:label "leidinggevend bestuursorgaanInTijd" ;
sh:targetClass besluit:Bestuursorgaan ;
rep:discriminator [ sh:path ( generiek:isTijdspecialisatieVan org:classification ) ; sh:in ent:LeidinggevendeOrgaanClassificaties ] ;
sh:property [ sh:path mandaat:bindingStart ; sh:name "binding start" ;
sh:description "Start van de periode; leidinggevend orgaan in tijd" ;
sh:datatype xsd:dateTime ] ;
sh:property [ sh:path mandaat:bindingEinde ; sh:name "binding einde" ;
sh:description "Einde van de periode; leidinggevend 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 leidinggevend vaste orgaan waarvan dit orgaan in tijd een periode is" ;
sh:node ent:LeidinggevendBestuursorgaan ] ;
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: politiek of leidinggevend" ;
sh:or ( [ sh:node ent:Bestuursorgaan ] [ sh:node ent:LeidinggevendBestuursorgaan ] ) ].
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 leidinggevend orgaan in tijd waar deze functie bij hoort" ;
sh:node ent:LeidinggevendBestuursorgaanInTijd ] ;
sh:property [ sh:path [ sh:inversePath org:holds ] ; sh:name "bekleders" ;
sh:description "De functionarissen die deze functie bekleden" ;
sh:node ent:Functionaris ] .
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 en functionarissen" ;
sh:description "De mandaten en de leidinggevende functies van deze persoon" ;
sh:or ( [ sh:node ent:Mandataris ] [ 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,541 @@
# 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:description "De gebieden en de bestuurseenheden die in dit gebied liggen" ;
sh:or ( [ sh:node ent:Werkingsgebied ] [ 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

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

@@ -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
# #################################################################################