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