Question: Which movie is longer, The Music Man (the one whose release region is Finland) or A Christmas Carol (the one that has Jane Krakowski as a cast member)?
Choices:
Curse of the Golden Flower
A Christmas Carol
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Training Day
The Fifth Element
The Music Man
Rebecca
Talk to Her
Answer: The Music Man
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Music Man" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } UNION { ?e <pred:name> "A Christmas Carol" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jane Krakowski" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Music Man
function: And
dependencies: 1
2
function: Find
inputs: Jane Krakowski
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater