Question: Is the episode total lower for the 8-season In the Heat of the Night or for Torchwood?
Choices:
Bleak House
Torchwood
Dancing with the Stars
American Horror Story
Phineas and Ferb
In the Heat of the Night
Seinfeld
Robot Chicken
Game of Thrones
Six Feet Under
Answer: Torchwood
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "In the Heat of the Night" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8"^^xsd:double . } UNION { ?e <pred:name> "Torchwood" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: In the Heat of the Night
function: FilterNum
dependencies: 0
inputs: number of seasons
8
=
function: Find
inputs: Torchwood
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less