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