Question: Which New York county that is located on a terrain feature of Long Island (whose population is 540648) has the smallest land area?
Choices:
Jefferson County
Suffolk County
Albany County
Clinton County
Orange County
Greene County
Nassau County
Niagara County
Rensselaer County
Cayuga County
Program:
function: Find
inputs: Long Island
function: FilterNum
dependencies: 0
inputs: population
540648
=
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
smallest
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 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "540648"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nassau County