Question: Which person is in the cast of Ghostbusters (the one whose composer is Elmer Bernstein) (the character role of this statement is Winston Zeddemore)?
Choices:
Dan Aykroyd
Rahul Dev Burman
Richard Gere
David Byrne
Sylvester Stallone
Simon Cowell
Ernie Hudson
Max Fleischer
William Henry Harrison
Bill Murray
Program:
function: Find
inputs: Elmer Bernstein
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Ghostbusters
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Winston Zeddemore
function: FilterConcept
dependencies: 5
inputs: human
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Ghostbusters" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "Elmer Bernstein" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Winston Zeddemore" .  }
Answer: Ernie Hudson