Fixed a very nasty bug in sparql.py (unicode(result))