Question: Does Dehradun or Breda have more people?
Choices:
Abidjan
Bergen
Trieste
Dundee
Cork
Breda
Chihuahua
Dehradun
Santo Domingo
Kingston
Program:
function: Find
inputs: Dehradun
function: Find
inputs: Breda
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dehradun" .  } UNION { ?e <pred:name> "Breda" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dehradun