Added SPARQL query logging  (debug)