Question: Nanjim or Tehran are the lowest elevation above sea level (the one that is the twinned administrative body of Tbilisi)
Choices: Riga
Nanjing
Lausanne
Tehran
New Delhi
Moscow
Doha
Sarajevo
Tallinn
Manila
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nanjing" .  } UNION { ?e <pred:name> "Tehran" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Tbilisi" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Nanjing
function: Find
inputs: Tbilisi
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Tehran
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
Answer: Nanjing