Question: Does Boardwalk Empire or Upstairs, Downstairs have the lower episode count?
Choices:
Game of Thrones
Phineas and Ferb
Saturday Night's Main Event
American Horror Story
Boardwalk Empire
Dancing with the Stars
Upstairs, Downstairs
Seinfeld
Six Feet Under
Robot Chicken
Program:
function: Find
inputs: Boardwalk Empire
function: Find
inputs: Upstairs, Downstairs
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boardwalk Empire" .  } UNION { ?e <pred:name> "Upstairs, Downstairs" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Boardwalk Empire