added debug feature for SPARQL request