Question: What is the connection between Harry Potter and the Chamber of Secrets (the one whose CANTIC-ID is a12034599) to Alan Rickman?
Choices:
genre
cast member
child astronomical body
editor
home port
diaspora
registered with
office contested
award disciplines or subjects
named after
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a12034599" . ?e_2 <pred:name> "Alan Rickman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Harry Potter and the Chamber of Secrets
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a12034599
function: Find
inputs: Alan Rickman
function: QueryRelation
dependencies: 1
2