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