You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Elie Roux (Jira)" <ji...@apache.org> on 2021/12/06 10:59:00 UTC

[jira] [Created] (JENA-2206) setList in ParameterizedSparqlString

Elie Roux created JENA-2206:
-------------------------------

             Summary: setList in ParameterizedSparqlString
                 Key: JENA-2206
                 URL: https://issues.apache.org/jira/browse/JENA-2206
             Project: Apache Jena
          Issue Type: New Feature
          Components: ARQ
    Affects Versions: Jena 4.2.0
            Reporter: Elie Roux


having a new function

setList​(java.lang.String valueName, java.util.List<? extends RDFNode> listItems)

would be very practical, it would transform

select * { ?s ?p ?o . FILTER (?o IN ?ovalues)}

into

select * { ?s ?p ?o . FILTER (?o IN ("a", "b"))}

when called with ("o", ["a", "b"])



--
This message was sent by Atlassian Jira
(v8.20.1#820001)