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