Question: Of New York cities run by a mayor, which has the lowest elevation?
Choices:
Long Beach
White Plains
Elmira
Yonkers
Syracuse
Troy
Auburn
Glens Falls
Utica
Glen Cove
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: city of New York
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "mayor" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Glen Cove