Question: Which is the shortest among the animated feature films whose genre is buddy film?
Choices:
The Princess and the Frog
Cars 2
Madagascar
Toy Story
Toy Story 2
The Rescuers
Finding Nemo
Monsters, Inc.
The Hunchback of Notre Dame
Robin Hood
Program:
function: Find
inputs: buddy film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "buddy film" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Rescuers