Changes for VALUES

Description section:
http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#inline-data

Translation of VALUES in a query pattern:
http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#sparqlTranslateGraphPatterns

Translation of trailing VALUES clause:
http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#convertGroupAggSelectExpressions

(the latter replaces BINDINGS - option 1 from earlier email)


Grammar: This is different from the earlier email because I did it and 
cleaned up at the same time.

[28]  ValuesClause  ::=  ( 'VALUES' DataBlock )?

[61]  InlineData  ::=  'VALUES' DataBlock

[62]  DataBlock  ::=  InlineDataOneVar | InlineDataFull

[63]  InlineDataOneVar  ::=  Var '{' DataBlockValue* '}'

[64]  InlineDataFull  ::=
     ( NIL | '(' Var* ')' ) '{' ( '(' DataBlockValue* ')' | NIL )* '}'

[65]  DataBlockValue  ::=
     iri | RDFLiteral | NumericLiteral | BooleanLiteral | 'UNDEF'

 Andy

Received on Tuesday, 15 May 2012 10:02:14 UTC