Question: What is the postal code of Trinity Hall's headquarters that is located in Cambridge (that is the birthplace of John Maynard Keynes)?
Choices: 30324–30334
220001–220141
23325
CB2 1TJ
73019-3072
LL57
48121–48125
48601
10100
20131
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Trinity Hall" . ?e_2 <pred:name> "Cambridge" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "John Maynard Keynes" . ?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: Trinity Hall
function: Find
inputs: John Maynard Keynes
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Cambridge
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: CB2 1TJ