Question: Which has higher elevation above sea level, Montpelier or Wichita (the one whose postal code is 67207)?
Choices:
Lansing
Waukegan
Oakland
New Haven
Franklin
Greenville
Montpelier
Columbus
Compton
Wichita
Program:
function: Find
inputs: Montpelier
function: Find
inputs: Wichita
function: FilterStr
dependencies: 1
inputs: postal code
67207
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montpelier" . } UNION { ?e <pred:name> "Wichita" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "67207" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wichita