Question: Does Indore or Allahabad have more inhabitants?
Choices:
Kingston
Cork
Indore
Kilkenny
Trieste
Dundee
Allahabad
Abidjan
Chihuahua
Bergen
Program:
function: Find
inputs: Indore
function: Find
inputs: Allahabad
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indore" .  } UNION { ?e <pred:name> "Allahabad" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Allahabad