[
https://issues.apache.org/jira/browse/JENA-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559810#comment-16559810
]
ASF GitHub Bot commented on JENA-1578:
--------------------------------------
GitHub user GregAlbiston opened a pull request:
https://github.com/apache/jena/pull/449
JENA-1578
- Subclass ValueReplacement and methods added to allow substitution of
varNames with collections of RDFNodes. This is used in SPARQL queries to
provide inline data with the VALUES keyword.
- Supports multiple values for a single variable, sets of values for
multiple variables and multiple sets of values for multiple values.
- Optional inclusion of parenthesis for the first two cases.
- Tests included for use cases.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/GregAlbiston/jena query-value-replacement
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/449.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #449
----
commit 27695b93b7454b3948cc623cff788a18942a66e2
Author: Greg Albiston <greg_albiston@...>
Date: 2018-07-27T14:05:52Z
ARQ:Query:ParameterizedSparqlString
- Subclass ValueReplacement and methods added to allow substitution of
varNames with collections of RDFNodes. This is used in SPARQL queries to
provide inline data with the VALUES keyword.
- Tests included for use cases.
----
> SPARQL VALUES for ParameterizedSparqlString
> -------------------------------------------
>
> Key: JENA-1578
> URL: https://issues.apache.org/jira/browse/JENA-1578
> Project: Apache Jena
> Issue Type: New Feature
> Components: ARQ
> Affects Versions: Jena 3.8.0
> Reporter: Greg Albiston
> Priority: Minor
>
> ParameterizedSparqlString provides an API for substituting variables within
> SPARQL queries with bound values. It does not support the SPARQL VALUES
> keyword which allows multiple values to be specified. The VALUES syntax
> supports multiple values for a single variable, sets of values for multiple
> variables and multiple sets of values for multiple values.
> Inquiry on 24/07/18 the mailing list about this feature. Patch is forthcoming.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)