Question: Of animated films famously by Hayao Miyazaki, which is shortest?
Choices:
Spirited Away
My Neighbor Totoro
The Polar Express
Howl's Moving Castle
Superman
Kiki's Delivery Service
Magic Knight Rayearth
Code Geass
Ponyo on the Cliff by the Sea
Wonder Woman
Program:
function: Find
inputs: Hayao Miyazaki
function: Relate
dependencies: 0
inputs: notable work
forward
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_1 <notable_work> ?e . ?e_1 <pred:name> "Hayao Miyazaki" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: My Neighbor Totoro