added log4j dependency
fixed query parsing errors (parsed using jena)
implemented rewriting of ask/select to construct