Question: In what country is London (where the Royal College of Music's headquarter location is and where Robin Gibb died)?
Choices:
Holy Roman Empire
Lebanon
Netherlands
Burkina Faso
England
Confederation of the Rhine
Ecuador
Cambodia
Ukraine
Portugal
Answer: England
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Royal College of Music" . ?e_2 <pred:name> "London" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Robin Gibb" . ?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: Royal College of Music
function: Find
inputs: Robin Gibb
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country