Question: The Ottawa headquarters of the Canadian Broadcasting Corporation is in which country?
Choices: Canada
Roman Republic
Sint Maarten
Bhutan
Netherlands
Indonesia
South Africa
Spain
Switzerland
Weimar Republic
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Canadian Broadcasting Corporation" . ?e_2 <pred:name> "Ottawa" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Canadian Broadcasting Corporation
function: Find
inputs: Ottawa
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
Answer: Canada