Question: How is The Count of Monte Cristo with Donald Pleasence in the cast related to Kate Nelligan?
Choices: sex or gender
located in or next to body of water
instrumentation
doctoral advisor
cast member
languages spoken, written or signed
does not have part
notable people with this condition
exported to
manufacturer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Count of Monte Cristo" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Donald Pleasence" . ?e_2 <pred:name> "Kate Nelligan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Donald Pleasence
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Count of Monte Cristo
function: And
dependencies: 1
2
function: Find
inputs: Kate Nelligan
function: QueryRelation
dependencies: 3
4
Answer: cast member