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