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