Question: Who was the nominee for Little Women (the one that was nominated for Academy Award for Best Writing, Adapted Screenplay) , nominated for Academy Award for Best Director ?
Choices:
Julie Ochipinti
Adam Greenberg
David O. Russell
Albert Finney
Patricia Arquette
Leigh Harline
George Cukor
Ray Milland
Thomas T. Moulton
Bette Midler
Answer: George Cukor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Little Women" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?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 .  }
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Little Women
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee