Question: Are there fewer episodes of Digimon Adventure (the one whose title is デジモンアドベンチャー) or Dragon Ball (the one whose number of episodes is 153)?
Choices:
RahXephon
The Three Musketeers
Yu-Gi-Oh! Duel Monsters
Digimon Adventure
Digimon Adventure 02
Mobile Suit Gundam SEED
Dragon Ball
Yu-Gi-Oh! GX
Speed Racer
Mobile Suit Gundam 00
Program:
function: Find
inputs: Digimon Adventure
function: FilterStr
dependencies: 0
inputs: title
デジモンアドベンチャー
function: Find
inputs: Dragon Ball
function: FilterNum
dependencies: 2
inputs: number of episodes
153
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Digimon Adventure" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "デジモンアドベンチャー" . } UNION { ?e <pred:name> "Dragon Ball" . ?e <number_of_episodes> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "153"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Digimon Adventure