Question: Among the animated feature films whose release region is Peru, which has the largest duration?
Choices:
Monsters, Inc.
How to Train Your Dragon
Cars 2
Cars
Ice Age
Ice Age: Continental Drift
Brave
Winnie the Pooh
Beauty and the Beast
The Lorax
Program:
function: Find
inputs: Peru
function: Relate
dependencies: 0
inputs: film release region
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 <film_release_region> ?e_1 . ?e_1 <pred:name> "Peru" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cars