attempt to fix #633 by pchampin · Pull Request #634 · RDFLib/rdflib (original) (raw)
I made this fix with a very superficial understanding of what was going on... It does not break any test (but this is not surprising: those tests would have failed before with an exception, as per #633), and it does give the expected result in the script that I attached to #633.
But I really think it would be better if someone with a better understanding of the SPARQL engine could review it before a merge.