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