Question: Does Six Feet Under starring Zachary Quinto or Nashville directed by Timothy Busfield have fewer episodes?
Choices:
Nashville
Six Feet Under
Seinfeld
Game of Thrones
Babylon 5
Saturday Night's Main Event
Bleak House
American Horror Story
Robot Chicken
Phineas and Ferb
Program:
function: Find
inputs: Zachary Quinto
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Six Feet Under
function: And
dependencies: 1
2
function: Find
inputs: Timothy Busfield
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Nashville
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Six Feet Under" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Zachary Quinto" .   } UNION { ?e <pred:name> "Nashville" . ?e <director> ?e_2 . ?e_2 <pred:name> "Timothy Busfield" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Six Feet Under