Question: Does Bloomington (whose elevation is 235 meters above sea level) or High Point have the higher elevation?
Choices:
Waukegan
High Point
New Haven
Compton
Greenville
Boulder
Oakland
Lansing
Columbus
Franklin
Program:
function: Find
inputs: Bloomington
function: FilterNum
dependencies: 0
inputs: elevation above sea level
235 metre
=
function: Find
inputs: High Point
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "235"^^xsd:double . } UNION { ?e <pred:name> "High Point" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: High Point