Question: Which film has the longer runtime, Mutiny on the Bounty (with Franchot Tone as a cast member) or Alien vs. Predator (with Lance Henriksen as a cast member)?
Choices:
A Prairie Home Companion
The Towering Inferno
Training Day
Alien vs. Predator
Mutiny on the Bounty
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Talk to Her
Pleasantville
Answer: Mutiny on the Bounty
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mutiny on the Bounty" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Franchot Tone" .   } UNION { ?e <pred:name> "Alien vs. Predator" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Lance Henriksen" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Franchot Tone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Mutiny on the Bounty
function: And
dependencies: 1
2
function: Find
inputs: Lance Henriksen
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Alien vs. Predator
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater