Question: Which has less elevation above sea level, Tacoma whose elevation above sea level is 74 metres or Odessa whose postal code is 79761–79766?
Choices:
Waukegan
Compton
Columbus
Odessa
Oakland
Tacoma
Franklin
Greenville
Lansing
New Haven
Program:
function: Find
inputs: Tacoma
function: FilterNum
dependencies: 0
inputs: elevation above sea level
74 metre
=
function: Find
inputs: Odessa
function: FilterStr
dependencies: 2
inputs: postal code
79761–79766
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tacoma" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "74"^^xsd:double . } UNION { ?e <pred:name> "Odessa" . ?e <postal_code> ?pv_2 . ?pv_2 <pred:value> "79761–79766" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tacoma