Question: Which is longer, War and Peace with Henry Fonda or Armageddon with Ben Affleck?
Choices: Armageddon
Rebecca
War and Peace
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Talk to Her
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "War and Peace" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Henry Fonda" .   } UNION { ?e <pred:name> "Armageddon" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Ben Affleck" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Henry Fonda
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: Find
inputs: Ben Affleck
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Armageddon
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: War and Peace