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