Skip to content

Commit

Permalink
[#263] Revert RDFNode conversion changes
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Aug 21, 2024
1 parent 75fcb0b commit f27c1f7
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 f27c1f7

Please sign in to comment.