Question: What United States city is the capital of the New York county whose FIPS 6-4 for US counties is 36027?
Choices:
Paducah
Columbus
Rochester
Oswego
Albany
Waukegan
Spokane
Franklin
Poughkeepsie
Naperville
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
36027
function: FilterConcept
dependencies: 1
inputs: county of New York
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of New York" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "36027" .   }
Answer: Poughkeepsie