Question: Which one is longer, The Untouchables (the one that was nominated for Academy Award for Best Supporting Actor) or Catwoman (the one whose script is wrote by Bob Kane)  ?
Choices:
Training Day
The Towering Inferno
Catwoman
Pleasantville
The Hunchback of Notre Dame
The Untouchables
Talk to Her
Curse of the Golden Flower
Rebecca
The Fifth Element
Answer: The Untouchables
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Untouchables" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actor" .   } UNION { ?e <pred:name> "Catwoman" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Bob Kane" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Untouchables
function: And
dependencies: 1
2
function: Find
inputs: Bob Kane
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: Catwoman
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater