Question: What is the connection between Mr. & Mrs. Smith (the one that has Kerry Washington as a cast member) to Kerry Washington?
Choices:
replaced by
has effect
father
place of publication
replaces
convicted of
found
start point
architectural style
cast member
Program:
function: Find
inputs: Kerry Washington
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Mr. & Mrs. Smith
function: And
dependencies: 1
2
function: Find
inputs: Kerry Washington
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mr. & Mrs. Smith" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kerry Washington" . ?e_2 <pred:name> "Kerry Washington" . ?e_1 ?p ?e_2 .  }
Answer: cast member