Question: What is the relationship between A Christmas Carol (the one whose director of photography is John F. Seitz) and Joseph L. Mankiewicz?
Choices:
operating system
illustrator
set in period
diaspora
opposite of
officeholder
producer
symptoms
month of the year
approved by
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Christmas Carol" . ?e_1 <director_of_photography> ?e_3 . ?e_3 <pred:name> "John F. Seitz" . ?e_2 <pred:name> "Joseph L. Mankiewicz" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John F. Seitz
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 1
2
function: Find
inputs: Joseph L. Mankiewicz
function: QueryRelation
dependencies: 3
4