Question: For which work was George Segal (a cast member of The Mirror Has Two Faces) nominated for an Academy Award for Best Supporting Actor?
Choices: Places in the Heart
Star Wars: The Force Awakens
Who's Afraid of Virginia Woolf?
Pacific Edge
Can't Help Singing
The Ben Stiller Show
American Beauty
One Hour Photo
Sachaa Jhutha
How to Train Your Dragon
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "George Segal" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "The Mirror Has Two Faces" . ?e_2 <pred:name> "Academy Award for Best Supporting 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 .  }
Program:
function: Find
inputs: The Mirror Has Two Faces
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: George Segal
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
Answer: Who's Afraid of Virginia Woolf?