Question: David O. Selznick died in Hollywood (which is Dimitri Tiomkin's working location); what country is that in?
Choices:
Taiwan
United States of America
Venezuela
Armenia
Ireland
Roman Republic
Italy
Nazi Germany
Iceland
Weimar Republic
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David O. Selznick" . ?e_2 <pred:name> "Hollywood" . ?e_3 <work_location> ?e_2 . ?e_3 <pred:name> "Dimitri Tiomkin" . ?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: David O. Selznick
function: Find
inputs: Dimitri Tiomkin
function: Relate
dependencies: 1
inputs: work location
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of death
country