Question: What is the postal code for Brooklyn (John Ortiz's birthplace)'s headquarters of Brooklyn College?
Choices:
75023–75094
24450
11210
89154
570001
83844-2282
02860–02862
N9B
KA11 - KA12
81377
Answer: 11210
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brooklyn College" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "John Ortiz" . ?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: Brooklyn College
function: Find
inputs: John Ortiz
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code