Question: Which show has fewer episodes, Mobile Suit Gundam 00 or The Three Musketeers (the one whose publication date is 1987)?
Choices:
Dragon Ball
The Three Musketeers
RahXephon
Digimon Adventure 02
Digimon Adventure
Speed Racer
Yu-Gi-Oh! GX
Mobile Suit Gundam 00
Yu-Gi-Oh! Duel Monsters
Mobile Suit Gundam SEED
Program:
function: Find
inputs: Mobile Suit Gundam 00
function: Find
inputs: The Three Musketeers
function: FilterYear
dependencies: 1
inputs: publication date
1987
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mobile Suit Gundam 00" . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1987 . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mobile Suit Gundam 00