Question: Which one has the smallest elevation above sea level among the mountain ranges that are in New York (where is the administrative division Saratoga County)?
Choices:
Blue Ridge Mountains
Appalachian Mountains
Himalayas
Adirondack Mountains
Sierra Nevada
Pennine Alps
Alps
Cascade Range
Harvey Weinstein
Pyrenees
Program:
function: Find
inputs: Saratoga County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: New York
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: mountain range
function: SelectAmong
dependencies: 5
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mountain range" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New York" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Saratoga County" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adirondack Mountains