Question: Which is shorter, Notes on a Scandal or Star Trek starring Leonard Nimoy?
Choices:
Star Trek
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Notes on a Scandal
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Answer: Notes on a Scandal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Notes on a Scandal" .  } UNION { ?e <pred:name> "Star Trek" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Leonard Nimoy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Notes on a Scandal
function: Find
inputs: Leonard Nimoy
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Star Trek
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less