Question: Which mountain range that is situated in New York (that contains Otsego County) has the lowest elevation above sea level?
Choices:
Blue Ridge Mountains
Johnny Lever
Appalachian Mountains
Alps
Adirondack Mountains
Himalayas
Sierra Nevada
Cascade Range
Pyrenees
Pennine Alps
Answer: Adirondack Mountains
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_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Otsego County" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Otsego County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
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