Question: What is the postal code of Cork, where  University College Cork is headquartered?
Choices:
Dublin 4
54602
71901
46219
1500
80639
11355
51100
45001
20816
Program:
function: Find
inputs: University College Cork
function: Find
inputs: Cork
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
postal code
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University College Cork" . ?e_2 <pred:name> "Cork" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Answer: Dublin 4