Question: Of the animate films in the "film based on literature" genre, which has the longest duration?
Choices:
Gulliver's Travels
Kiki's Delivery Service
A Christmas Carol
Alice in Wonderland
Tarzan
Fantastic Mr. Fox
The Polar Express
Who Framed Roger Rabbit
Howl's Moving Castle
The Three Musketeers
Answer: Howl's Moving Castle
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "film based on literature" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: duration
largest