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