Question: What is the zip code of the HQ of Midway Games in Chicago, where Bernie Mac was born?
Choices: 5061
P
LA1
14778
48232
48120–48128
60618
13617
93055
18042
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Midway Games" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Bernie Mac" . ?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: Midway Games
function: Find
inputs: Bernie Mac
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
Answer: 60618