Question: Which area has lower elevation above sea level. Bucharest or New Delhi (the one that is the headquarter location of Indian Army)?
Choices: Lausanne
Bucharest
Manila
Sarajevo
New Delhi
Moscow
Paris
Mexico City
Doha
Tallinn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bucharest" .  } UNION { ?e <pred:name> "New Delhi" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Indian Army" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bucharest
function: Find
inputs: Indian Army
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: New Delhi
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
Answer: Bucharest