Question: Does Kanpur or Guelph have a smaller populace?
Choices:
Kanpur
Kingston
Cork
Guelph
Abidjan
Dundee
Chihuahua
Bergen
Santo Domingo
Kilkenny
Program:
function: Find
inputs: Kanpur
function: Find
inputs: Guelph
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kanpur" .  } UNION { ?e <pred:name> "Guelph" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Guelph