Updated sparqlQuery() to test different controller