Question: Which sovereign state's citizen is Bret McKenzie?
Choices:
Oman
United Kingdom
Switzerland
Weimar Republic
Guyana
Portugal
Hungary
Kiribati
New Zealand
Cambodia
Program:
function: Find
inputs: Bret McKenzie
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <country_of_citizenship> ?e . ?e_1 <pred:name> "Bret McKenzie" .   }
Answer: New Zealand