Question: What is the postal code of London (the one that is the birthplace of Eddie Redmayne), where the London school of economics is headquartered?
Choices:
08638
31401–31499
91100
15701
86157
1100
WC2A 2AE
89701-89706, 89711-89714, 89721
02129
79968-0691
Answer: WC2A 2AE
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "London School of Economics" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Eddie Redmayne" . ?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: London School of Economics
function: Find
inputs: Eddie Redmayne
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