Question: while we compare Tabriz and Belgrade, which one has greater population.
Choices:
Kilkenny
Trieste
Abidjan
Cork
Kingston
Belgrade
Chihuahua
Santo Domingo
Bergen
Tabriz
Program:
function: Find
inputs: Tabriz
function: Find
inputs: Belgrade
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tabriz" .  } UNION { ?e <pred:name> "Belgrade" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tabriz