Question: What is the postal code of the University of Western Australia, which is located in Perth with a dialing code of 08637?
Choices:
26506-6201
45601
6009
10001-5992
15705-1098
060-8611
5600–5658
39762
71601–71603
47727
Answer: 6009
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Western Australia" . ?e_2 <pred:name> "Perth" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "08637" . ?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: University of Western Australia
function: Find
inputs: Perth
function: FilterStr
dependencies: 1
inputs: local dialing code
08637
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code