# Method of Multilevel Adaptive Synthesis of Monitoring Object Knowledge Graphs
## 3 Conceptual Diagram of Multilevel Adaptive Synthesis  
The idea of multilevel adaptive synthesis is that the prediction scheme described in [12] is extended by adding context analysis and the ability to adjust the prediction algorithm at each step. Over time, the state of the object changes, and graph \(G_{t_{k}}\) is transformed into graph \(G_{t_{k+T}}\), \(\mathfrak{s}_{k,k+T}:G_{t_{k}}\to G_{t_{k+T}}\). Transformation of \(G_{t_{k}}\) into \(G_{t_{k+T}}\) might be implemented in one step \(\mathfrak{s}_{k}\to\mathfrak{s}_{k+1}\) or might require a sequence of transformations \(\mathfrak{s}_{k}\to\mathfrak{s}_{k+1}\to\dots\to\mathfrak{s}_{t_{k+T-1}}\to \mathfrak{s}_{t_{k+T}}\). Transformation \(\mathfrak{s}_{k,k+1}\) consists in the synthesis of \(G_{t_{k+1}}\) based on \(G_{t_{k}}\). The time step of the synthesis is defined as \(\Delta T=t_{k+1}-t_{k}\). Possible options for restructuring synthesis processes, depending on the context, are determined by the appointment and use of policies. Each policy is associated with a set of rules for transitions from \(G_{t_{k}}\) to \(G_{t_{k+T}}\), according to which, the sets of admissible values of nodes and edges of the model are determined, as well as values for nodes and edges from the sets of their admissible values. As a result of applying the rules, transformations \(\mathfrak{s}_{k}\to\mathfrak{s}_{k+1}\) are performed. A conceptual diagram of the multilevel adaptive synthesis is shown in Figure 1.  
According to the conceptual diagram, multilevel adaptive synthesis involves the following steps:  
1. Determining the policies \(\overline{P}_{S}\) and rules \(P\) for changing the attributes of the model nodes and edges over time depending on the context. 2. Definition of the object model at the current time point \(t_{k}\):\(G_{t_{k}}\) based on monitoring system data. 3. Initiation of the model synthesis in one or more steps. 4. Definition of the context (based on the current state of the monitoring object)--\(S_{i}\). 5. Based on the context, choosing a policy \(\overline{P}_{S_{i}}\) for rebuilding the object model synthesis process on the current step. 6. Transformation execution \(G_{t_{k}}\to G_{t_{k+1}}\). The transformation involves defining the values of the attributes of the nodes and edges of the model. 7. If the target point on the timeline has been reached--\(t_{k}+T\), the task of searching for the predictive model is considered completed and the results of the prediction are recorded to the knowledge graph in the format of time series (the number of elements of the series corresponds to the number of prediction steps). 8. If the target point on the timeline has not been reached--\(t_{k}+T\), the current time is increased according to the prediction period \(\Delta t\) and the procedure proceeds with step four--definition of the current context. The context is understood as external operation conditions of the monitoring object, which affect its state. The context is defined through the set of context events--\(S=S_{1},\ S_{2},\ \dots,\ S_{Z}\), at time point \(t_{k}\) the context is determined by the context event \(S_{i}\). The  
Figure 1: Conceptual diagram of the multilevel adaptive synthesis. context can be described as the ratio of the current context event \(S_{i}\) and the state of monitoring object \(G_{t_{k}}\) :  
\[Context(t_{k})=\big{(}S_{i}\big{|}G_{t_{k}}\big{)}. \tag{11}\]  
To determine the current context event, one must analyze the values of a given set of parameters of the monitoring object, which act as context metrics [27]. For a formal description of the context metrics, an ontological model of the environment of the monitoring object is used \(A\), which is described as follows: \(A\) (\(O\) \(Q\) \(D\) \(C\)), where \(O\)--the set of the context metrics, \(Q\)--the set of the context metrics attributes, \(D\) is the set of admissible values for context metrics, \(C\) is the set of constraints. Thus, the task of modeling the current situation defined by context can be expressed as follows.