Question: Which one, Chico (the one whose elevation (above sea level) is 60 metre) or Grants Pass, has less elevation (above sea level)?
Choices:
Oakland
Franklin
Boulder
New Haven
Grants Pass
Lansing
Greenville
Waukegan
Chico
Columbus
Answer: Chico
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chico" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "60"^^xsd:double . } UNION { ?e <pred:name> "Grants Pass" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chico
function: FilterNum
dependencies: 0
inputs: elevation above sea level
60 metre
=
function: Find
inputs: Grants Pass
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less