Question: How is Helen with Ashley Judd related to drama film?
Choices:
substitute/deputy/replacement of office/officeholder
genre
relative
film editor
educated at
continent
narrative location
seed team
head of state
member of
Program:
function: Find
inputs: Ashley Judd
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Helen
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Helen" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ashley Judd" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Answer: genre