Question: How is The Three Musketeers (the one that has Joss Ackland as a cast member) related to Michel Legrand ?
Choices:
enclave within
lyrics by
instrumentation
symptoms
kit supplier
composer
head of state
platform
different from
permanent resident of
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Joss Ackland" . ?e_2 <pred:name> "Michel Legrand" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Joss Ackland
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Michel Legrand
function: QueryRelation
dependencies: 3
4