Question: Which has the smallest duration among the animated films whose genre is musical film?
Choices:
The Lion King
Magic Knight Rayearth
Superman
The Polar Express
Ponyo on the Cliff by the Sea
Anastasia
The Nightmare Before Christmas
Wonder Woman
A Christmas Carol
Gulliver's Travels
Program:
function: Find
inputs: musical film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "musical film" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Nightmare Before Christmas