Question: Which one, The Fairly OddParents or Ally McBeal, has a greater number of episodes?
Choices:
The Venture Bros.
Robot Chicken
The Fairly OddParents
Ally McBeal
Aladdin
Batman Beyond
The Cleveland Show
Phineas and Ferb
South Park
American Dad!
Program:
function: Find
inputs: The Fairly OddParents
function: Find
inputs: Ally McBeal
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fairly OddParents" .  } UNION { ?e <pred:name> "Ally McBeal" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Fairly OddParents