Question: What is the connection between Frankenstein (the one that has Adam Goldberg as a cast member) to Martin Scorsese?
Choices:
place of publication
producer
part of
film distribute region
conferred by
model item
designed by
occupation
notable people with this condition
occupant
Program:
function: Find
inputs: Adam Goldberg
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 1
2
function: Find
inputs: Martin Scorsese
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frankenstein" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Adam Goldberg" . ?e_2 <pred:name> "Martin Scorsese" . ?e_1 ?p ?e_2 .  }
Answer: producer