Question: What is the relation of Anna Karenina (whose director of photography is William H. Daniels) to English?
Choices:
instrumentation
characters
shares border with
original language of film or TV show
license
family name
different from
cites
make-up artist
employer
Answer: original language of film or TV show
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anna Karenina" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "William H. Daniels" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William H. Daniels
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4