Question: Which human, at the 12th Tony Awards, was nominated for the theatre award that was also nominated to Robert Klein (who has the occupation of screenwriter)?
Choices:
Joel Grey
Andy Griffith
Tony Randall
Bob Gunton
Peter Ustinov
Laurence Olivier
Robert Guillaume
Anthony Perkins
Theodore Bikel
Lena Horne
Answer: Tony Randall
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "theatre award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Robert Klein" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "12th Tony Awards" .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Klein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: theatre award
function: Relate
dependencies: 5
inputs: nominated for
backward
function: QFilterStr
dependencies: 6
inputs: statement is subject of
12th Tony Awards
function: FilterConcept
dependencies: 7
inputs: human
function: What
dependencies: 8