Question: What is the connection between Carrie (the one whose director is William Wyler) to Eddie Albert?
Choices:
designed by
source of material
convicted of
newspaper format
narrative location
cast member
afflicts
work location
uses
field of work
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carrie" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "William Wyler" . ?e_2 <pred:name> "Eddie Albert" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William Wyler
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Eddie Albert
function: QueryRelation
dependencies: 3
4