Question: What is the relationship between Unforgiven (that was nominated for an Academy Award for Best Director) and Morgan Freeman?
Choices:
residence
legislative body
official symbol
commander of
sibling
derivative work
cast member
parent astronomical body
sports season of league or competition
doctoral student
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Unforgiven
function: And
dependencies: 1
2
function: Find
inputs: Morgan Freeman
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Unforgiven" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Director" . ?e_2 <pred:name> "Morgan Freeman" . ?e_1 ?p ?e_2 .  }
Answer: cast member