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