Question: What country does Creation Records's headquarters location London (the narrative location of Queen of the Damned) belong to?
Choices:
Iran
Slovakia
South Africa
Ecuador
Panama
Lithuania
Austria-Hungary
British Empire
England
Kingdom of Great Britain
Answer: England
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Creation Records" . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Queen of the Damned" . ?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: Creation Records
function: Find
inputs: Queen of the Damned
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