Question: Santa Barbara, a Daytime Emmy winner for Outstanding Drama Series, has what link to Leonardo DiCaprio?
Choices:
capital of
basic form of government
stated in
film crew member
cast member
country of citizenship
parent organization
exclave of
position played on team / speciality
rector
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Santa Barbara" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Daytime Emmy Award for Outstanding Drama Series" . ?e_2 <pred:name> "Leonardo DiCaprio" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Daytime Emmy Award for Outstanding Drama Series
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Santa Barbara
function: And
dependencies: 1
2
function: Find
inputs: Leonardo DiCaprio
function: QueryRelation
dependencies: 3
4