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