Question: Which is longer, Will & Grace or One Tree Hill, which had Barry Corbin in it?
Choices: Will & Grace
American Horror Story
Seinfeld
Game of Thrones
One Tree Hill
Six Feet Under
Phineas and Ferb
Bleak House
Robot Chicken
Saturday Night's Main Event
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Will & Grace" .  } UNION { ?e <pred:name> "One Tree Hill" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Barry Corbin" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Will & Grace
function: Find
inputs: Barry Corbin
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: One Tree Hill
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: One Tree Hill