fix webservice response for empty SPARQL query (MARMOTTA-511)