Question: What United States city is the capital of the Massachusetts county whose FIPS 6-4 (US counties) is 25005?
Choices:
Taunton
Fargo
Lowell
Columbus
Springfield
Franklin
Belleville
Northampton
Cambridge
Worcester
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
25005
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
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 Massachusetts" . ?e_1 <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "25005" .   }
Answer: Taunton