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