Question: Which covers a larger amount of area, Rio de Janeiro with their population of 16635996 or Aargau?
Choices:
Punjab
Rio de Janeiro
Podlaskie Voivodeship
Upper Austria
Lublin Voivodeship
New South Wales
England
Aargau
Chiapas
Minas Gerais
Program:
function: Find
inputs: Rio de Janeiro
function: FilterNum
dependencies: 0
inputs: population
16635996
=
function: Find
inputs: Aargau
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rio de Janeiro" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "16635996"^^xsd:double . } UNION { ?e <pred:name> "Aargau" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rio de Janeiro