Question: Which movie is shorter, The Haunting (the one that was nominated for Golden Raspberry Award for Worst Director) or Bridget Jones's Diary?
Choices:
Curse of the Golden Flower
The Haunting
Training Day
A Prairie Home Companion
Pleasantville
The Towering Inferno
Rebecca
Bridget Jones's Diary
The Fifth Element
The Hunchback of Notre Dame
Answer: Bridget Jones's Diary
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Haunting" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Director" .   } UNION { ?e <pred:name> "Bridget Jones's Diary" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Golden Raspberry Award for Worst Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Haunting
function: And
dependencies: 1
2
function: Find
inputs: Bridget Jones's Diary
function: SelectBetween
dependencies: 3
4
inputs: duration
less