Question: What is the relationship between A Christmas Carol (the one whose genre is children's film) and film based on literature?
Choices:
performer
head of government
genre
religion
language of work or name
production company
does not have part
capital
subsidiary
official symbol
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Christmas Carol" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "children's film" . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: children's film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 1
2
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 3
4