Question: What is the postal code for Philadelphia (the one that is the twinned administrative body of Mosul), the headquarters of Elsevier ?
Choices: 91205
74182
77406
06106-3100
59101–59117
29579
19103
3181
OL9 6AA
93047
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Elsevier" . ?e_2 <pred:name> "Philadelphia" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Mosul" . ?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: Mosul
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: 19103