From a53f0d3f30a4e206dfa0dafdcb26186c84c135f6 Mon Sep 17 00:00:00 2001 From: Elias Papanikitas Date: Tue, 9 Jan 2024 11:35:42 +0100 Subject: [PATCH] fixed copy paste errors... --- ...205094322-mandaat-date-to-datetime.sparql} | 0 config/reasoner/dl2op/main-info/mapping.n3 | 22 +++++++++---------- config/reasoner/dl2op/main/mapping.n3 | 10 ++++----- 3 files changed, 16 insertions(+), 16 deletions(-) rename config/migrations/2023/{20231205094323-mandaat-date-to-datetime.sparql => 20231205094322-mandaat-date-to-datetime.sparql} (100%) diff --git a/config/migrations/2023/20231205094323-mandaat-date-to-datetime.sparql b/config/migrations/2023/20231205094322-mandaat-date-to-datetime.sparql similarity index 100% rename from config/migrations/2023/20231205094323-mandaat-date-to-datetime.sparql rename to config/migrations/2023/20231205094322-mandaat-date-to-datetime.sparql diff --git a/config/reasoner/dl2op/main-info/mapping.n3 b/config/reasoner/dl2op/main-info/mapping.n3 index cc473d4..a22239e 100644 --- a/config/reasoner/dl2op/main-info/mapping.n3 +++ b/config/reasoner/dl2op/main-info/mapping.n3 @@ -98,7 +98,7 @@ PREFIX ere: { ?s ch:startdatum ?startDate. # use backward arrow rule defined below - ?startDate :dateFromDateTime ?startDateTime. + ?startDate :dateTimeFromDate ?startDateTime. { ?s ch:startdatum ?startDate } e:becomes { @@ -109,29 +109,29 @@ PREFIX ere: }. { - ?s ch:eindedatum ?startDate. + ?s ch:eindedatum ?endDate. # use backward arrow rule defined below - ?startDate :dateFromDateTime ?startDateTime. + ?endDate :dateTimeFromDate ?endDateTime. { - ?s ch:eindedatum ?startDate + ?s ch:eindedatum ?endDate } e:becomes { - ?s ch:eindedatum ?startDateTime + ?s ch:eindedatum ?endDateTime }. } => { - ?s ch:eindedatum ?startDateTime + ?s ch:eindedatum ?endDateTime }. { - ?s ere:geplandeEinddatumAanstelling ?startDate. + ?s ere:geplandeEinddatumAanstelling ?endDate. # use backward arrow rule defined below - ?startDate :dateFromDateTime ?startDateTime. + ?endDate :dateTimeFromDate ?endDateTime. { - ?s ere:geplandeEinddatumAanstelling ?startDate + ?s ere:geplandeEinddatumAanstelling ?endDate } e:becomes { - ?s ere:geplandeEinddatumAanstelling ?startDateTime + ?s ere:geplandeEinddatumAanstelling ?endDateTime }. } => { - ?s ere:geplandeEinddatumAanstelling ?startDateTime + ?s ere:geplandeEinddatumAanstelling ?endDateTime }. # Backward arrow rule is like a function call. diff --git a/config/reasoner/dl2op/main/mapping.n3 b/config/reasoner/dl2op/main/mapping.n3 index 71b7a4a..8aacb8d 100644 --- a/config/reasoner/dl2op/main/mapping.n3 +++ b/config/reasoner/dl2op/main/mapping.n3 @@ -108,16 +108,16 @@ PREFIX lblodlg: }. { - ?s ch:eindedatum ?startDate. + ?s ch:eindedatum ?endDate. # use backward arrow rule defined below - ?startDate :dateTimeFromDate ?startDateTime. + ?endDate :dateTimeFromDate ?endDateTime. { - ?s ch:eindedatum ?startDate + ?s ch:eindedatum ?endDate } e:becomes { - ?s ch:eindedatum ?startDateTime + ?s ch:eindedatum ?endDateTime }. } => { - ?s ch:eindedatum ?startDateTime + ?s ch:eindedatum ?endDateTime }.