W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2005

Re: why is where keyword optional?

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Tue, 22 Mar 2005 17:13:52 +0000
Message-ID: <42405250.8080006@hp.com>
To: kendall@monkeyfist.com
CC: DAWG Mailing List <public-rdf-dawg@w3.org>

Kendall Clark wrote:
> Why is the WHERE keyword optional? 
> 
> Thanks,
> Kendall Clark
> 

The WHERE work isn't necessary in the syntax.  WHERE has a specific meaning in 
SQL and SPARQL sort of follows that and sort of doesn't, depedning on how you 
think about the relationship.

I think of all SPARQL query patterns as restrictions on the space of possible 
solutions so WHERE is natrual to me.  Some people think of the patterns as joins 
so that it has some connection to SQL/FROM (esp. FROM with subqueries).

So as it is uneccessary and all works choices are loaded, it could be removed. 
Making it optional is a weak form.  I'd b ehappy to drop it.

	Andy
Received on Tuesday, 22 March 2005 17:15:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:22 GMT