Question: Which movie is longer, The Devil Wears Prada (the one that was nominated for Broadcast Film Critics Association Award for Best Actress) or Batman: Gotham Knight?
Choices:
The Devil Wears Prada
Batman: Gotham Knight
A Prairie Home Companion
The Fifth Element
Training Day
Rebecca
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: Broadcast Film Critics Association Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Devil Wears Prada
function: And
dependencies: 1
2
function: Find
inputs: Batman: Gotham Knight
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Devil Wears Prada" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Broadcast Film Critics Association Award for Best Actress" .   } UNION { ?e <pred:name> "Batman: Gotham Knight" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Devil Wears Prada