Question: What California county's capital is the United States city whose official website is http://www.bakersfieldcity.us (in English)?
Choices:
Siskiyou County
Humboldt County
Butte County
San Mateo County
Alameda County
San Diego County
Ventura County
Kern County
Tulare County
Contra Costa County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.bakersfieldcity.us
function: QFilterStr
dependencies: 1
inputs: language of work or name
English
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: county of California
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.bakersfieldcity.us" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "English" .   }
Answer: Kern County