The article describes a technology processing ontological model of words in public political discourse. The research task is developing an information question-answering system of political discourse in Kazakh language. The Python programming language, Sparql data-query language, and Owlready module are used to develop the system.