RDFLib/rdfextras — Issue #42: AttributeError: '<rdfextras.sparql.query.SPARQLQueryResult object at 0x00FC6F50>' object has not attribute 'selectionF' 
Author: cardinal27513
Created: 2012-03-10 02:50:31+00:00
State: open

I was using rdfextras 0.1 and Surf 1.1.4 (http://code.google.com/p/surfrdf/)...
Just upgrade to use rdfextras 0.2 from here and so that I can integrate json-ld...
But getting issue on result.selectionF.

Is 0.2 supposed be backward compatible?

============
ERROR:ReaderPlugin:Error on convert
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\surf-1.1.4_r371-py2.7.egg\surf\plugin\query_reader.py", line 401, in convert
return self.__convert(query_result, *keys)
File "C:\Python27\lib\site-packages\surf-1.1.4_r371-py2.7.egg\surf\plugin\query_reader.py", line 356, in __convert
results_table = self._to_table(query_result)
File "C:\Python27\lib\site-packages\surf.rdflib-1.0.0_r362-py2.7.egg\surf_rdflib\reader.py", line 68, in _to_table
vars = [unicode(var) for var in result.selectionF]
File "C:\Python27\Lib\site-packages\rdflib-3.2.0-py2.7.egg\rdflib\query.py", line 141, in __getattr__
raise AttributeError("'%s' object has not attribute '%s'"%(self,name))
AttributeError: '' object has not attribute 'selectionF'