Question: Which has the smallest area among the New York counties that border Greene County whose population is 49221?
Choices:
Columbia County
Ulster County
Niagara County
Rensselaer County
Jefferson County
Delaware County
Warren County
Greene County
Orange County
Albany County
Answer: Albany County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Greene County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49221"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Greene County
function: FilterNum
dependencies: 0
inputs: population
49221
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of New York
function: SelectAmong
dependencies: 3
inputs: area
smallest