Question: Which area has higher elevation above sea level, Hilo or Albany (the one that contains State University of New York at Albany)?
Choices:
Albany
Franklin
Oakland
Columbus
Greenville
New Haven
Compton
Boulder
Waukegan
Hilo
Program:
function: Find
inputs: Hilo
function: Find
inputs: State University of New York at Albany
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Albany
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hilo" .  } UNION { ?e <pred:name> "Albany" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "State University of New York at Albany" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Albany