Question: Which show has fewer episodes, Dragon Ball (the one that has Masako Nozawa as a voice actor) or Digimon Adventure (the one whose title is デジモンアドベンチャー)?
Choices:
Digimon Adventure 02
Speed Racer
Mobile Suit Gundam SEED
Dragon Ball
Digimon Adventure
RahXephon
Yu-Gi-Oh! GX
Mobile Suit Gundam 00
The Three Musketeers
Yu-Gi-Oh! Duel Monsters
Program:
function: Find
inputs: Masako Nozawa
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Dragon Ball
function: And
dependencies: 1
2
function: Find
inputs: Digimon Adventure
function: FilterStr
dependencies: 4
inputs: title
デジモンアドベンチャー
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dragon Ball" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Masako Nozawa" . } UNION { ?e <pred:name> "Digimon Adventure" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "デジモンアドベンチャー" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Digimon Adventure