W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2006


From: Fred Zemke <fred.zemke@oracle.com>
Date: Mon, 20 Nov 2006 09:50:13 -0800
Message-ID: <4561EAD5.4020808@oracle.com>
CC: RDF Data Access Working Group <public-rdf-dawg@w3.org>

Lee Feigenbaum wrote:

>Fred Z. and I have both advanced the idea that perhaps SPARQL should 
>require that the LHS of the OPTIONAL be explicitly demarcated by mandatory 
>curly braces. In our opinion (OK, in my opinion, but I'm guessing Fred 
>shares it), this would alleviate any confusion and make complex queries 
>more readable.
This is my opinion too.  I do not understand why UNION is a binary
operator that requires curlies on both sides but OPTIONAL is a binary
operator that only requires curlies on one side.  Looking at the grammar,
we do not see the usual stratified BNF for precedence, which in most
languages is used to make parenthesization optional if it can be deduced
by precedence.  I say either introduce a stratified BNF with clear 
or require curlies on both operands of OPTIONAL.

Received on Monday, 20 November 2006 17:52:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:52 UTC