changed sparql query and UI