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