unuglyfying SPARQL query