Question: What is the connection between Rock of Ages (the one whose producer is Tobey Maguire) to Bryan Cranston?
Choices:
subject has role
doctoral advisor
instrument
head coach
cast member
territory claimed by
production company
copyright representative
series spin-off
voice actor
Program:
function: Find
inputs: Tobey Maguire
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Rock of Ages
function: And
dependencies: 1
2
function: Find
inputs: Bryan Cranston
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rock of Ages" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Tobey Maguire" . ?e_2 <pred:name> "Bryan Cranston" . ?e_1 ?p ?e_2 .  }
Answer: cast member