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