Question: What is the title of A Christmas Carol whose genre is children's film?
Choices:
Tango & Cash
Rear Window
A Christmas Carol
Aprile
Coming Home
Erin Brockovich
American Beauty
Montana
The Rum Diary
Little Women
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: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "A Christmas Carol" . ?e <genre> ?e_1 . ?e_1 <pred:name> "children's film" .  ?e <title> ?pv .  }
Answer: A Christmas Carol