improved query-sparql