Question: Heat, with Danny Trejo as a cast member, has what connection to Amy Brenneman?
Choices:
operator
instrumentation
source of material
place of birth
dialect of
position played on team / speciality
place of death
next higher rank
official language
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heat" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Danny Trejo" . ?e_2 <pred:name> "Amy Brenneman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Danny Trejo
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: Amy Brenneman
function: QueryRelation
dependencies: 3
4