Question: What country does Bath, University of Bath's headquarter location, belong to ?
Choices:
Spain
British Empire
Uruguay
Israel
United Kingdom
Indonesia
Iceland
Belgium
Ireland
Kingdom of Bavaria
Program:
function: Find
inputs: University of Bath
function: Find
inputs: Bath
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Bath" . ?e_2 <pred:name> "Bath" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United Kingdom