Question: What is the connection between Mr. & Mrs. Smith (the one whose production company is 20th Century Fox) to Angela Bassett?
Choices:
killed by
location of final assembly
symptom of
captain
cast member
editor
airline alliance
participant
donated by
registered with
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Mr. & Mrs. Smith
function: And
dependencies: 1
2
function: Find
inputs: Angela Bassett
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mr. & Mrs. Smith" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "Angela Bassett" . ?e_1 ?p ?e_2 .  }
Answer: cast member