Question: In what country is the headquarter of the University of Leeds in Leeds (the one whose TOID is 4000000074572682)?
Choices:
South Africa
Lithuania
Slovakia
Syria
Suriname
Aruba
British Empire
Prussia
Czechoslovak Socialist Republic
United Kingdom
Program:
function: Find
inputs: University of Leeds
function: Find
inputs: Leeds
function: FilterStr
dependencies: 1
inputs: TOID
4000000074572682
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Leeds" . ?e_2 <pred:name> "Leeds" . ?e_2 <TOID> ?pv . ?pv <pred:value> "4000000074572682" . ?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