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

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

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 01 Aug 2005 15:03:11 +0100
Message-ID: <42EE2B9F.8080407@hp.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>

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

"""
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
Received on Monday, 1 August 2005 14:03:58 GMT

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