From 9ad1bba709d6df3bcd30db0d8b503c7e66b38e23 Mon Sep 17 00:00:00 2001 From: Jens Pots Date: Thu, 26 Sep 2024 10:17:00 +0200 Subject: [PATCH] refactor: move `RDFC` to root --- orchestrator/src/main/kotlin/{parser/impl/jena => }/RDFC.kt | 2 +- orchestrator/src/main/kotlin/parser/impl/jena/JenaParser.kt | 1 + orchestrator/src/main/kotlin/parser/impl/jena/ShaclShapes.kt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) rename orchestrator/src/main/kotlin/{parser/impl/jena => }/RDFC.kt (97%) diff --git a/orchestrator/src/main/kotlin/parser/impl/jena/RDFC.kt b/orchestrator/src/main/kotlin/RDFC.kt similarity index 97% rename from orchestrator/src/main/kotlin/parser/impl/jena/RDFC.kt rename to orchestrator/src/main/kotlin/RDFC.kt index 00cf3af..ca34698 100644 --- a/orchestrator/src/main/kotlin/parser/impl/jena/RDFC.kt +++ b/orchestrator/src/main/kotlin/RDFC.kt @@ -1,4 +1,4 @@ -package technology.idlab.parser.impl.jena +package technology.idlab import org.apache.jena.rdf.model.ResourceFactory diff --git a/orchestrator/src/main/kotlin/parser/impl/jena/JenaParser.kt b/orchestrator/src/main/kotlin/parser/impl/jena/JenaParser.kt index 1360646..5911f15 100644 --- a/orchestrator/src/main/kotlin/parser/impl/jena/JenaParser.kt +++ b/orchestrator/src/main/kotlin/parser/impl/jena/JenaParser.kt @@ -9,6 +9,7 @@ import org.apache.jena.rdf.model.Resource import org.apache.jena.shacl.vocabulary.SHACLM import org.apache.jena.vocabulary.RDF import technology.idlab.InvalidWorkingDirectoryException +import technology.idlab.RDFC import technology.idlab.extensions.getCollection import technology.idlab.extensions.objectOfProperty import technology.idlab.extensions.subjectWithProperty diff --git a/orchestrator/src/main/kotlin/parser/impl/jena/ShaclShapes.kt b/orchestrator/src/main/kotlin/parser/impl/jena/ShaclShapes.kt index bb6e6f2..27c780a 100644 --- a/orchestrator/src/main/kotlin/parser/impl/jena/ShaclShapes.kt +++ b/orchestrator/src/main/kotlin/parser/impl/jena/ShaclShapes.kt @@ -4,6 +4,7 @@ import org.apache.jena.datatypes.xsd.XSDDatatype import org.apache.jena.rdf.model.Model import org.apache.jena.rdf.model.Resource import org.apache.jena.shacl.vocabulary.SHACLM +import technology.idlab.RDFC import technology.idlab.extensions.objectOfProperty import technology.idlab.extensions.subjectWithProperty import technology.idlab.intermediate.IRParameter