Question: Tell me the ZIP code of Amazon's (that has an Alexa rank of 10) headquarter in Seattle.
Choices: 99256
98101
V5K
23668-0099
60655
79000–79490
30354
74186–74187
76700–76799
11101–11106
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Amazon" . ?e_1 <Alexa_rank> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "10"^^xsd:double . ?e_2 <pred:name> "Seattle" . ?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: Amazon
function: FilterNum
dependencies: 0
inputs: Alexa rank
10
=
function: Find
inputs: Seattle
function: QueryRelationQualifier
dependencies: 1
2
inputs: headquarters location
postal code
Answer: 98101