Question: What zip code denotes iHeartMedia's headquarters in San Antonio, which has the USA as its country?
Choices:
9301
34149
76203-1277
30603
47722
60637
78209
78741–78742
01075-1489
20139
Answer: 78209
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "iHeartMedia" . ?e_2 <pred:name> "San Antonio" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?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: iHeartMedia
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: San Antonio
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code