Question: What is the state whose largest city is Denver?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE {?uri onto:largestCity res:Denver  . }