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