Question: Frank Borzage passed away in Hollywood (the one which is where Bryce Dallas Howard lives), what country is it a part of?
Choices:
Kingdom of Bavaria
United States of America
Estonia
Guyana
Austria-Hungary
Taiwan
Nepal
Kuwait
Malaysia
Russian Soviet Federative Socialist Republic
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Frank Borzage" . ?e_2 <pred:name> "Hollywood" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Bryce Dallas Howard" . ?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: Frank Borzage
function: Find
inputs: Bryce Dallas Howard
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of death
country