fixed sparql query