Question: What was The Goodbye Girl (the one whose script is wrote by Neil Simon) was nominated for Academy Award for Best Picture for?
Choices:
Paul Kavanagh
Fernando Ghia
Rod Steiger
Nancy Olson
Ray Stark
Jean Louis
J. Lee Thompson
George C. Scott
Matt Holloway
Walter Reisch
Program:
function: Find
inputs: Neil Simon
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Goodbye Girl" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Neil Simon" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: Ray Stark