Query fixes
Casting all URIRefs to unicode. And several fixes for empty SPARQL results