Question: What is the relationship between Out of Sight (the one that has Anne V. Coates as a film editor) and Michael Keaton?
Choices:
has immediate cause
writing system
substitute/deputy/replacement of office/officeholder
cast member
grants
publisher
coextensive with
worshipped by
has edition
month of the year
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Out of Sight" . ?e_1 <film_editor> ?e_3 . ?e_3 <pred:name> "Anne V. Coates" . ?e_2 <pred:name> "Michael Keaton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Anne V. Coates
function: Relate
dependencies: 0
inputs: film editor
backward
function: Find
inputs: Out of Sight
function: And
dependencies: 1
2
function: Find
inputs: Michael Keaton
function: QueryRelation
dependencies: 3
4