Question: Mako, who succumbed to cancer of the esophagus, was the Academy Award nominee for Best Supporting Actor for which project?
Choices:
8½
Fortunes of War
Days of Wine and Roses
Sunflower
Steve Jobs
Mad About You
Gigli
The Sand Pebbles
Ghost
Manchester by the Sea
Answer: The Sand Pebbles
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mako" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> "esophageal cancer" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: esophageal cancer
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Mako
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work