Question: Which one has less number of seasons between Hollywood Squares and Anger Management (the one whose number of episodes is 100)?
Choices:
Anger Management
Seinfeld
Bleak House
Saturday Night's Main Event
Robot Chicken
Phineas and Ferb
Dancing with the Stars
American Horror Story
Six Feet Under
Hollywood Squares
Answer: Anger Management
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hollywood Squares" . } UNION { ?e <pred:name> "Anger Management" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "100"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hollywood Squares
function: Find
inputs: Anger Management
function: FilterNum
dependencies: 1
inputs: number of episodes
100
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
less