Question: Bucharest, headquarters of the University of Bucharest, is in which country?
Choices:
Nepal
Socialist Federal Republic of Yugoslavia
South Africa
Austria-Hungary
Romania
English
Chile
Iceland
India
Albania
Program:
function: Find
inputs: University of Bucharest
function: Find
inputs: Bucharest
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Bucharest" . ?e_2 <pred:name> "Bucharest" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Romania