Question: Does Riga or Addis Ababa have more area?
Choices: Sarajevo
Paris
Moscow
Addis Ababa
Tallinn
Lausanne
New Delhi
Manila
Doha
Riga
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Riga" .  } UNION { ?e <pred:name> "Addis Ababa" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Riga
function: Find
inputs: Addis Ababa
function: SelectBetween
dependencies: 0
1
inputs: area
greater
Answer: Addis Ababa