What is the Point?

The point is we filters countries with a single pattern that represents a shape of a line.
We do not need to write algorithms for each filtering.

Mechanism

The target data are as follow. The following are data of Japanese life expectancy.
We pattern-match against these time-series data as (list [integer float]), i.e. a list of tuples of an integer and float.