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

Re: Statements in queries?

From: Danny Ayers <danny.ayers@gmail.com>
Date: Tue, 14 Jun 2005 13:02:14 +0200
Message-ID: <1f2ed5cd05061404024cac8fb9@mail.gmail.com>
To: Jeen Broekstra <jeen@aduna.biz>
Cc: public-rdf-dawg-comments@w3.org

On 6/14/05, Jeen Broekstra <jeen@aduna.biz> wrote:

Thanks Jeen.

> This kind of functionality is offered by the CONSTRUCT clause:
> 
> CONSTRUCT { ?group rdf:type my:Group ;
>                     my:label "dawg"  }
> WHERE { ?group rdf:type my:Group }
> 
> Basically CONSTRUCT allows you to specify a graph template for the
> result set in which you can introduce new properties and values if so
> required.

Yep, that's it.

> (personal note: it might be useful to include an example in the spec
>   to illustrate the use of CONSTRUCT a bit more).

That would help those of us with poor attention spans backed by short
memories  ;-)

Cheers,
Danny.


-- 

http://dannyayers.com
Received on Tuesday, 14 June 2005 11:02:18 GMT

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