Question: Which has fewer people, Buenos Aires or Douala?
Choices:
Cork
Dundee
Buenos Aires
Douala
Kingston
Santo Domingo
Bergen
Chihuahua
Kilkenny
Trieste
Program:
function: Find
inputs: Buenos Aires
function: Find
inputs: Douala
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Buenos Aires" .  } UNION { ?e <pred:name> "Douala" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Douala