Skip to content

Commit

Permalink
Merge pull request #266 from kbss-cvut/263-refactor-rdfnode-output
Browse files Browse the repository at this point in the history
Revert RDFNode conversion changes
  • Loading branch information
blcham authored Aug 21, 2024
2 parents eecdce1 + 4a74b61 commit ad1ac56
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -271,7 +270,7 @@ private void checkConstraints(Model model, QuerySolution bindings, List<Resource
for (Iterator<String> 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);
}
Expand Down

0 comments on commit ad1ac56

Please sign in to comment.