Question: Among the 3D films with Chile as a release region, which one has the largest duration?
Choices: Himachal Pradesh
Albany Devils
David Foster
Frankenweenie
Avatar
Leyton Orient F.C.
The Smurfs
Piranha 3D
ParaNorman
John Barry
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Chile" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chile
function: Relate
dependencies: 0
inputs: film release region
backward
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
largest
Answer: The Smurfs