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