Question: Which is the longer film, Nebraska (nominated for a Best Actor Oscar) or Heat (with Danny Trejo in the cast)?
Choices: Heat
Nebraska
Pleasantville
Training Day
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
The Towering Inferno
Rebecca
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heat" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Danny Trejo" .   } UNION { ?e <pred:name> "Nebraska" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Actor" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Danny Trejo
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Nebraska
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Heat