Question: What is the connection between Heat (the one that has Burt Reynolds as a cast member) to Peter MacNicol?
Choices:
industry
religious order
captain
cast member
producer
art director
organizer
academic degree
has dialect (DEPRECATED)
studies
Program:
function: Find
inputs: Burt Reynolds
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: Peter MacNicol
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heat" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Burt Reynolds" . ?e_2 <pred:name> "Peter MacNicol" . ?e_1 ?p ?e_2 .  }
Answer: cast member