Question: Which is longer, American Pie that was nominated for a MTV Movie Award for Best Comedic Performance or Jerry Maguire?
Choices: A Prairie Home Companion
The Fifth Element
Talk to Her
The Towering Inferno
Training Day
American Pie
Pleasantville
Curse of the Golden Flower
Rebecca
Jerry Maguire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Pie" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Comedic Performance" .   } UNION { ?e <pred:name> "Jerry Maguire" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: MTV Movie Award for Best Comedic Performance
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: American Pie
function: And
dependencies: 1
2
function: Find
inputs: Jerry Maguire
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Jerry Maguire