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