Question: Of the animated films that have a script written by Hayao Miyazaki, which is the longest?
Choices:
Magic Knight Rayearth
Superman
Howl's Moving Castle
Anastasia
Wonder Woman
My Neighbor Totoro
Code Geass
The Polar Express
Spirited Away
Ponyo on the Cliff by the Sea
Answer: Spirited Away
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Hayao Miyazaki" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hayao Miyazaki
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: duration
largest