Question: What is the connection between Annie (the one that has Bernadette Peters as a cast member) to Carol Burnett?
Choices: military conflicts
legal form
cast member
seed team
member of sports team
natural product of taxon
director
screenwriter
residence
has cause
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Annie" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Bernadette Peters" . ?e_2 <pred:name> "Carol Burnett" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bernadette Peters
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Annie
function: And
dependencies: 1
2
function: Find
inputs: Carol Burnett
function: QueryRelation
dependencies: 3
4
Answer: cast member