Question: What postal code denotes Elsevier's headquarters in Philadelphia, residence of Kobe Bryant?
Choices: 16530–16534
16803
19103
61401-9999
01201
36088-1920
16801
46207
46556
94702
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Elsevier" . ?e_2 <pred:name> "Philadelphia" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Kobe Bryant" . ?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: Elsevier
function: Find
inputs: Kobe Bryant
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: 19103