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