Question: Which area has lower elevation above sea level, Tupelo or Bangor (the one whose official website is http://www.bangormaine.gov)?
Choices:
Compton
Boulder
Columbus
Waukegan
Franklin
Oakland
Tupelo
Bangor
Lansing
Greenville
Answer: Bangor
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tupelo" . } UNION { ?e <pred:name> "Bangor" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.bangormaine.gov" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tupelo
function: Find
inputs: Bangor
function: FilterStr
dependencies: 1
inputs: official website
http://www.bangormaine.gov
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less