Question: Who was nominated for an Academy Award for Best Director for Doctor Zhivago (whiich is in the genre romance film)?
Choices:
Harley Jessup
Michael Westmore
Steven Haft
Douglas McGrath
Montse Ribé
Jack Cummings
Ron Nyswaner
George Roy Hill
David Lean
Claudine West
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Doctor Zhivago
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Doctor Zhivago" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romance film" . ?e_2 <pred:name> "Academy Award for Best Director" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: David Lean