Question: Is the population count higher in Kitchener or Kolkata?
Choices:
Kolkata
Kilkenny
Trieste
Cork
Abidjan
Bergen
Santo Domingo
Kingston
Chihuahua
Dundee
Program:
function: Find
inputs: Kitchener
function: Find
inputs: Kolkata
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kitchener" .  } UNION { ?e <pred:name> "Kolkata" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kolkata