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

Re: [Fwd: Editorial comment on SPARQL Query Language Last Call]

From: Dan Connolly <connolly@w3.org>
Date: Mon, 01 Aug 2005 12:07:38 -0500
To: andy.seaborne@hp.com
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1122916058.18971.66.camel@localhost>

On Mon, 2005-08-01 at 15:03 +0100, Seaborne, Andy wrote:
> In http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2005Jul/0053, 
> Ivan points out that the text in 2.8 about blank node syntactic forms does not 
> cover the cases of using [:p :v] as a subject or object not for (1 2 3).
> 
> I have added (v1.449):
> file:///C:/home/afs/W3C/DataAccess/rq23/Overview.html#syntaxMisc

I've read too many descriptions of N3/turtle/sparql; I can't
tell if this text has any hidden gotchas. I'd like another pair
of eyeballs. Dave? Steve? Somebody else?


> """
> This allocated blank node label can be used as the subject or object of further 
> triple patterns. For example, as a subject:
> 
> [ :p "v" ] :q "w" .
> 
> _:b57 :p "v" .
> _:b57 :q "w" .
> 
> and as an object:
> 
> :x :q [ :p "v" ] .
> 
> :x  :q _:b57 .
> _:b57 :p "v" .
> """
> 
> and also in the section on RDF Collections:
> 
> """
> When used with collection elements, such as (1 ?x 3) then triple patterns and 
> blank nodes are allocated for the collection and the blank node at the head of 
> the collection can be used as a subject or object in other triple patterns.
> 
> (1 ?x 3) :p "w" .
> 
> is a short form for:
> 
>    _:b0  :p  "w" .
>    _:b0  rdf:first  1 .
>    _:b0  rdf:rest   _:b1 .
>    _:b1  rdf:first  ?x .
>    _:b1  rdf:rest   _:b2 .
>    _:b2  rdf:first  3 .
>    _:b2  rdf:rest   rdf:nil .
> """
> 
> 	Andy
> 
> 
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Monday, 1 August 2005 17:07:41 GMT

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