Question: What is the postal code of  San Francisco Art Institute's headquarter location is San Francisco (the one that is the narrative location of Basic Instinct)?
Choices:
94133
16805
37100
20810
94533–94535
38010-38023-38089
01810
15301
39120
59777
Answer: 94133
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "San Francisco Art Institute" . ?e_2 <pred:name> "San Francisco" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Basic Instinct" . ?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: San Francisco Art Institute
function: Find
inputs: Basic Instinct
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: San Francisco
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code