wrote tests for sparqlAsk; refactoring, add/correct comments