-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The attached program does a sparql query with several optional clauses,
the result is several lines with only variables from one optional clause bound
at a time, the others are None.
It's not very easy to explain :)
Look at the attached program, the output is:
(URIRef('http://example.org/a'), URIRef('http://example.org/b'), None, None)
(URIRef('http://example.org/a'), None, URIRef('http://example.org/c'), None)
(URIRef('http://example.org/a'), None, None, URIRef('http://example.org/d'))
I would expect that as many of the optional clauses as possible would be bound,
and the output to be:
(rdflib.URIRef('http://example.org/a'),
rdflib.URIRef('http://example.org/b'),
rdflib.URIRef('http://example.org/c'),
rdflib.URIRef('http://example.org/d'))
Am I wrong?
Cheers,
- --
Gunnar Aastrand Grimnes
gunnar.grimnes [AT] dfki.de
DFKI GmbH
Knowledge Management
Trippstadter Strasse 122
D-67663 Kaiserslautern
Germany
Office: +49 631 205 75-117
Mobile: +49 177 277 4397
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGf9d8fD15aMgAOfcRAu5zAKD6wSSJwdwhX+pol1150njTld8bWwCfSpS9
NDck9TpmwBy1+ZAjzDc3ZUc=
=+JC0
-----END PGP SIGNATURE-----
_______________________________________________
Dev mailing list
[email protected]
http://rdflib.net/mailman/listinfo/dev