Question: Is the elevation higher in Pine Bluff or in Albany, an administrative division of Albany County?
Choices:
Pine Bluff
Franklin
Albany
Waukegan
Boulder
Compton
New Haven
Lansing
Columbus
Oakland
Program:
function: Find
inputs: Pine Bluff
function: Find
inputs: Albany County
function: Relate
dependencies: 1
inputs: contains 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> "Pine Bluff" .  } UNION { ?e <pred:name> "Albany" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Albany County" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Albany