Question: What is the connection between Machete (the one that has Lindsay Lohan as a cast member) to Don Johnson (the one that is a cast member of Django Unchained)?
Choices:
director/manager
political ideology
winner
doctoral student
cast member
registered with
instrument
cause of death
airline hub
noble title
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Machete" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Lindsay Lohan" . ?e_2 <pred:name> "Don Johnson" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Django Unchained" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lindsay Lohan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Machete
function: And
dependencies: 1
2
function: Find
inputs: Django Unchained
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Don Johnson
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7