Queries to extract data from the Sparql endpoint