Question: Which movie is shorter, Spartacus (the one that has Ian McNeice as a cast member) or Ulysses' Gaze?
Choices:
The Music Man
Shackleton
The Three Musketeers
The Goodbye Girl
All Quiet on the Western Front
A Streetcar Named Desire
The Late Shift
Spartacus
The Challenge
Ulysses' Gaze
Answer: Spartacus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spartacus" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ian McNeice" .   } UNION { ?e <pred:name> "Ulysses' Gaze" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ian McNeice
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Spartacus
function: And
dependencies: 1
2
function: Find
inputs: Ulysses' Gaze
function: SelectBetween
dependencies: 3
4
inputs: duration
less