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