Question: In what country is Brooklyn (the one that is the narrative location of Do the Right Thing and Brooklyn College's headquarter location)?
Choices: Japan
Weimar Republic
Turkey
Kingdom of Prussia
Argentina
Uruguay
Denmark
Holy Roman Empire
United States of America
Kazakhstan
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brooklyn College" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Do the Right Thing" . ?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: Brooklyn College
function: Find
inputs: Do the Right Thing
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
Answer: United States of America