Question: How is Crash which was nominated for an Academy Award for Best Director related to drama film?
Choices:
parent astronomical body
theme music
genre
geographic distribution
uses
movement
successful candidate
head coach
diaspora
position held
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Crash" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Director" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Crash
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4