Question: What country does Santa Barbara (which contains the University of California, Santa Barbara's headquarter location), belong to?
Choices:
Chile
Uruguay
United States of America
Canada
British Empire
Serbia
worldwide
Mexico
English
England
Program:
function: Find
inputs: University of California, Santa Barbara
function: Find
inputs: University of California, Santa Barbara
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Santa Barbara
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of California, Santa Barbara" . ?e_2 <pred:name> "Santa Barbara" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "University of California, Santa Barbara" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America