Question: How is Harry Potter and the Order of the Phoenix starring Emma Watson related to Richard Griffiths?
Choices: copyright holder
production company
affiliation
lowest point
found
partner
given name
cast member
child
ethnic group
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Order of the Phoenix" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Emma Watson" . ?e_2 <pred:name> "Richard Griffiths" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Emma Watson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Richard Griffiths
function: QueryRelation
dependencies: 3
4
Answer: cast member