Question: What is the postal code of Fort Worth where American Airline is headquartered and is the residence of John Denver?
Choices: W2 6BY
10001–10090
20005
70374
76155
16538
67228
91401, 91405, 91406, 91409, 91411
NW3
18181
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "American Airlines" . ?e_2 <pred:name> "Fort Worth" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "John Denver" . ?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: American Airlines
function: Find
inputs: John Denver
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Fort Worth
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: 76155