Question: What is the postal code of Southwest Airlines's headquarter in Dallas (the one that is the residence of Luke Wilson)?
Choices:
12222
03804
69007
75781
10301–10314
75235
97526
46556
01309
70191
Answer: 75235
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Southwest Airlines" . ?e_2 <pred:name> "Dallas" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Luke Wilson" . ?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: Southwest Airlines
function: Find
inputs: Luke Wilson
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Dallas
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code