Question: Which movie is longer, Little Women (the one whose distributor is Metro-Goldwyn-Mayer) or Men in Black II?
Choices: Training Day
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
Talk to Her
Rebecca
The Towering Inferno
Little Women
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Women" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "Men in Black II" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Little Women
function: And
dependencies: 1
2
function: Find
inputs: Men in Black II
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Little Women