Question: Which animated feature film was composed by songwriter Sammy Cahn?
Choices:
WALL·E
Peter Pan
Renaissance
Lilo & Stitch
Tarzan
The Rescuers
Winnie the Pooh
Beauty and the Beast
Shrek 2
Robin Hood
Program:
function: Find
inputs: Sammy Cahn
function: Relate
dependencies: 0
inputs: composer
backward
function: QFilterStr
dependencies: 1
inputs: object has role
songwriter
function: FilterConcept
dependencies: 2
inputs: animated feature film
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Sammy Cahn" .  [ <pred:fact_h> ?e ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_1 ] <object_has_role> ?qpv . ?qpv <pred:value> "songwriter" .  }
Answer: Peter Pan