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