From 4418349b9e890b3a1a40b4d7034a365ed91d6a6c Mon Sep 17 00:00:00 2001 From: mirdono Date: Fri, 15 Dec 2023 18:34:41 +0100 Subject: [PATCH] Added query rule for OCMW associations --- config/reasoner/dl2op/main/query.n3q | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config/reasoner/dl2op/main/query.n3q b/config/reasoner/dl2op/main/query.n3q index ed20b54..55d3d9d 100644 --- a/config/reasoner/dl2op/main/query.n3q +++ b/config/reasoner/dl2op/main/query.n3q @@ -188,6 +188,23 @@ ?p ?o . }. +## OCMW associations +# Note: Loket uses only the general classification code for OCMW associations, +# while OP uses its 5 more specific subtypes +{ + ?s a ; + ?bestuursfunctie ; + ?p ?o . + + ?orgaanInTime ?bestuursfunctie ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { + ?s a ; + ?p ?o . +}. + # Mandatarissen should only be linked to a gemeente, district, provincie or OCMW # (FOR NOW)