Question: Which has more people, Douala or Tokyo (the one whose population is 9272565)?
Choices:
Chihuahua
Tokyo
Douala
Santo Domingo
Kingston
Abidjan
Kilkenny
Cork
Trieste
Bergen
Program:
function: Find
inputs: Douala
function: Find
inputs: Tokyo
function: FilterNum
dependencies: 1
inputs: population
9272565
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Douala" . } UNION { ?e <pred:name> "Tokyo" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "9272565"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tokyo