Question: What New York county's capital is the city in New York whose population is 27687 in the year 2010?
Choices: Jefferson County
Cayuga County
Broome County
Putnam County
Warren County
Orange County
Fulton County
Clinton County
Erie County
Niagara County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of New York" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "27687"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
27687
=
function: QFilterYear
dependencies: 1
inputs: point in time
2010
=
function: FilterConcept
dependencies: 2
inputs: city of New York
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: county of New York
function: What
dependencies: 5
Answer: Cayuga County