Question: How is GoldenEye related to Judi Dench?
Choices:
separated from
interested in
afflicts
filmography
performer
military conflicts
member of political party
exported to
cast member
honorific prefix
Program:
function: Find
inputs: Judi Dench
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: GoldenEye
function: And
dependencies: 1
2
function: Find
inputs: Judi Dench
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "GoldenEye" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Judi Dench" . ?e_2 <pred:name> "Judi Dench" . ?e_1 ?p ?e_2 .  }
Answer: cast member