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