Question: What capital has a postal code of 6022 and is the place of birth for Fran Walsh?
Choices: Paris
Riga
Wellington
Moscow
Lausanne
Tallinn
Sarajevo
Manila
Doha
New Delhi
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Fran Walsh" .  ?e <postal_code> ?pv . ?pv <pred:value> "6022" .  }
Program:
function: Find
inputs: Fran Walsh
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
6022
function: FilterConcept
dependencies: 4
inputs: capital
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Wellington