Question: What is the relation between Anna Karenina (the one whose original language is Hungarian) and drama film?
Choices:
after a work by
influenced by
position played on team / speciality
month of the year
had as last meal
has part
film editor
genre
uses
located on terrain feature
Answer: genre
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> "drama film" . ?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: drama film
function: QueryRelation
dependencies: 3
4