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