Question: How is Serpico (directed by Sidney Lumet) connected to Judd Hirsch?
Choices:
designed by
influenced by
instrumentation
nominated for
depicted by
medical treatment
cast member
narrator
home port
operating system
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Serpico" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Sidney Lumet" . ?e_2 <pred:name> "Judd Hirsch" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sidney Lumet
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Serpico
function: And
dependencies: 1
2
function: Find
inputs: Judd Hirsch
function: QueryRelation
dependencies: 3
4