Question: What is the zip code of the HQ of University of Western Ontario in London, birthplace of Justin Bieber?
Choices: W14 8NS
19141-1199
19103
5012
90262
N6A 3K7
20868
64501
AK000-AK911
34151
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Western Ontario" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Justin Bieber" . ?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: University of Western Ontario
function: Find
inputs: Justin Bieber
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: N6A 3K7