Question: Which has the most episodes among the animes that started before 2005?
Choices:
Fullmetal Alchemist the Movie: Conqueror of Shamballa
My-HiME
Magic Knight Rayearth
The Super Dimension Fortress Macross
Naruto Shippuden the Movie: Bonds
Ponyo on the Cliff by the Sea
Code Geass
Sonic X
Chrono Crusade
Magical Girl Lyrical Nanoha
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
2005
<
function: FilterConcept
dependencies: 1
inputs: anime
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2005 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sonic X