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