Question: Who was nominated for an Academy Award for Best Production Design for Hamlet starring Billy Crystal?
Choices:
George DeTitta, Jr.
Jason Robards
Sid Ramin
Tim Harvey
Fred Roos
Walter Pidgeon
Sarah Siegel-Magness
Elsa Zamparelli
Eric Fellner
David Seidler
Answer: Tim Harvey
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Billy Crystal" . ?e_2 <pred:name> "Academy Award for Best Production Design" . ?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: Billy Crystal
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Production Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee