Question: The Hamlet with Kate Winslet as a cast member has what connection to Kate Winslet?
Choices:
contributor(s) to the creative work
official symbol
child
cast member
hair color
record label
member of political party
participant of
original network
foundational text
Program:
function: Find
inputs: Kate Winslet
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hamlet
function: And
dependencies: 1
2
function: Find
inputs: Kate Winslet
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Kate Winslet" . ?e_2 <pred:name> "Kate Winslet" . ?e_1 ?p ?e_2 .  }
Answer: cast member