Question: What country holds Chicago that is the headquarters location of the School of the Art Institute of Chicago and the birthplace of Laurie Anderson?
Choices:
Kazakhstan
English
Curaçao
United States of America
Costa Rica
Austria
Weimar Republic
Estonia
Saxe-Weimar-Eisenach
Sweden
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "School of the Art Institute of Chicago" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Laurie Anderson" . ?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: School of the Art Institute of Chicago
function: Find
inputs: Laurie Anderson
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country