Question: Which has more episodes, Terry Pratchett's The Colour of Magic or Sonic X?
Choices:
The Super Dimension Fortress Macross
Magical Girl Lyrical Nanoha
Code Geass
Chrono Crusade
Ponyo on the Cliff by the Sea
Sonic X
Vampire Knight
Terry Pratchett's The Colour of Magic
Magic Knight Rayearth
Fullmetal Alchemist the Movie: Conqueror of Shamballa
Program:
function: Find
inputs: Terry Pratchett's The Colour of Magic
function: Find
inputs: Sonic X
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terry Pratchett's The Colour of Magic" .  } UNION { ?e <pred:name> "Sonic X" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sonic X