Question: Dewey Decimal classifies as 2--79418 the US city that's the capital of which California county?
Choices:
Sonoma County
Alameda County
Riverside County
Tulare County
Sacramento County
Ventura County
Contra Costa County
San Diego County
Butte County
Shasta County
Answer: Sonoma County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--79418" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--79418
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: county of California
function: What
dependencies: 4