Question: What is the connection between Halloween (the one whose production company is Paramount Pictures) to Danny Trejo?
Choices:
manner of death
movement
opposite of
cast member
facet of
replaces
founded by
studies
copyright holder
owner of
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Halloween" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Paramount Pictures" . ?e_2 <pred:name> "Danny Trejo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Halloween
function: And
dependencies: 1
2
function: Find
inputs: Danny Trejo
function: QueryRelation
dependencies: 3
4