Abstract: Kazakhstan has a necessity for artificial intelligence application technologies in the development of educational resources and education process. The actual study describes the system development of test questions automated generation in terms of a knowledge-base. This research has an application attitude, provides detailed examples of ontology development and SPARQL-queries in RDF-documents. Additionally, Python programming language based question generating programs implementation is described with involvement of all required libraries required for RDF-files operation.