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