Setting up sparql queries