Question: How is Halloween starring Daniel Roebuck related to Danny Trejo?
Choices: hair color
next lower rank
main subject
seed team
medical condition
executive producer
cast member
award disciplines or subjects
allegiance
has contributing factor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Halloween" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Daniel Roebuck" . ?e_2 <pred:name> "Danny Trejo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Daniel Roebuck
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Halloween
function: And
dependencies: 1
2
function: Find
inputs: Danny Trejo
function: QueryRelation
dependencies: 3
4
Answer: cast member