Question: What is the relationship between Maryland (the one that has Walter Brennan as a cast member) and Henry King (the one that died in the manner of natural causes)?
Choices:
place of origin (Switzerland)
characters
appointed by
exported to
used by
takes place in fictional universe
award disciplines or subjects
publisher
director
works in collection
Program:
function: Find
inputs: Walter Brennan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Maryland
function: And
dependencies: 1
2
function: Find
inputs: natural causes
function: Relate
dependencies: 4
inputs: manner of death
backward
function: Find
inputs: Henry King
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Maryland" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Walter Brennan" . ?e_2 <pred:name> "Henry King" . ?e_2 <manner_of_death> ?e_4 . ?e_4 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Answer: director