Question: Which has the fewest episodes among the animes published on 2004-01-01?
Choices:
Sonic X
My-HiME
Naruto Shippuden the Movie: Bonds
Fullmetal Alchemist the Movie: Conqueror of Shamballa
Ponyo on the Cliff by the Sea
The Super Dimension Fortress Macross
Code Geass
Magic Knight Rayearth
Magical Girl Lyrical Nanoha
Vampire Knight
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: publication date
2004-01-01
=
function: FilterConcept
dependencies: 1
inputs: anime
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2004-01-01"^^xsd:date . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Magical Girl Lyrical Nanoha