Question: Which was shorter Red Dragon (with Edward Norton) or The Haunting (the one that was nominated for Golden Raspberry Award for Worst Screenplay)?
Choices:
Training Day
The Haunting
Rebecca
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Red Dragon
The Towering Inferno
Pleasantville
Talk to Her
Answer: The Haunting
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Red Dragon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Edward Norton" .   } UNION { ?e <pred:name> "The Haunting" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Golden Raspberry Award for Worst Screenplay" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Edward Norton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Red Dragon
function: And
dependencies: 1
2
function: Find
inputs: Golden Raspberry Award for Worst Screenplay
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Haunting
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less