cleaning up the SPARQL->SQL translation
function cleanups (proper description of function parameters and return types)
variable cleanups (proper description of variable mappings between SPARQL and SQL)