Question: Which has higher elevation above sea level, Polk County, Iowa or West Chester?
Choices:
Lee County
San Juan County
Washoe County
African Union
Cass County
West Chester
Kent County
Greene County
Polk County
Orange County
Answer: Polk County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Polk County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Iowa" .   } 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: Iowa
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Polk County
function: And
dependencies: 1
2
function: Find
inputs: West Chester
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater