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