Question: Which movie is based on the animated feature film titled Beauty and the Beast?
Choices:
Holes
The Muppets
Back to the Future
G-Force
John Carter
Beauty and the Beast
Old Dogs
Alvin and the Chipmunks: Chipwrecked
The Chronicles of Narnia: Prince Caspian
National Treasure: Book of Secrets
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Beauty and the Beast
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: Relate
dependencies: 2
inputs: based on
backward
function: FilterConcept
dependencies: 3
inputs: feature film
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "animated feature film" . ?e_1 <title> ?pv . ?pv <pred:value> "Beauty and the Beast" .   }
Answer: Beauty and the Beast