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