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