1. An apparatus, comprising: an acquirer configured to acquire a plurality of first point sequences; a divider configured to divide each of the plurality of first point sequences into a plurality of second point sequences; an extractor configured to extract a feature vector of each of the plurality of second point sequences; a calculator configured to calculate a distance between the plurality of first point sequences based on an optimal path among the plurality of second point sequences that belong to each of the plurality of first point sequences; and a retriever configured to retrieve data corresponding to the plurality of first point sequences using the distance.