Question: What is the title for The Chronicles of Narnia: The Lion, the Witch and the Wardrobe (the one whose genre is action film)?
Choices:
Modern Family
You Can Count on Me
Prometheus
Girl with a Pearl Earring
The Secret in Their Eyes
A League of Their Own
Calendar Girls
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
Mulholland Drive
Bridesmaids
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Chronicles of Narnia: The Lion, the Witch and the Wardrobe" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .  ?e <title> ?pv .  }
Answer: The Chronicles of Narnia: The Lion, the Witch and the Wardrobe