created a sparql handler