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