Question: Which show has fewer seasons, Spy Game (the one whose number of episodes is 13) or The X-Files (the one whose number of episodes is 218)?
Choices: American Horror Story
Seinfeld
The X-Files
Game of Thrones
Six Feet Under
Phineas and Ferb
Robot Chicken
Saturday Night's Main Event
Dancing with the Stars
Spy Game
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spy Game" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "13"^^xsd:double . } UNION { ?e <pred:name> "The X-Files" . ?e <number_of_episodes> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "218"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Spy Game
function: FilterNum
dependencies: 0
inputs: number of episodes
13
=
function: Find
inputs: The X-Files
function: FilterNum
dependencies: 2
inputs: number of episodes
218
=
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
less
Answer: Spy Game