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