Question: Which film, created by Dante Ferretti, has the shortest duration?
Choices:
Cold Mountain
The Adventures of Baron Munchausen
Sweeney Todd: The Demon Barber of Fleet Street
The Aviator
Hamlet
Interview with the Vampire
Gangs of New York
The Name of the Rose
Shutter Island
Meet Joe Black
Answer: Sweeney Todd: The Demon Barber of Fleet Street
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Dante Ferretti" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dante Ferretti
function: Relate
dependencies: 0
inputs: production designer
backward
function: FilterConcept
dependencies: 1
inputs: film
function: SelectAmong
dependencies: 2
inputs: duration
smallest