Question: For which work was Rob Reiner nominated for Academy Award for Best Picture?
Choices:
Wilson
With a Song in My Heart
A Few Good Men
Powers
The Devil Wears Prada
Supernatural
Kentucky
The Bostonians
The Barefoot Contessa
The Last Airbender
Answer: A Few Good Men
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rob Reiner" . ?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 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Rob Reiner
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work