Question: What country does Los Angeles,one where Orson Welles died belongs to ?
Choices:
Kingdom of the Netherlands
United States of America
South Africa
Uruguay
United Arab Republic
Lebanon
Weimar Republic
Kingdom of Prussia
Hong Kong
Syria
Program:
function: Find
inputs: Orson Welles
function: Find
inputs: Los Angeles
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of death
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Orson Welles" . ?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