Question: How is The Alamo (distributed by Walt Disney Studios Motion Pictures) related to Billy Bob Thornton?
Choices:
symptom of
political ideology
manufacturer
influenced by
nutrient
voice actor
cast member
military casualty classification
sex or gender
significant event
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Alamo" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "Billy Bob Thornton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Alamo
function: And
dependencies: 1
2
function: Find
inputs: Billy Bob Thornton
function: QueryRelation
dependencies: 3
4