Question: What is the postal code of University of Bologna's headquarters of Bologna?
Choices:
40126
08876
22X XX
02901–02912, 02918, 02919, 02940
59717
47712
1901
76700–76799
43210
G
Answer: 40126
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Bologna" . ?e_2 <pred:name> "Bologna" . ?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 Bologna
function: Find
inputs: Bologna
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
postal code