Question: Is the lower elevation in Marshall, Texas or in Olympia, at 29 meters above sea level?
Choices:
Franklin
New Haven
Compton
Olympia
Lansing
Greenville
Columbus
Waukegan
Boulder
Oakland
Program:
function: Find
inputs: Marshall, Texas
function: Find
inputs: Olympia
function: FilterNum
dependencies: 1
inputs: elevation above sea level
29 metre
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marshall, Texas" . } UNION { ?e <pred:name> "Olympia" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "29"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Olympia