Question: From the movies The Talented Mr. Ripley (the one that has Cate Blanchett as a cast member), and Total Recall (the one whose release region is Belgium), which one is longer?
Choices: The Hunchback of Notre Dame
Rebecca
The Fifth Element
Training Day
Curse of the Golden Flower
Total Recall
Talk to Her
The Talented Mr. Ripley
The Towering Inferno
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Talented Mr. Ripley" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Cate Blanchett" .   } UNION { ?e <pred:name> "Total Recall" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Belgium" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cate Blanchett
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Talented Mr. Ripley
function: And
dependencies: 1
2
function: Find
inputs: Belgium
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Total Recall
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Talented Mr. Ripley