Question: Which movie is shorter, Sons of Anarchy or Oz (the one that has Ernie Hudson as a cast member)?
Choices:
Six Feet Under
Sons of Anarchy
American Horror Story
Oz
Game of Thrones
Bleak House
Seinfeld
Phineas and Ferb
Robot Chicken
Saturday Night's Main Event
Answer: Sons of Anarchy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sons of Anarchy" .  } UNION { ?e <pred:name> "Oz" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ernie Hudson" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sons of Anarchy
function: Find
inputs: Ernie Hudson
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Oz
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less