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