W3C home > Mailing lists > Public > semantic-web@w3.org > July 2007

Re: RDF property templating

From: Renato Golin <renato@ebi.ac.uk>
Date: Thu, 19 Jul 2007 11:20:03 +0100
Message-ID: <469F3AD3.7080907@ebi.ac.uk>
To: Jérôme Mainka <mainka@antidot.net>
CC: semantic-web@w3.org

Jérôme Mainka wrote:
> CONSTRUCT
> {
>         ?obj :result ( "A prefix" ?value1 ?value2 ?value3 ) .
> }
> WHERE
> {
>         ?obj :prop1 ?value1;
>                 :prop2 ?value2;
>                 :prop3 ?value3.
> } .
> 
> But this kind of construction doesn't work with a partial knowledge. In my 
> example, if :prop2 is missing, the premises aren't satisfied.
> 
> Am I pushing RDF too far? Should I modify my model? 

I might be missing the point but this is the classic OUTER JOIN case and
OPTIONAL should work and give you correct results.


cheers,
--renato

-- 
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
Received on Thursday, 19 July 2007 10:28:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:41:58 UTC