Question: What is the connection between Halloween (the one that has Danny Trejo as a cast member) to Malcolm McDowell?
Choices:
legislative body
sports season of league or competition
model item
award disciplines or subjects
cast member
continent
manner of death
named after
worshipped by
designated as terrorist by
Program:
function: Find
inputs: Danny Trejo
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Halloween
function: And
dependencies: 1
2
function: Find
inputs: Malcolm McDowell
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Halloween" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Danny Trejo" . ?e_2 <pred:name> "Malcolm McDowell" . ?e_1 ?p ?e_2 .  }
Answer: cast member