Question: Which movie is longer, The Man Who Wasn't There (the one whose production company is Focus Features) or The Illusionist (the one that has Eddie Marsan as a cast member)?
Choices: The Man Who Wasn't There
Talk to Her
Curse of the Golden Flower
Rebecca
The Fifth Element
The Illusionist
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Man Who Wasn't There" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Focus Features" .   } UNION { ?e <pred:name> "The Illusionist" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Eddie Marsan" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Focus Features
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Man Who Wasn't There
function: And
dependencies: 1
2
function: Find
inputs: Eddie Marsan
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Illusionist
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Man Who Wasn't There