Question: Which movie is shorter, Book of Shadows: Blair Witch 2 or The Man Who Knew Too Much (the one that has Alfred Hitchcock as a cast member)?
Choices:
The Hunchback of Notre Dame
Rebecca
Training Day
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Book of Shadows: Blair Witch 2
Pleasantville
Talk to Her
A Prairie Home Companion
Answer: Book of Shadows: Blair Witch 2
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Book of Shadows: Blair Witch 2" .  } UNION { ?e <pred:name> "The Man Who Knew Too Much" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alfred Hitchcock" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Book of Shadows: Blair Witch 2
function: Find
inputs: Alfred Hitchcock
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Man Who Knew Too Much
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less