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

Re: Wrong prefix in example in Section 9.3?

From: Dan Connolly <connolly@w3.org>
Date: Tue, 15 Mar 2005 09:24:01 -0600
To: "Thompson, Bryan B." <BRYAN.B.THOMPSON@saic.com>
Cc: "'public-rdf-dawg@w3.org'" <public-rdf-dawg@w3.org>
Message-Id: <1110900241.8271.1.camel@localhost>

On Tue, 2005-03-15 at 10:17 -0500, Thompson, Bryan B. wrote:
> Hello,
> 
> The example in 9.3 currently uses a URN (vs a URL) to specify the FROM
> graphs (data:graph1, data:graph2).  This seems like an error.

Maybe not an error, strictly speaking, but not something I think
is exemplary, especially not the x- prefix.

I suggest

	PREFIX data: <http://example/data#>.

> 
> PREFIX data: <urn:x-local:>
> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
> Prefix dc: <http://purl.org/dc/elements/1.1/>
> 
> SELECT ?name ?mbox ?date
> WITH   data:details
> FROM   data:graph1  data:graph2
> WHERE
>     ( ?g dc:publisher ?name)
>     ( ?g dc:date ?date )
>     GRAPH ?g 
>     {
>       ( ?person foaf:name ?name )
>       ( ?person foaf:mbox ?mbox )
>     }
> 
> Thanks,
> 
> -bryan
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 15 March 2005 15:24:02 GMT

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