Question: How is Heat, with Dennis Haysbert as a cast member, related to Al Pacino?
Choices: located on astronomical location
legal form
ancestral home
location
home port
voice type
drafted by
start point
cast member
programming language
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heat" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Dennis Haysbert" . ?e_2 <pred:name> "Al Pacino" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dennis Haysbert
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: Al Pacino
function: QueryRelation
dependencies: 3
4
Answer: cast member