Question: How is Harry Potter and the Goblet of Fire, with Michael Gambon, related to Shirley Henderson?
Choices:
director/manager
allegiance
lifestyle
political ideology
chairperson
public holiday
different from
sibling
takes place in fictional universe
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Michael Gambon" . ?e_2 <pred:name> "Shirley Henderson" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michael Gambon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
function: And
dependencies: 1
2
function: Find
inputs: Shirley Henderson
function: QueryRelation
dependencies: 3
4