Question: Which California county contains the administrative division Eureka (the one that is the capital of Humboldt County)?
Choices:
San Diego County
Sacramento County
San Mateo County
Humboldt County
Los Angeles County
Butte County
Tulare County
Santa Cruz County
Solano County
Alameda County
Answer: Humboldt County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Eureka" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> "Humboldt County" .   }
Program:
function: Find
inputs: Humboldt County
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Eureka
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of California
function: What
dependencies: 5