Question: How is Anna Karenina starring Sean Bean related to drama film?
Choices:
professorship
position played on team / speciality
cast member
genre
country of citizenship
appears in the form of
chief executive officer
official color
member of
chairperson
Program:
function: Find
inputs: Sean Bean
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anna Karenina" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sean Bean" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Answer: genre