Question: Which one, The Living Daylights or The Three Musketeers (the one that has Adolphe Menjou as a cast member), has greater duration?
Choices: The Fifth Element
Talk to Her
The Towering Inferno
The Living Daylights
Pleasantville
Training Day
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Living Daylights" .  } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Adolphe Menjou" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Living Daylights
function: Find
inputs: Adolphe Menjou
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: The Living Daylights