Question: Which California County contains independence (the one that is located in Inyo County)?
Choices:
Napa County
Humboldt County
San Mateo County
San Diego County
Riverside County
Inyo County
Contra Costa County
Butte County
Solano County
Tulare County
Answer: Inyo County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Independence" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Inyo County" .   }
Program:
function: Find
inputs: Inyo County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Independence
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of California
function: What
dependencies: 5