What is the {country} for {country} of {Wellington}
Which nation is Wellington located?
Which country is Wellington located?
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:country . resource:Wellington property:country ?z }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23661> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q6256> } 
 select distinct ?obj where { wd:Q23661 wdt:P17 ?obj . ?obj wdt:P31 wd:Q6256 } 
New Zealand