Question: What is the connection between Hope Springs (the one whose production company is Touchstone Pictures) to Heather Graham?
Choices:
convicted of
licensed to broadcast to
part of the series
affiliation
cast member
film editor
lifestyle
member of
film crew member
health specialty
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hope Springs" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Touchstone Pictures" . ?e_2 <pred:name> "Heather Graham" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Touchstone Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Hope Springs
function: And
dependencies: 1
2
function: Find
inputs: Heather Graham
function: QueryRelation
dependencies: 3
4