Client for querying a sparql endpoint