Question: Of all 3D movies released in Canada, which is shortest in length?
Choices:
ParaNorman
Frankenweenie
The Hustler
The Smurfs
Deep Purple
Washington County
Avatar
The Da Vinci Code
Piranha 3D
Lierse S.K.
Program:
function: Find
inputs: Canada
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> "Canada" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Frankenweenie