Question: Which postal code is assigned to AC Sparta Prague's headquarters in Prague (population 437388)?
Choices:
83701–83799
10282
68165
101 0041
68531–68532
93701–12
17000
50823
8245
T1
Answer: 17000
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "AC Sparta Prague" . ?e_2 <pred:name> "Prague" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "437388"^^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: AC Sparta Prague
function: Find
inputs: Prague
function: FilterNum
dependencies: 1
inputs: population
437388
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code