Set proper sparql query