Question: For the University of the Punjab, its headquarter location of Lahore belongs to what country?
Choices:
Pakistan
Czechoslovak Socialist Republic
Bhutan
Sweden
France
Saudi Arabia
Socialist Federal Republic of Yugoslavia
Russian Empire
Philippines
United Kingdom of Great Britain and Ireland
Program:
function: Find
inputs: University of the Punjab
function: Find
inputs: Lahore
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of the Punjab" . ?e_2 <pred:name> "Lahore" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Pakistan