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