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