Question: Which person was nominated for the Academy Awards where Kirk Douglas (the award-winning work of this statement is The Man with the Golden Arm) received the prize ?
Choices:
Bryan Cranston
William Henry Harrison
Michael Douglas
Mickey Rourke
Richard Gere
Frank Sinatra
Geoffrey Rush
Kenneth Branagh
Paul Newman
Sylvester Stallone
Program:
function: Find
inputs: Kirk Douglas
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Relate
dependencies: 2
inputs: nominated for
backward
function: QFilterStr
dependencies: 3
inputs: for work
The Man with the Golden Arm
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Academy Awards" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Kirk Douglas" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "The Man with the Golden Arm" .  }
Answer: Frank Sinatra