Question: What is the postal code of Royal Academy of Music's headquarters in London (the one that has a Wikidata property architect) ?
Choices: 46285
2000–2660
70192
NW1 5HT
81737
33000
C1000-14xx
47714
21044–21046
98004–98009
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Royal Academy of Music" . ?e_2 <pred:name> "London" . ?e_3 <Wikidata_property> ?e_2 . ?e_3 <pred:name> "architect" . ?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: Royal Academy of Music
function: Find
inputs: architect
function: Relate
dependencies: 1
inputs: Wikidata property
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: NW1 5HT