[ 
https://issues.apache.org/jira/browse/JENA-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566043#comment-16566043
 ] 

ASF GitHub Bot commented on JENA-1578:
--------------------------------------

Github user afs commented on the issue:

    https://github.com/apache/jena/pull/449
  
    There is no need to use the un-parenthesed form - it is a syntactic short 
form and the full form can always be used. This may make the code generation 
easier and have less at risk of misalignment.
    ```
    SELECT * {
           VALUES (?x) { (1) (2) (3) }
           }
    ```
    The query formatter does much the same - if it one variable, it uses the 
short form, but it does not worry about the data being mis aligned:
    
    It is the case of (illegal) `VALUES ?x { (1 2) (3) }` becoming treated as 
`VALUES ?x { 1 2 3 }`.


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

Reply via email to