Question: In what country is Los Angeles, where Truman Capote died?
Choices:
Malaysia
Russian Empire
Czech Republic
Ukraine
Monaco
United States of America
Greece
Poland
Roman Republic
Holy Roman Empire
Program:
function: Find
inputs: Truman Capote
function: Find
inputs: Los Angeles
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of death
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Truman Capote" . ?e_2 <pred:name> "Los Angeles" . ?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 .  }
Answer: United States of America