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