Question: Which animated feature film in the Museum of Modern Art collection is the longest?
Choices:
WALL·E
Winnie the Pooh
Renaissance
Peter Pan
Aladdin
Shrek 2
Ratatouille
Snow White and the Seven Dwarfs
Beauty and the Beast
The Rescuers
Program:
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 0
inputs: collection
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ratatouille