Question: What is the connection between The Three Musketeers (the one whose composer is Michel Legrand) to Joss Ackland?
Choices: residence
make-up artist
cast member
replaced by
discoverer or inventor
ancestral home
sex or gender
designed by
owned by
currency
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Michel Legrand" . ?e_2 <pred:name> "Joss Ackland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michel Legrand
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Joss Ackland
function: QueryRelation
dependencies: 3
4
Answer: cast member