Question: What is the postal code of Elsevier's headquarter location Philadelphia, it is the birthplace of Michael Sembello?
Choices:
19103
43023-0713
90400
6021
01060
23187-8795
39762
20859–20862
07060–07063
4010
Answer: 19103
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Elsevier" . ?e_2 <pred:name> "Philadelphia" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Michael Sembello" . ?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: Michael Sembello
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code