Question: Which movie is longer, The Bad Lieutenant: Port of Call New Orleans or The Human Stain (the one that has Clark Gregg as a cast member)?
Choices:
Curse of the Golden Flower
Training Day
A Prairie Home Companion
The Bad Lieutenant: Port of Call New Orleans
The Hunchback of Notre Dame
Rebecca
The Fifth Element
The Towering Inferno
The Human Stain
Pleasantville
Answer: The Bad Lieutenant: Port of Call New Orleans
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bad Lieutenant: Port of Call New Orleans" .  } UNION { ?e <pred:name> "The Human Stain" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Clark Gregg" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Bad Lieutenant: Port of Call New Orleans
function: Find
inputs: Clark Gregg
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Human Stain
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater