Question: What country does Tartu where the University of Tartu is headquartered belong to?
Choices:
Papal States
Sweden
Suriname
Roman Republic
Australia
Estonia
West Germany
Union of South Africa
Mexico
Japan
Program:
function: Find
inputs: University of Tartu
function: Find
inputs: Tartu
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Tartu" . ?e_2 <pred:name> "Tartu" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Estonia