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