Question: For which work did Academy Award winner Maggie Smith receive a Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie?
Choices:
Lorenzo's Oil
Bridges to Babylon
Mike's New Car
Father of the Bride
Crimes of the Heart
Forrest Gump
Downton Abbey
Turbulent Indigo
Crazy in Love
Zero Dark Thirty
Answer: Downton Abbey
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Maggie Smith" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Awards" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Maggie Smith
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work