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

commas or no commas (was Re: SPARQL 2004-10-12 syntax and grammar issues)

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Mon, 8 Nov 2004 14:05:34 +0000
To: kendall@monkeyfist.com
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <20041108140534.25e1d52a@hoth.ilrt.bris.ac.uk>

On Mon, 8 Nov 2004 08:19:05 -0500, Kendall Clark <kendall@monkeyfist.com> wrote:

> On Mon, Nov 08, 2004 at 12:15:07PM +0000, Dave Beckett wrote:
> > ISSUE: Commas or no commas
> > I've already seen user confusion when they tried to use ','s inside
> > WHERE (s, p, o) and omitting them outside with SELECT ?x ?y.  I've
> > mentioned this many times as likely to happen.  It's hard to remember.
> I also find this confusing. I'd prefer commas in both places. iTQL
> doesn't require commas between the parts of a triple, and I continue
> to find that v. hard to read.

I don't care either way.  I just prefer commas required or commas banned.
i.e. either of:

SELECT ?x ?y ?z
FROM <uri1> <uri2> <uri3>
WHERE (?x ?y ?z)

SELECT ?x, ?y, ?z
FROM <uri1>, <uri2>, <uri3>
WHERE (?x, ?y, ?z) (?x, ?a, ?b)

and not where we are now:
  SELECT ?x ?y, ?z ?a, ?b
  FROM <uri1> <uri2> , <uri3>
  WHERE (?x ?y ?z) (?x ?a ?b)

I think a) reads better but it's a weak preference +0, weak against to b) -0 and -1 to c)

Received on Monday, 8 November 2004 14:09:10 UTC

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