Question: Does "Digimon Adventure 02" or "Dragon Ball," which was published on April 19, 1989 have more episodes?
Choices:
Yu-Gi-Oh! GX
Yu-Gi-Oh! Duel Monsters
RahXephon
Speed Racer
Mobile Suit Gundam 00
Digimon Adventure
Digimon Adventure 02
The Three Musketeers
Mobile Suit Gundam SEED
Dragon Ball
Program:
function: Find
inputs: Digimon Adventure 02
function: Find
inputs: Dragon Ball
function: FilterDate
dependencies: 1
inputs: publication date
1989-04-19
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Digimon Adventure 02" . } UNION { ?e <pred:name> "Dragon Ball" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1989-04-19"^^xsd:date . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dragon Ball