Question: Which is longer, Romeo and Juliet starring Basil Rathbone or Mr. Deeds?
Choices:
A Prairie Home Companion
The Towering Inferno
Training Day
Talk to Her
Romeo and Juliet
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
The Fifth Element
Rebecca
Answer: Romeo and Juliet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Romeo and Juliet" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Basil Rathbone" .   } UNION { ?e <pred:name> "Mr. Deeds" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Basil Rathbone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 1
2
function: Find
inputs: Mr. Deeds
function: SelectBetween
dependencies: 3
4
inputs: duration
greater