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