Question: In what country is California State University, Long Beach's headquarter location in Long Beach (the one that is the filming location of The Informant!)?
Choices:
United States of America
Kingdom of Italy
Argentina
Czechoslovak Socialist Republic
Bulgaria
New Zealand
Israel
Saxe-Weimar-Eisenach
Romania
Costa Rica
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "California State University, Long Beach" . ?e_2 <pred:name> "Long Beach" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "The Informant!" . ?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: California State University, Long Beach
function: Find
inputs: The Informant!
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Long Beach
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country