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