Question: What person is educated at the Royal Academy of Dramatic Art and is a cast member of Willy Wonka & the Chocolate Factory?
Choices:
Gene Wilder
Christopher McDonald
Sylvester Stallone
Henry Gibson
Roy Kinnear
Max Fleischer
Albert Finney
Timothy Dalton
Iain Glen
Anthony Newley
Program:
function: Find
inputs: Royal Academy of Dramatic Art
function: Relate
dependencies: 0
inputs: educated at
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Willy Wonka & the Chocolate Factory
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Royal Academy of Dramatic Art" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> "Willy Wonka & the Chocolate Factory" .  }
Answer: Roy Kinnear