Question: Which one lies higher above sea level,  Aachen (the one whose WOEID is 12596696) or Norristown?
Choices:
Orange County
Lee County
Norristown
Kent County
San Juan County
African Union
Aachen
Greene County
Delaware County
Washoe County
Program:
function: Find
inputs: Aachen
function: FilterStr
dependencies: 0
inputs: WOEID
12596696
function: Find
inputs: Norristown
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aachen" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "12596696" . } UNION { ?e <pred:name> "Norristown" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aachen