Question: What is the connection between The Longest Day to Robert Ryan (the one that died from lung cancer)?
Choices:
honorific prefix
designed by
country
published in
history of topic
commissioned by
cast member
use
ancestral home
natural product of taxon
Program:
function: Find
inputs: The Longest Day
function: Find
inputs: lung cancer
function: Relate
dependencies: 1
inputs: cause of death
backward
function: Find
inputs: Robert Ryan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Longest Day" . ?e_2 <pred:name> "Robert Ryan" . ?e_2 <cause_of_death> ?e_3 . ?e_3 <pred:name> "lung cancer" . ?e_1 ?p ?e_2 .  }
Answer: cast member