Question: What person is the winner of the Academy Award for Best Director that was received by Annie Hall?
Choices:
Robert Blalack
Maggie Smith
John Swartzwelder
Karl Malden
Geraldine Somerville
Alan Robert Murray
Woody Allen
TV 2
Jim Carrey
Bob Ringwood
Answer: Woody Allen
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Annie Hall" . ?e_2 <pred:name> "Academy Award for Best Director" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }
Program:
function: Find
inputs: Annie Hall
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
winner