Question: Does Dragon Ball (that has 153 episodes) or Digimon Adventure (that uses the Japanese language) have fewer episodes?
Choices:
Dragon Ball
Yu-Gi-Oh! GX
Digimon Adventure
Digimon Adventure 02
The Three Musketeers
Mobile Suit Gundam 00
RahXephon
Mobile Suit Gundam SEED
Speed Racer
Yu-Gi-Oh! Duel Monsters
Program:
function: Find
inputs: Dragon Ball
function: FilterNum
dependencies: 0
inputs: number of episodes
153
=
function: Find
inputs: Japanese
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Digimon Adventure
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dragon Ball" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "153"^^xsd:double . } UNION { ?e <pred:name> "Digimon Adventure" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "Japanese" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Digimon Adventure