Question: Which has less duration, Traffic (which was nominated for a BAFTA Award for Best Adapted Screenplay) or The Three Musketeers (whose script was written by Douglas Fairbanks)?
Choices: The Fifth Element
The Towering Inferno
A Prairie Home Companion
The Three Musketeers
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Traffic
Training Day
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Traffic" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Adapted Screenplay" .   } UNION { ?e <pred:name> "The Three Musketeers" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Douglas Fairbanks" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Traffic
function: And
dependencies: 1
2
function: Find
inputs: Douglas Fairbanks
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Three Musketeers