small changes to remove the ugly bit in SparqlAlgebraToDatalogTranslator