Question: Which capital is the twinned administrative body of Jerusalem, population 457700?
Choices:
Rio de Janeiro
Lisbon
Moscow
Riyadh
Bratislava
Sarajevo
New York City
Lausanne
Prague
Doha
Answer: Prague
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Jerusalem" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "457700"^^xsd:double .   }
Program:
function: Find
inputs: Jerusalem
function: FilterNum
dependencies: 0
inputs: population
457700
=
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 2
inputs: capital
function: What
dependencies: 3