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

Re: CONSTRUCT * example in 10.2 does not declare "foaf" prefix.

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Tue, 15 Mar 2005 16:09:57 +0000
Message-ID: <423708D5.8090509@hp.com>
To: "Thompson, Bryan B." <BRYAN.B.THOMPSON@saic.com>
Cc: "'public-rdf-dawg@w3.org'" <public-rdf-dawg@w3.org>

Thompson, Bryan B. wrote:
> Hello,
> 
> The CONSTRUCT * example in section 10.2 does not declare the "foaf"
> prefix.
> 
> CONSTRUCT * WHERE ( ?x foaf:name ?name )
> 
> -bryan
> 

Bryan,

Also fixed by removal - the section on "CONSTRUCT *" has been removed because 
the definition doesn't work in the presence of GRAPH in the query.  The idea was 
to return that subgraph that would give the same answers but with GRAPH the 
query is over an RDF dataset, not a single graph.  The only alternative I can 
think of at this late stage would be to allow "CONSTRUCT *" only if no GRAPH 
keyword appears in the query.


http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0240.html

and example 4:

CONSTRUCT { ?s ?p ?o } WHERE
    GRAPH ?g { ?s ?p ?o }
    { ?g dc:publisher <http://www.w3.org/> }
    { ?g dc:date ?date }
    FILTER app:myDate(?date) > "2005-02-28T00:00:00Z"^^xsd:dateTime

	Thanks again,
	Andy
Received on Tuesday, 15 March 2005 16:10:16 GMT

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