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