Question: What is the connection between Terry Pratchett's The Colour of Magic to Tim Curry (the one that is a cast member of Congo)?
Choices: medical condition
home venue
language of work or name
military casualty classification
replaced by
signatory
permanent resident of
cast member
child astronomical body
parent club
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Terry Pratchett's The Colour of Magic" . ?e_2 <pred:name> "Tim Curry" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Congo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Terry Pratchett's The Colour of Magic
function: Find
inputs: Congo
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Tim Curry
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: cast member