Question: Does The O.C. or Versailles (having 3 seasons) have fewer episodes?
Choices: The O.C.
Six Feet Under
Phineas and Ferb
Game of Thrones
Versailles
Bleak House
Dancing with the Stars
Seinfeld
Saturday Night's Main Event
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The O.C." . } UNION { ?e <pred:name> "Versailles" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The O.C.
function: Find
inputs: Versailles
function: FilterNum
dependencies: 1
inputs: number of seasons
3
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less
Answer: Versailles