Question: In what country is Pasadena, which is the headquarter location of the Art Center College of Design?
Choices:
Japan
international
Prussia
Poland
German Democratic Republic
Egypt
Nepal
Orange Free State
United States of America
Kazakhstan
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Art Center College of Design" . ?e_2 <pred:name> "Pasadena" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Art Center College of Design" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Art Center College of Design
function: Find
inputs: Art Center College of Design
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Pasadena
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country