Question: Hollywood, where both David O. Selznick and F. Scott Fitzgerald died, is in which country?
Choices: Germany
Georgia
Italy
Kingdom of Saxony
Lebanon
Portugal
Kazakhstan
Aruba
United States of America
India
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David O. Selznick" . ?e_2 <pred:name> "Hollywood" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "F. Scott Fitzgerald" . ?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: F. Scott Fitzgerald
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of death
country
Answer: United States of America