added verification of sparql query