Question: Which is longer, Leaving Las Vegas or All the King's Men that was nominated for an Academy Award for Best Film Editing?
Choices:
Curse of the Golden Flower
Training Day
Leaving Las Vegas
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
All the King's Men
Pleasantville
Program:
function: Find
inputs: Leaving Las Vegas
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leaving Las Vegas" .  } UNION { ?e <pred:name> "All the King's Men" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Film Editing" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: All the King's Men