Question: Which capital where the Jewish Albert Einstein worked is highest in elevation?
Choices: New Delhi
Doha
Tallinn
Lausanne
Moscow
Zürich
Riga
Prague
Mexico City
Manila
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "Albert Einstein" . ?e_1 <ethnic_group> ?e_2 . ?e_2 <pred:name> "Jewish people" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jewish people
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Albert Einstein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: capital
function: SelectAmong
dependencies: 5
inputs: elevation above sea level
largest
Answer: Zürich