Question: Does Red Dwarf or Daredevil, in English, have the smaller run of seasons?
Choices:
Game of Thrones
Six Feet Under
Daredevil
Dancing with the Stars
Saturday Night's Main Event
Bleak House
American Horror Story
Phineas and Ferb
Red Dwarf
Seinfeld
Program:
function: Find
inputs: Red Dwarf
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: language of work or name
backward
function: Find
inputs: Daredevil
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Red Dwarf" .  } UNION { ?e <pred:name> "Daredevil" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Daredevil