Question: Which is longer The Firm (produced by Sydney Pollack) or A Separation?
Choices:
Training Day
Rebecca
Pleasantville
A Separation
Talk to Her
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
The Firm
Answer: The Firm
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Firm" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Sydney Pollack" .   } UNION { ?e <pred:name> "A Separation" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sydney Pollack
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Firm
function: And
dependencies: 1
2
function: Find
inputs: A Separation
function: SelectBetween
dependencies: 3
4
inputs: duration
greater