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