Question: What country is Colchester, the location of University of Essex, located in ?
Choices:
United Kingdom
Holy Roman Empire
Prussia
England
Sweden
Thailand
Czech Republic
South Africa
Ecuador
Turkey
Program:
function: Find
inputs: University of Essex
function: Find
inputs: Colchester
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
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 ] <country> ?qpv .  }
Answer: United Kingdom