Question: Of anime series published prior to 2007, what's the one with the most episodes?
Choices:
Speed Racer
Yu-Gi-Oh! Duel Monsters
Yu-Gi-Oh! GX
Dragon Ball
Mobile Suit Gundam 00
RahXephon
The Three Musketeers
Digimon Adventure 02
Digimon Adventure
Mobile Suit Gundam SEED
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2007
<
function: FilterConcept
dependencies: 1
inputs: anime television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2007 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Yu-Gi-Oh! Duel Monsters