From f295f10d008487305508088657ba7db89cdccb9a Mon Sep 17 00:00:00 2001 From: mirdono Date: Fri, 24 Nov 2023 14:01:58 +0100 Subject: [PATCH] Added rules to add Agent and AgentInPosition types --- config/reasoner/dl2op/main/mapping.n3 | 28 ++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/config/reasoner/dl2op/main/mapping.n3 b/config/reasoner/dl2op/main/mapping.n3 index 1838441..d03978c 100644 --- a/config/reasoner/dl2op/main/mapping.n3 +++ b/config/reasoner/dl2op/main/mapping.n3 @@ -17,6 +17,10 @@ PREFIX persoon_loket: PREFIX skos: PREFIX string: PREFIX xsd: +PREFIX dc_terms: +PREFIX ch: +PREFIX person: +PREFIX lblodlg: # DL and OP both use persoon:gebruikteVoornaam but with different semantics (!) # Hence the mapping is in two steps. @@ -171,4 +175,26 @@ PREFIX xsd: } } => { ?s generiek:isTijdspecialisatieVan ?o. -}. +} . + +# In OP AgentInPositie inherits from Agent +{ + ?s a ch:AgentInPositie . +} => { + ?s a dc_terms:Agent . +} . + +# In OP functionaris inherits from agents-in-position, which inherits from Agent +{ + ?s a lblodlg:Functionaris . +} => { + ?s a ch:AgentInPositie , + dc_terms:Agent . +} . + +# In OP Person inherits from Agent +{ + ?s a person:Person . +} => { + ?s a dc_terms:Agent . +} .