Question: Does The Three Musketeers (whose distributor is Metro-Goldwyn-Mayer) or Babe have the longer runtime?
Choices:
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
Babe
Pleasantville
Rebecca
Curse of the Golden Flower
Training Day
The Three Musketeers
Answer: The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } UNION { ?e <pred:name> "Babe" .  } ?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: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Babe
function: SelectBetween
dependencies: 3
4
inputs: duration
greater