Question: Which has fewer people, Strasbourg or Bhopal?
Choices:
New Delhi
Riga
Bhopal
Lausanne
Mexico City
Tallinn
Sarajevo
Moscow
Doha
Strasbourg
Program:
function: Find
inputs: Strasbourg
function: Find
inputs: Bhopal
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Strasbourg" .  } UNION { ?e <pred:name> "Bhopal" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Strasbourg