Question: Does Santo Domingo or the Nelson on the continent of Oceania have a bigger populace?
Choices:
Nelson
Chihuahua
Cork
Abidjan
Kingston
Santo Domingo
Trieste
Dundee
Kilkenny
Bergen
Answer: Santo Domingo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santo Domingo" .  } UNION { ?e <pred:name> "Nelson" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Oceania" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Santo Domingo
function: Find
inputs: Oceania
function: Relate
dependencies: 1
inputs: continent
backward
function: Find
inputs: Nelson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
greater