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