Question: Who is cast in both the literature-based film Serpico and in Romeo + Juliet?
Choices: Al Pacino
Judd Hirsch
Max Fleischer
Paul Rudd
M. Emmet Walsh
Brian Dennehy
Leonardo DiCaprio
Sylvester Stallone
Claire Danes
Vondie Curtis-Hall
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Serpico" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "film based on literature" .  ?e_3 <cast_member> ?e . ?e_3 <pred:name> "Romeo + Juliet" .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Serpico
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: Romeo + Juliet
function: Relate
dependencies: 6
inputs: cast member
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: M. Emmet Walsh