Question: What country does  London (the one that is the narrative location of The Madness of King George), headquarter location of Guildhall School of Music and Drama, belong to?
Choices: Finland
Bangladesh
Spain
New Zealand
Austria
United Kingdom
Aruba
Weimar Republic
Papal States
Kingdom of Italy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Guildhall School of Music and Drama" . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "The Madness of King George" . ?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: Guildhall School of Music and Drama
function: Find
inputs: The Madness of King George
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
Answer: United Kingdom