Question: Which movie is shorter, Affliction or The Cardinal (the one that was nominated for Academy Award for Best Film Editing)?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Fifth Element
Pleasantville
Affliction
The Towering Inferno
The Cardinal
Talk to Her
Curse of the Golden Flower
Program:
function: Find
inputs: Affliction
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Cardinal
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Affliction" .  } UNION { ?e <pred:name> "The Cardinal" . ?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: Affliction