Question: Seattle is the capital of which Washington county?
Choices:
Snohomish County
Spokane County
King County
Douglas County
Whatcom County
Pierce County
Clark County
Okanogan County
Kitsap County
San Juan County
Program:
function: Find
inputs: Seattle
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of Washington
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Washington" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Seattle" .   }
Answer: King County