Question: Which one, Yes Man or Yes (the one whose distributor is Sony Pictures Classics), has greater duration?
Choices: Curse of the Golden Flower
Yes Man
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Yes
Training Day
Rebecca
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yes Man" .  } UNION { ?e <pred:name> "Yes" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Sony Pictures Classics" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Yes Man
function: Find
inputs: Sony Pictures Classics
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Yes
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Yes Man