Question: Which is shorter, Catch Me If You Can (the one that was nominated for BAFTA Award for Best Film Music) or Patch Adams (the one that has Philip Seymour Hoffman as a cast member)?
Choices: Patch Adams
A Prairie Home Companion
Pleasantville
Rebecca
The Hunchback of Notre Dame
Catch Me If You Can
Training Day
The Fifth Element
Talk to Her
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Catch Me If You Can" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film Music" .   } UNION { ?e <pred:name> "Patch Adams" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Philip Seymour Hoffman" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Film Music
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Catch Me If You Can
function: And
dependencies: 1
2
function: Find
inputs: Philip Seymour Hoffman
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Patch Adams
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Patch Adams