Question: Among the television series whose publication date is before 1974,which one has the smallest number of episodes ?
Choices:
Seinfeld
Sesame Street
Six Feet Under
American Horror Story
Bleak House
Robot Chicken
Batman
Game of Thrones
War and Peace
Star Trek: The Animated Series
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1974
<
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1974 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: War and Peace