Question: Does Beaumont or Waterloo (telephone area code 319) have the lower elevation relative to sea level?
Choices:
Columbus
Lansing
New Haven
Franklin
Waukegan
Waterloo
Boulder
Oakland
Greenville
Beaumont
Program:
function: Find
inputs: Beaumont
function: Find
inputs: Waterloo
function: FilterStr
dependencies: 1
inputs: local dialing code
319
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beaumont" . } UNION { ?e <pred:name> "Waterloo" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "319" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Beaumont