From ef90d3b62e1d9226e83eef66fb93d4da085c54f9 Mon Sep 17 00:00:00 2001 From: Ken Wenzel Date: Tue, 14 Jan 2025 14:26:10 +0100 Subject: [PATCH] Fix parameter creation for --- .../linkedfactory/core/rdf4j/kvin/query/ParameterScanner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/io.github.linkedfactory.core/src/main/java/io/github/linkedfactory/core/rdf4j/kvin/query/ParameterScanner.java b/bundles/io.github.linkedfactory.core/src/main/java/io/github/linkedfactory/core/rdf4j/kvin/query/ParameterScanner.java index 99f6e9c2..cecc75ba 100644 --- a/bundles/io.github.linkedfactory.core/src/main/java/io/github/linkedfactory/core/rdf4j/kvin/query/ParameterScanner.java +++ b/bundles/io.github.linkedfactory.core/src/main/java/io/github/linkedfactory/core/rdf4j/kvin/query/ParameterScanner.java @@ -115,8 +115,8 @@ private void processGraphPattern(StatementPattern sp) throws RDF4JException { var index = indexFor(sp.getSubjectVar(), true); index.put(sp.getSubjectVar(), params); } else { - if (KVIN.VALUE.equals(pValue)) { - // ensure that parameters are created if only kvin:value is present + if (KVIN.VALUE.equals(pValue) || KVIN.VALUE_JSON.equals(pValue)) { + // ensure that parameters are created if only kvin:value or kivn:valueJson is present createParameters(sp.getSubjectVar()); }