Question: What is the zip code of the HQ of the California State University in Long Beach, where Knight and Day was shot?
Choices:
M3J 1P3
93750
23601–23609
50-57
19010
90033
10001
90840
93034
SE11
Answer: 90840
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> "Knight and Day" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Program:
function: Find
inputs: California State University, Long Beach
function: Find
inputs: Knight and Day
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
postal code