Question: The Johannesburg headquarters of the University of the Witwatersrand is in which country?
Choices:
West Germany
Saudi Arabia
Serbia
United Arab Republic
Saxe-Weimar-Eisenach
Taiwan
South Africa
English
Malaysia
Sint Maarten
Program:
function: Find
inputs: University of the Witwatersrand
function: Find
inputs: Johannesburg
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of the Witwatersrand" . ?e_2 <pred:name> "Johannesburg" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: South Africa