- From: Renato Golin <renato@ebi.ac.uk>
- Date: Thu, 19 Jul 2007 11:20:03 +0100
- 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