Question: What is the postal code of Elsevier's headquarters that is located in Philadelphia (whose population is 1580863)?
Choices:
30314-4399
86199
19103
3012
76177
45601
94143
5011
R2C
86165
Answer: 19103
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Elsevier" . ?e_2 <pred:name> "Philadelphia" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1580863"^^xsd:double . ?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: Elsevier
function: Find
inputs: Philadelphia
function: FilterNum
dependencies: 1
inputs: population
1580863
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code