Question: How does Going My Way, nominated for Academy Award for Best Story, relate to James Brown (deceased 11th April 1992) ?
Choices:
professional or sports partner
newspaper format
draft pick from school
cast member
platform
heritage designation
subject has role
film regional debut venue
political ideology
item operated
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Going My Way" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Story" . ?e_2 <pred:name> "James Brown" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "1992-04-11"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Story
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Going My Way
function: And
dependencies: 1
2
function: Find
inputs: James Brown
function: FilterDate
dependencies: 4
inputs: date of death
1992-04-11
=
function: QueryRelation
dependencies: 3
5