Question: What is the relation between The Three Musketeers (the one that has Don Ameche as a cast member) and slapstick?
Choices: genre
cast member
copyright holder
child astronomical body
signatory
medical treatment
next lower rank
said to be the same as
creator
replaces
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Don Ameche" . ?e_2 <pred:name> "slapstick" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Don Ameche
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: slapstick
function: QueryRelation
dependencies: 3
4
Answer: genre