From 4a74b613ff3e21936429267f0618ffa21b837231 Mon Sep 17 00:00:00 2001 From: Daniil Palagin Date: Wed, 21 Aug 2024 11:00:36 +0200 Subject: [PATCH] [#263] Revert RDFNode conversion changes --- .../src/main/java/cz/cvut/spipes/modules/AbstractModule.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/s-pipes-core/src/main/java/cz/cvut/spipes/modules/AbstractModule.java b/s-pipes-core/src/main/java/cz/cvut/spipes/modules/AbstractModule.java index e44317e7..1624ca60 100644 --- a/s-pipes-core/src/main/java/cz/cvut/spipes/modules/AbstractModule.java +++ b/s-pipes-core/src/main/java/cz/cvut/spipes/modules/AbstractModule.java @@ -10,7 +10,6 @@ import cz.cvut.spipes.exception.ValidationConstraintFailedException; import cz.cvut.spipes.util.JenaUtils; import cz.cvut.spipes.util.QueryUtils; -import cz.cvut.spipes.util.RDFNodeUtils; import org.apache.jena.atlas.lib.NotImplemented; import org.apache.jena.ontology.OntModel; import org.apache.jena.query.*; @@ -271,7 +270,7 @@ private void checkConstraints(Model model, QuerySolution bindings, List it = solution.varNames(); it.hasNext(); ) { String varName = it.next(); RDFNode value = solution.get(varName); - evidenceMap.put(varName, RDFNodeUtils.toString(value)); + evidenceMap.put(varName, value.toString()); } evidences.add(evidenceMap); }