Question: Which is shorter, The Imaginarium of Doctor Parnassus or Seven Brides for Seven Brothers that was nominated for an Academy Award for Best Film Editing?
Choices:
The Fifth Element
Curse of the Golden Flower
Training Day
The Imaginarium of Doctor Parnassus
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
The Towering Inferno
Seven Brides for Seven Brothers
Pleasantville
Program:
function: Find
inputs: The Imaginarium of Doctor Parnassus
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Seven Brides for Seven Brothers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Imaginarium of Doctor Parnassus" .  } UNION { ?e <pred:name> "Seven Brides for Seven Brothers" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Film Editing" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Seven Brides for Seven Brothers