Question: What is the zip code of Southwest Airlines's headquarters in Dallas, where Robin Wright was born?
Choices:
94649
30603
92831–92838
75235
02155-5555
12201–12212
SW7 2EU
125009
100
27705
Answer: 75235
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Southwest Airlines" . ?e_2 <pred:name> "Dallas" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Robin Wright" . ?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: Robin Wright
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Dallas
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code