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

Re: Question/Comment on FROM and WITH

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Fri, 11 Mar 2005 17:44:57 +0000
Message-ID: <4231D919.7000809@hp.com>
To: Geoff Chappell <geoff@sover.net>
Cc: public-rdf-dawg-comments@w3.org

Geoff Chappell wrote:
> Are graph labels lost when assembling a background graph with WITH clause?
> E.g. what would I get for this query?
> 
> SELECT ?src
> WITH <http://example.org/foaf/aliceFoaf> <http://example.org/foaf/bobFoaf> 
> WHERE
>   GRAPH ?src
>   {
>     ( ?x ?y ?z )
>   }
> 
> and what about this one - will it return any results?
> 
> SELECT ?x
> FROM <http://example.org/foaf/aliceFoaf> 
> WHERE
>     ( ?x ?y ?z )
> 
> 
> If the graph labels are maintained, I see no distinction between FROM and
> WITH. If they're not, then example queries such as in 8.1 and 8.2 are pretty
> confusing and I'd suggest using explicit FROM/WITH.
> 
> Geoff
> 

Brief update: At the face-to-face meeting in Boston, the working group decided 
to remove WITH and FROM from the query language.  All matters relating to the 
specification of the target dataset for the query is part of the protocol or 
local API.

	Andy
Received on Friday, 11 March 2005 17:45:11 GMT

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