Question: House, directed by Laura Innes, has what link to David Henrie?
Choices:
doctoral advisor
killed by
copyright representative
cast member
publisher
member of
office held by head of state
original film format
from fictional universe
officeholder
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "House" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Laura Innes" . ?e_2 <pred:name> "David Henrie" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Laura Innes
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: House
function: And
dependencies: 1
2
function: Find
inputs: David Henrie
function: QueryRelation
dependencies: 3
4