Question: Which one got higher number of episodes, Eureka Seven or Restless(the one whose number of episodes is 2)?
Choices:
Chrono Crusade
Eureka Seven
My-HiME
Fullmetal Alchemist the Movie: Conqueror of Shamballa
Restless
Code Geass
Magic Knight Rayearth
Vampire Knight
Ponyo on the Cliff by the Sea
Magical Girl Lyrical Nanoha
Program:
function: Find
inputs: Eureka Seven
function: Find
inputs: Restless
function: FilterNum
dependencies: 1
inputs: number of episodes
2
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eureka Seven" . } UNION { ?e <pred:name> "Restless" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Eureka Seven