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