Question: Which has more episodes, ECW on TNN or American Dad!?
Choices:
Aladdin
Phineas and Ferb
Batman Beyond
Fantastic Four
Robot Chicken
ECW on TNN
The Cleveland Show
American Dad!
South Park
Tiny Toon Adventures
Program:
function: Find
inputs: ECW on TNN
function: Find
inputs: American Dad!
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "ECW on TNN" .  } UNION { ?e <pred:name> "American Dad!" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: American Dad!