Question: What is the connection between Anna Karenina (the one whose original language is Hungarian) to Leo Tolstoy?
Choices: military casualty classification
parent astronomical body
language of work or name
operator
screenwriter
family name
official residence
director of photography
manufacturer
military rank
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Anna Karenina" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "Hungarian" . ?e_2 <pred:name> "Leo Tolstoy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hungarian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: Leo Tolstoy
function: QueryRelation
dependencies: 3
4
Answer: screenwriter