Question: Which California county is the location of the university where Bob Yari studied?
Choices:
Contra Costa County
Santa Barbara
San Diego County
Tulare County
Riverside County
Fresno County
Santa Cruz County
Santa Barbara County
Nevada County
Alameda County
Program:
function: Find
inputs: Bob Yari
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: university
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: county of California
function: What
dependencies: 4
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:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> "Bob Yari" .   }
Answer: Santa Barbara County