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] [Updated] (JENA-2206) setList in ParameterizedSparqlString
[ https://issues.apache.org/jira/browse/JENA-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elie Roux updated JENA-2206:
----------------------------
Description:
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 setList("ovalues", ["a", "b"])
was:
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"])
> 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
> Priority: Minor
>
> 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 setList("ovalues", ["a", "b"])
--
This message was sent by Atlassian Jira
(v8.20.1#820001)