Question: Given that My Fair Lady was nominated for the Academy Award for Best Director, who was the nominee?
Choices:
George Cukor
William McCaughey
George DeTitta, Sr.
Erich Segal
Peter Zinner
Harvey Weinstein
Thomas E. Sanders
Sally Menke
Scott Stokdyk
Tony Lamberti
Answer: George Cukor
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "My Fair Lady" . ?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: My Fair Lady
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee