Question: How is Bewitched (the one that is originally aired on American Broadcasting Company) related to Agnes Moorehead?
Choices: position played on team / speciality
instrument
head of government
participant
medical treatment
designated as terrorist by
cast member
studies
has part
published in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bewitched" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> "American Broadcasting Company" . ?e_2 <pred:name> "Agnes Moorehead" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Bewitched
function: And
dependencies: 1
2
function: Find
inputs: Agnes Moorehead
function: QueryRelation
dependencies: 3
4
Answer: cast member