Question: What counntry didTyrone Power (the one whose official website is http://www.tyrone-power.com/biography_annabella.html) died in, if we know it happened in Madrid ?
Choices:
West Germany
Holy Roman Empire
Spain
Aruba
Slovenia
Poland
Russia
Germany
United Kingdom of Great Britain and Ireland
People's Republic of China
Answer: Spain
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tyrone Power" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.tyrone-power.com/biography_annabella.html" . ?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: Tyrone Power
function: FilterStr
dependencies: 0
inputs: official website
http://www.tyrone-power.com/biography_annabella.html
function: Find
inputs: Madrid
function: QueryRelationQualifier
dependencies: 1
2
inputs: place of death
country