Question: How is Harry Potter and the Order of the Phoenix distributed by Warner Bros. related to Richard Griffiths?
Choices:
commissioned by
follows
filmography
separated from
Wikidata property
art director
cast member
permanent resident of
family
narrator
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Order of the Phoenix" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Warner Bros." . ?e_2 <pred:name> "Richard Griffiths" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
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