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