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