Question: Does Sons of Anarchy or Deadwood have more episodes?
Choices:
Seinfeld
Phineas and Ferb
Sons of Anarchy
Six Feet Under
Game of Thrones
American Horror Story
Robot Chicken
Saturday Night's Main Event
Bleak House
Dancing with the Stars
Program:
function: Find
inputs: Sons of Anarchy
function: Find
inputs: Deadwood
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sons of Anarchy" .  } UNION { ?e <pred:name> "Deadwood" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sons of Anarchy