Question: What is the zip code of Colchester, the headquarters of the University of Essex?
Choices:
HP11
92605, 92615, 92646–92649
8240
33100
06106-3100
75018
CO4 3SQ
80012
34150
50999
Answer: CO4 3SQ
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Essex" . ?e_2 <pred:name> "Colchester" . ?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 Essex
function: Find
inputs: Colchester
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
postal code