Question: Which was longer Batman (distributed by 20th Century Fox) or The Prize?
Choices:
Batman
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
Rebecca
Training Day
Pleasantville
Talk to Her
The Fifth Element
The Prize
Answer: The Prize
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Batman" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "The Prize" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: The Prize
function: SelectBetween
dependencies: 3
4
inputs: duration
greater