Question: Among the N.Y. counties located on Long Island's (the one whose elevation (above sea level) is 122 metres), terrain feature, which one has the largest area?
Choices:
Jefferson County
Rensselaer County
Orange County
Albany County
Nassau County
Suffolk County
Warren County
Clinton County
Cayuga County
Niagara County
Answer: Suffolk County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <located_on_terrain_feature> ?e_1 . ?e_1 <pred:name> "Long Island" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "122"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Long Island
function: FilterNum
dependencies: 0
inputs: elevation above sea level
122 metre
=
function: Relate
dependencies: 1
inputs: located on terrain feature
backward
function: FilterConcept
dependencies: 2
inputs: county of New York
function: SelectAmong
dependencies: 3
inputs: area
largest