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.
----
---