From d1cbaed08519665e18ca784eac007064e437132b Mon Sep 17 00:00:00 2001 From: Dragos0000 Date: Wed, 8 Nov 2023 15:41:22 +0000 Subject: [PATCH] added extra config parameter and extended generalisations output logic --- src/common/fetchers.xsl | 15 +++-- src/owl-core-lib/connectors-owl-core.xsl | 56 ++++++++++--------- src/owl-core.xsl | 5 ++ src/owl-restrictions.xsl | 3 + .../connectors-reasoning-layer.xsl | 38 +++++++------ src/shacl-shapes.xsl | 3 + test/ePO-default-config/config-parameters.xsl | 20 +++++++ .../ePO-default-config/xsdAndRdfDataTypes.xml | 4 +- .../unitTests/test-common/test-fetchers.xspec | 2 +- 9 files changed, 94 insertions(+), 52 deletions(-) diff --git a/src/common/fetchers.xsl b/src/common/fetchers.xsl index 3b7a7064..a97f2ff2 100644 --- a/src/common/fetchers.xsl +++ b/src/common/fetchers.xsl @@ -125,11 +125,11 @@ Get the superClass from using a generalization - + - - + + @@ -140,9 +140,12 @@ - - + + - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + @@ -251,7 +253,7 @@ - + diff --git a/src/owl-core.xsl b/src/owl-core.xsl index dda45aa5..e026d9d5 100644 --- a/src/owl-core.xsl +++ b/src/owl-core.xsl @@ -69,6 +69,11 @@ + + + + + diff --git a/src/owl-restrictions.xsl b/src/owl-restrictions.xsl index b626512c..79fb683b 100644 --- a/src/owl-restrictions.xsl +++ b/src/owl-restrictions.xsl @@ -64,6 +64,9 @@ + + + diff --git a/src/reasoning-layer-lib/connectors-reasoning-layer.xsl b/src/reasoning-layer-lib/connectors-reasoning-layer.xsl index acd7d2ff..df5f3782 100644 --- a/src/reasoning-layer-lib/connectors-reasoning-layer.xsl +++ b/src/reasoning-layer-lib/connectors-reasoning-layer.xsl @@ -66,7 +66,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -604,21 +604,27 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/src/shacl-shapes.xsl b/src/shacl-shapes.xsl index 072b6999..00c0349c 100644 --- a/src/shacl-shapes.xsl +++ b/src/shacl-shapes.xsl @@ -71,6 +71,9 @@ + + + diff --git a/test/ePO-default-config/config-parameters.xsl b/test/ePO-default-config/config-parameters.xsl index 06812a1e..f7b05a0e 100644 --- a/test/ePO-default-config/config-parameters.xsl +++ b/test/ePO-default-config/config-parameters.xsl @@ -106,18 +106,38 @@ This artefact excludes the restrictions. The eProcurement Ontology describes objects and concepts, with definitions, attributes and relationships which are present within the European public procurement domain. The provision of these concepts provides the basis for a common understanding of the domain for all stakeholders ensuring the quality of data exchange and transparency.'"/> + + + + + + - - + + \ No newline at end of file diff --git a/test/unitTests/test-common/test-fetchers.xspec b/test/unitTests/test-common/test-fetchers.xspec index 6c8a9e18..25076944 100644 --- a/test/unitTests/test-common/test-fetchers.xspec +++ b/test/unitTests/test-common/test-fetchers.xspec @@ -140,7 +140,7 @@ - +