[redland-dev] How does OPTIONAL work?

Chris Dollin kers at hplb.hpl.hp.com
Mon May 16 14:27:12 BST 2005


On Monday 16 May 2005 12:58, Marinaio di terra wrote:
> Hi all,
> I'm a student working at my master thesis and I'm working on a project
> based on Semantic Web technologies.
> I'm using Python and the Redland-Python-binding, but I'm having some
> troubles querying using the OPTIONAL parameter.

>               "WHERE (<file:./sample.rdf#Ball> toy:name ?name) " +
>               "OPTIONAL (<file:/sample.rdf#Ball> toy:version ?ver)",

Look carefully at the two file: URIs.

-- 
Chris "electric hedgehog" Dollin
"The compiler is free to insert padding because it makes the struct 
look bigger and scares away predators." [Keith Thompson, comp.lang.c]



More information about the redland-dev mailing list