Question: What is the postal code of Illinois Institute of Technology's headquarter location is Chicago (the one that is the birthplace of John C. Reilly)?
Choices:
5022
14000
07503
98501
93720–30
07533
46225
34126
14482
60616
Answer: 60616
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Illinois Institute of Technology" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "John C. Reilly" . ?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: Illinois Institute of Technology
function: Find
inputs: John C. Reilly
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