fixed SPARQL queries