Question: Which show has more episodes, Starsky & Hutch (the one whose composer is Lalo Schifrin) or ABC Afterschool Special?
Choices: ABC Afterschool Special
Bleak House
Six Feet Under
Seinfeld
Robot Chicken
Starsky & Hutch
American Horror Story
Dancing with the Stars
Saturday Night's Main Event
Game of Thrones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Starsky & Hutch" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Lalo Schifrin" .   } UNION { ?e <pred:name> "ABC Afterschool Special" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lalo Schifrin
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Starsky & Hutch
function: And
dependencies: 1
2
function: Find
inputs: ABC Afterschool Special
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater
Answer: ABC Afterschool Special