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