Question: Which one has fewer episodes, Drive (the one that uses the language English) or One Life to Live?
Choices:
Seinfeld
Bleak House
Robot Chicken
Phineas and Ferb
One Life to Live
Six Feet Under
Game of Thrones
Drive
American Horror Story
Saturday Night's Main Event
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Drive
function: And
dependencies: 1
2
function: Find
inputs: One Life to Live
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Drive" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "One Life to Live" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Drive