assert error during sparql query

Bug #151280 reported by Gunnar Aastrand Grimnes
2
Affects Status Importance Assigned to Milestone
rdflib
New
Undecided
Unassigned

Bug Description

I get the following exception when executing a SPARQL query:

[...]
File "build/bdist.linux-i686/egg/rdflib/Graph.py", line 679, in query
  File "build/bdist.linux-i686/egg/rdflib/sparql/bison/Processor.py", line 39, in query
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 240, in TopEvaluate
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 534, in evaluate
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 499, in _ExpandLeftJoin
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 499, in _ExpandLeftJoin
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 499, in _ExpandLeftJoin
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 499, in _ExpandLeftJoin
  File "build/bdist.linux-i686/egg/rdflib/sparql/Algebra.py", line 491, in _ExpandLeftJoin
AssertionError: <SPARQLNode 137854252. 2 children, 0 OPTs. clash: False. bound: [u'?label', u'?type', u'?uri', u'?createdate', u'?classlabel']>

This happens with the SVN version as of today.

Download a test program from here: http://www.dfki.uni-kl.de/~grimnes/2007/10/rdflibSparqlBug/test.py

(why can't I attach a file?)

Revision history for this message
Gunnar Aastrand Grimnes (gromgull) wrote :

aha - here I could have attached it. oh well.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.