Remove part of SPARQL query for performance reasons