Question: Which anime work debuting prior to 2008 includes the most episodes?
Choices:
Naruto Shippuden the Movie: Bonds
Magic Knight Rayearth
Magical Girl Lyrical Nanoha
Sonic X
My-HiME
Fullmetal Alchemist the Movie: Conqueror of Shamballa
The Super Dimension Fortress Macross
Vampire Knight
Ponyo on the Cliff by the Sea
Chrono Crusade
Answer: Sonic X
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 < 2008 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
2008
<
function: FilterConcept
dependencies: 1
inputs: anime
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest