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