Question: Is there a greater area in Manila or in Moscow (population 7830509)?
Choices: Lausanne
Mexico City
Riga
Moscow
Manila
Sarajevo
Doha
New Delhi
Tallinn
Copenhagen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manila" . } UNION { ?e <pred:name> "Moscow" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "7830509"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Manila
function: Find
inputs: Moscow
function: FilterNum
dependencies: 1
inputs: population
7830509
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Moscow