Question: Which has more people, Beirut (the one that is the twinned administrative body of Los Angeles) or Strasbourg?
Choices:
Lausanne
Tallinn
Doha
Riga
New Delhi
Sarajevo
Beirut
Manila
Mexico City
Moscow
Answer: Beirut
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beirut" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "Strasbourg" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?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: Strasbourg
function: SelectBetween
dependencies: 3
4
inputs: population
greater