W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > May 2006

Ambiguity of NIL Token

From: Chimezie Ogbuji <ogbujic@bio.ri.ccf.org>
Date: Fri, 12 May 2006 10:25:03 -0400 (EDT)
To: public-rdf-dawg-comments@w3.org
Message-ID: <Pine.GSO.4.60.0605121019241.22638@joplin.bio.ri.ccf.org>

This is regarding the following SPARQL Grammar rules and query (from the 
DAWG test data/SyntaxFull/syntax-lists-05.rq):

[29] ArgList ::= ( NIL | '(' Expression (',' Expression )* ')' )
[39] Collection := '(' GraphNode+ ')'
[56] BrackettedExpression ::= '(' Expression ')'
[85] NIL ::= '(' WS* ')'

SELECT * WHERE { ( ( ) ) }

It's not clear how to interpret the NIL token in the above query.  It's 
not an empty collection or an empty bracketed expression since both of 
these 'must' have content in between the parentheses.

Chimezie Ogbuji
Lead Systems Analyst
Thoracic and Cardiovascular Surgery
Cleveland Clinic Foundation
9500 Euclid Avenue/ W26
Cleveland, Ohio 44195
Office: (216)444-8593
ogbujic@ccf.org
Received on Friday, 12 May 2006 14:25:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:50 GMT