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