Question: Which is longer, The Cat in the Hat that was nominated for a Golden Raspberry Award for Worst Picture or The Curious Case of Benjamin Button?
Choices:
Talk to Her
The Curious Case of Benjamin Button
The Fifth Element
Pleasantville
The Cat in the Hat
The Towering Inferno
Training Day
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: Golden Raspberry Award for Worst Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Cat in the Hat
function: And
dependencies: 1
2
function: Find
inputs: The Curious Case of Benjamin Button
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cat in the Hat" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Picture" .   } UNION { ?e <pred:name> "The Curious Case of Benjamin Button" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Curious Case of Benjamin Button