Question: What is the connection between Sherlock Holmes that has Christopher Plummer as a performer and Roger Moore who is educated at the University of Durham?
Choices:
drug used for treatment
medical condition
performer
executive producer
notable work
characters
approved by
organizer
creator
symptoms
Program:
function: Find
inputs: Christopher Plummer
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 1
2
function: Find
inputs: University of Durham
function: Relate
dependencies: 4
inputs: educated at
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sherlock Holmes" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Christopher Plummer" . ?e_2 <pred:name> "Roger Moore" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> "University of Durham" . ?e_1 ?p ?e_2 .  }
Answer: performer