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