Question: Who was the Academy Award nominee for Best Director for The Quiet Man, distributed by Republic Pictures?
Choices:
Ross Katz
Barry Mendel
Douglas Shearer
Terry George
Michael Weller
Chris Clark
Mark Robson
Eve Stewart
John Ford
J. Michael Riva
Answer: John Ford
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Quiet Man" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Republic Pictures" . ?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: Republic Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Quiet Man
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee