Question: Which has less of an elevation above sea level, Holyoke or Midland (the one whose postal code is 48640–48686)?
Choices: Midland
Waukegan
Boulder
New Haven
Franklin
Columbus
Compton
Holyoke
Lansing
Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Holyoke" . } UNION { ?e <pred:name> "Midland" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "48640–48686" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Holyoke
function: Find
inputs: Midland
function: FilterStr
dependencies: 1
inputs: postal code
48640–48686
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: Holyoke