SPARQL query corrected