Question: What is the California county whose capital is Redding?
Choices:
Tulare County
Contra Costa County
San Bernardino County
San Diego County
Mendocino County
Alameda County
Marin County
Shasta County
Sonoma County
Butte County
Program:
function: Find
inputs: Redding
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: county of California
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Redding" .   }
Answer: Shasta County