Question: For what was Aliens (which has Paul Reiser as a cast member) nominated for an Academy Award for Best Film Editing?
Choices: Thaine Morris
Ray Lovejoy
Bérénice Bejo
Pasqualino De Santis
Skip Lievsay
John Gilbert
Naomi Watts
Don Bassman
Ken Adam
Ryan O'Neal
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Aliens" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Paul Reiser" . ?e_2 <pred:name> "Academy Award for Best Film Editing" . ?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: Paul Reiser
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Aliens
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
Answer: Ray Lovejoy