Question: Which area is smaller, Beirut (the one that is the twinned administrative body of Los Angeles) or Doha?
Choices:
Riga
Paris
Beirut
Moscow
Doha
Sarajevo
New Delhi
Lausanne
Mexico City
Tallinn
Answer: Doha
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beirut" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "Doha" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Beirut
function: And
dependencies: 1
2
function: Find
inputs: Doha
function: SelectBetween
dependencies: 3
4
inputs: area
less