Question: Which 3d movie released in Mexico is shortest?
Choices:
Piranha 3D
heist film
Gary Cole
Frankenweenie
Grant Morrison
Interview with the Vampire
Dakota County
Avatar
ParaNorman
The Smurfs
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: film release region
backward
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Mexico" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Frankenweenie