Abstract
The aim of the research is to develop methods for analyzing political discourse in social networks in the Kazakh language in order to identify official and unofficial information sources of political discourse, as well as to determine the mood of the discussion in these sources. The article presents an ontological model of the subject area of elections, a referendum.