W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > April 2005

Re: WHERE clause optional?

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Fri, 8 Apr 2005 13:30:58 +0100
To: Graham Klyne <gk@ninebynine.org>
Cc: public-rdf-dawg-comments@w3.org
Message-ID: <20050408133058.40dea2dc@hoth.ilrt.bris.ac.uk>

On Fri, 08 Apr 2005 12:41:34 +0100, Graham Klyne <gk@ninebynine.org> wrote:

> 
> In:
>    http://www.w3.org/TR/2005/WD-rdf-sparql-query-20050217/
> 
> the syntax indicates the WHERE clause is optional (production [1]), but I 
> can't find any indication of what is returned when no WHERE clause is 
> provided.  Maybe it's there somewhere; if so, lacking a single 
> comprehensive description of the WHERE clause, it is difficult to find it.

I can't really answer since I'm also curious where WHERE is optional, but
this could be a legal sparql "query" with no where:
  prefix ex: <http://example.org/>
  construct { ex:a ex:b ex:d }

as it's mostly a way to generate a graph; so a result is returned.

Dave
Received on Friday, 8 April 2005 12:32:36 GMT

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