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