modified sample sparql query