Question: Which area has higher elevation above sea level, Munich (the one whose number of households is 38710) or Bern?
Choices: Bern
Washoe County
African Union
Greene County
Orange County
Munich
Cass County
San Juan County
Kent County
Lee County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Munich" . ?e <number_of_households> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "38710"^^xsd:double . } UNION { ?e <pred:name> "Bern" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Munich
function: FilterNum
dependencies: 0
inputs: number of households
38710
=
function: Find
inputs: Bern
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Bern