Question: What is the relationship between Cape Fear (the one that was nominated for Academy Award for Best Supporting Actress) and Juliette Lewis?
Choices:
doctoral student
narrative location
collection
family name
public holiday
owner of
health specialty
military branch
legal form
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cape Fear" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actress" . ?e_2 <pred:name> "Juliette Lewis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Cape Fear
function: And
dependencies: 1
2
function: Find
inputs: Juliette Lewis
function: QueryRelation
dependencies: 3
4