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