Question: What is the connection between Malcolm X (the one that has Christopher Plummer as a cast member) to Martin Donovan (the one that is the citizen of United States of America)?
Choices:
airline hub
set in period
has quality
cast member
registered with
noble title
follows
home port
director/manager
producer
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Malcolm X" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Christopher Plummer" . ?e_2 <pred:name> "Martin Donovan" . ?e_2 <country_of_citizenship> ?e_4 . ?e_4 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Christopher Plummer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Malcolm X
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country of citizenship
backward
function: Find
inputs: Martin Donovan
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7