Question: What is the connection between The Three Musketeers (the one that has Lon Chaney Jr. as a cast member) to Lon Chaney Jr.?
Choices:
appointed by
rector
creator
taxon rank
influenced by
studied by
cast member
political ideology
location of final assembly
license
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Lon Chaney Jr." . ?e_2 <pred:name> "Lon Chaney Jr." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lon Chaney Jr.
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Lon Chaney Jr.
function: QueryRelation
dependencies: 3
4