Basic SPARQL query boilerplate code in place.