Question: Which has more people, Derry or Kampala?
Choices: Kampala
Trieste
Kilkenny
Kingston
Bergen
Derry
Chihuahua
Abidjan
Dundee
Cork
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Derry" .  } UNION { ?e <pred:name> "Kampala" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Derry
function: Find
inputs: Kampala
function: SelectBetween
dependencies: 0
1
inputs: population
greater
Answer: Kampala