Re: WHERE clause optional?

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 UTC