Question: Which show has more episodes, Freakazoid! or The Contender (the one whose number of seasons is 4)?
Choices:
American Horror Story
Saturday Night's Main Event
Freakazoid!
Bleak House
Robot Chicken
The Contender
Six Feet Under
Game of Thrones
Seinfeld
Dancing with the Stars
Answer: The Contender
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Freakazoid!" . } UNION { ?e <pred:name> "The Contender" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Freakazoid!
function: Find
inputs: The Contender
function: FilterNum
dependencies: 1
inputs: number of seasons
4
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater