From 147aeb933bb00f3fb7b5c127d08832f1de4a4844 Mon Sep 17 00:00:00 2001 From: Dragos0000 Date: Tue, 16 May 2023 15:55:33 +0100 Subject: [PATCH 1/2] Union of multiple domains and ranges for properties + Some URIs are generated as short URIs --- .../connectors-reasoning-layer.xsl | 43 +++++++++++++------ .../connectors-shacl-shape.xsl | 2 +- 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/src/reasoning-layer-lib/connectors-reasoning-layer.xsl b/src/reasoning-layer-lib/connectors-reasoning-layer.xsl index 68dce88d..2ebb1d23 100644 --- a/src/reasoning-layer-lib/connectors-reasoning-layer.xsl +++ b/src/reasoning-layer-lib/connectors-reasoning-layer.xsl @@ -146,12 +146,21 @@ - - - - - + + + + + + + + + + + + + + @@ -197,14 +206,22 @@ select="functx:value-union($targetRanges, $sourceRanges)"/> - - + + + + + + + + + + - + - - + + + @@ -231,7 +248,7 @@ diff --git a/src/shacl-shape-lib/connectors-shacl-shape.xsl b/src/shacl-shape-lib/connectors-shacl-shape.xsl index c629af24..ce316cf2 100644 --- a/src/shacl-shape-lib/connectors-shacl-shape.xsl +++ b/src/shacl-shape-lib/connectors-shacl-shape.xsl @@ -180,7 +180,7 @@ - + From b27c7fbda69a3f6ea122feab48ebf3e1c1ae19c2 Mon Sep 17 00:00:00 2001 From: Dragos0000 Date: Tue, 16 May 2023 16:02:45 +0100 Subject: [PATCH 2/2] fix tests --- .../test-connectors-reasoning-layer.xspec | 2 +- .../test-shacl-shape-lib/test-connectors-shacl-shape.xspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unitTests/test-reasoning-layer-lib/test-connectors-reasoning-layer.xspec b/test/unitTests/test-reasoning-layer-lib/test-connectors-reasoning-layer.xspec index 145fb254..f4ebbc68 100644 --- a/test/unitTests/test-reasoning-layer-lib/test-connectors-reasoning-layer.xspec +++ b/test/unitTests/test-reasoning-layer-lib/test-connectors-reasoning-layer.xspec @@ -207,7 +207,7 @@ - + diff --git a/test/unitTests/test-shacl-shape-lib/test-connectors-shacl-shape.xspec b/test/unitTests/test-shacl-shape-lib/test-connectors-shacl-shape.xspec index a6e31a81..de66ab59 100644 --- a/test/unitTests/test-shacl-shape-lib/test-connectors-shacl-shape.xspec +++ b/test/unitTests/test-shacl-shape-lib/test-connectors-shacl-shape.xspec @@ -173,7 +173,7 @@ - +