Question: For which work was  Ryan O'Neal nominated for the Academy Award for Best Actor?
Choices:
Freak
The Big House
Untamed Heart
Broken Lance
Love Story
The Iron Lady
Kramer vs. Kramer
Thelma & Louise
The Country Girl
Poetic Justice
Program:
function: Find
inputs: Ryan O'Neal
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ryan O'Neal" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: Love Story