Question: What country is a US city, a twinned administrative body of Palmerston North,  postal code 59807, situated in ?
Choices:
Hungary
United States of America
Kingdom of Bavaria
Switzerland
Spain
Egypt
Bulgaria
Lithuania
Prussia
Argentina
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Palmerston North" .  ?e <postal_code> ?pv . ?pv <pred:value> "59807" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: Find
inputs: Palmerston North
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 2
inputs: postal code
59807
country