Question: Which has a higher episode total, Vanity Fair distributed by the BBC or Eureka Seven?
Choices:
Ponyo on the Cliff by the Sea
Eureka Seven
Magic Knight Rayearth
Sonic X
Code Geass
Vanity Fair
Vampire Knight
Chrono Crusade
Fullmetal Alchemist the Movie: Conqueror of Shamballa
My-HiME
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Vanity Fair
function: And
dependencies: 1
2
function: Find
inputs: Eureka Seven
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vanity Fair" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "BBC" .   } UNION { ?e <pred:name> "Eureka Seven" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Eureka Seven