Question: What is the postal code for the headquarters of the School of the Art Institute of Chicago that is located in Chicago (where Ray Stark was born)?
Choices:
200000
20126
79968
60603
94502
92709
68542
8063
44701–44894
13235
Answer: 60603
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> "Ray Stark" . ?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: School of the Art Institute of Chicago
function: Find
inputs: Ray Stark
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
postal code