Question: What has a lower population count, Bhubaneswar or Montevideo?
Choices:
Dundee
Bhubaneswar
Abidjan
Trieste
Kilkenny
Montevideo
Kingston
Cork
Chihuahua
Santo Domingo
Program:
function: Find
inputs: Bhubaneswar
function: Find
inputs: Montevideo
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bhubaneswar" .  } UNION { ?e <pred:name> "Montevideo" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bhubaneswar