Question: The video game titled Shrek 2 is based on which animated feature film?
Choices:
Aladdin
Kung Fu Panda 2
TMNT
The Incredibles
Toy Story
The Rescuers
Pinocchio
Up
WALL·E
Shrek 2
Answer: Shrek 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <derivative_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "video game" . ?e_1 <title> ?pv . ?pv <pred:value> "Shrek 2" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Shrek 2
function: FilterConcept
dependencies: 1
inputs: video game
function: Relate
dependencies: 2
inputs: derivative work
backward
function: FilterConcept
dependencies: 3
inputs: animated feature film
function: What
dependencies: 4