Question: What is the relation between Ghostbusters (the one composed by Elmer Bernstein) and Ernie Hudson?
Choices:
field of work
distributor
coextensive with
feast day
talk show guest
designated as terrorist by
had as last meal
practiced by
cast member
film regional debut venue
Program:
function: Find
inputs: Elmer Bernstein
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Ghostbusters
function: And
dependencies: 1
2
function: Find
inputs: Ernie Hudson
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ghostbusters" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Elmer Bernstein" . ?e_2 <pred:name> "Ernie Hudson" . ?e_1 ?p ?e_2 .  }
Answer: cast member