Question: Of New York counties bordering Erie County, population 919040, which occupies the biggest area?
Choices:
Albany County
Jefferson County
Greene County
Clinton County
Chautauqua County
Cayuga County
Genesee County
Orange County
Niagara County
Cattaraugus County
Answer: Chautauqua 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> "Erie County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "919040"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Erie County
function: FilterNum
dependencies: 0
inputs: population
919040
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of New York
function: SelectAmong
dependencies: 3
inputs: area
largest