Question: What country does Madrid, where Tyrone Power (who was involved in the conflict World War II) died, belong to?
Choices: worldwide
Taiwan
Saxe-Weimar-Eisenach
Norway
Egypt
Kingdom of the Netherlands
Switzerland
Nepal
Austria
Spain
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tyrone Power" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "World War II" . ?e_2 <pred:name> "Madrid" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: Tyrone Power
function: And
dependencies: 1
2
function: Find
inputs: Madrid
function: QueryRelationQualifier
dependencies: 3
4
inputs: place of death
country
Answer: Spain