Question: Which was longer, The Fighter (the one that was nominated for Academy Award for Best Picture) or Die Hard with a Vengeance?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
Die Hard with a Vengeance
Rebecca
Talk to Her
Curse of the Golden Flower
The Fighter
Training Day
The Fifth Element
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Fighter
function: And
dependencies: 1
2
function: Find
inputs: Die Hard with a Vengeance
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fighter" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" .   } UNION { ?e <pred:name> "Die Hard with a Vengeance" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Die Hard with a Vengeance