Application of ontological models

This page is a chapter from our teaching guide
"Introduction to Ontology Modeling" (click to go to the full version in PDF format).

We briefly reviewed the basic concepts of semantic modeling. Let us now list the applications of such models and practical ways of using them in each case.

We have already mentioned simulation modeling. Its essence is as follows: the model reproduces in significant respects any fragment of reality. We are able to run the model during which its elements interact with each other in the same way as their prototypes in the real world.

The main requirement for a simulation model is the ability to broadcast. When building the model, we implicitly defined the rules by which real-world objects are mapped to model objects. If we perform the same process in the real world and in the model, the system in question will end up in a certain final state. Translation of the results will be ensured if the mapping of the final state of the system in the real world onto the model according to the rules we initially established gives exactly the same state of the model to which it itself came as a result of the simulation.

To put it simply, the translation condition ensures that the model is practical for predicting how a process will proceed in the real world. It is clear that any model provides translation of results only if certain conditions are met (for example, the model that we built according to Fig. 9 does not take into account the possibility of someone else intervening in the scene). These conditions must be such that the probability of their violation during the process in the real world is acceptable from the point of view of practical modeling problems.

Simulation modeling is usually performed step by step. For example, in the first step A1 attempts to run; at the second step, A4 has the opportunity to react to this - give a command to A2. Depending on the level of detail of the model, it is possible to move from logical modeling to physical modeling, that is, based on the laws of physics (for example, solving the question of how long it will take A2 to catch up with A1, if the initial distance between them and the speed of each of them are known). In this case, each object acquires properties that reflect its physical characteristics (coordinates, current speed, maximum speed, acceleration, etc.). This means that we will need a mechanism for executing this model, allowing us to update the values ​​of these properties in accordance with physical laws at each simulation step. In practice, this mechanism will always be software.

The second application of semantic models is decision support. In fact, we can write down the rules for the behavior of objects in the form of logical axioms. Let's say we're building a model to select which medical tests to order for a patient. It may contain the following axioms: “If a patient complains of a severe headache, he needs to be prescribed an ultrasound of the vessels of the neck and brain.” If such a model is implemented in the computer program that the receptionist works with, he will be able to select the symptoms that the patient presented with and receive a printout of examination appointments. With these results, the patient will go to see a doctor. Of course, such a system will contain many branching options, which will require a short interview with the patient, depending on what symptoms he names. It is important to note that the model is created by a person with higher qualifications (the doctor) than the one who uses it (the registrar) - thus, the model serves as a means of transferring knowledge.

A variety of such systems can be considered programs that quickly respond to certain events without human intervention. For example, a control system for any process equipment may contain the following axioms: “If the pressure in pipeline B1 exceeds X kPa, it is necessary to open valve B2.” It is clear that such algorithms can be programmed without any semantic modeling. The advantages of its use in this case are purely technological in nature: they make it possible to facilitate the process of transferring the knowledge of an engineer capable of formulating such rules into instructions that the control equipment carries out.

A variation of this use of semantic models can be considered the automatic generation of instructions and regulations for people. Having received, using simulation modeling (the first method) or based on expert knowledge (the second method), certain conclusions about how to act in certain situations, we can automatically export from the model a set of axioms that do not require a person to make any decisions, but simply tell him that if event A occurs, then action B must be performed. In this way, it is easy to generate simple and understandable instructions for personnel. In particular, this way you can transform formal descriptions of business processes into instructions for each participant in the process.

Another application of semantic models is to solve the problem of transferring information between different environments. In this case, the semantic model plays the role of a “dictionary”, or a common language that is understandable to everyone participating in the exchange. Within itself, each system (source, receiver) can store information in any representation that is natural to it. When exporting this information outside, the system must present it in a generalized form, for which a “dictionary” is used, which represents elements of a generally accepted information model.

An important application of semantic models is solving optimization problems. As a rule, they come down to drawing up an optimal program of action in any area from an economic point of view. For example, there are 100 transformers on the territory of the enterprise, and this year money has been allocated for preventive repairs of 10 of them. How should this money be spent to minimize the likelihood of accidents over the next year?

The quality of solving such problems directly depends on the detail and adequacy of the model. The simplest model for solving this problem can be compiled in Excel without any semantics: build a list of transformers indicating the year of last repair of each of them, sort by this column, and take the 10 most “abandoned” transformers. It is obvious, however, that this solution is not optimal, since it does not take into account the degree of importance of transformers for the technological processes of the enterprise, the possible damage from an accident on each of them, the load and degree of wear of each transformer, and control data performed by electricians. The next temptation to purely mathematically simplify the problem is to reduce all of the listed parameters into one numerical coefficient and rank transformers according to it. For example, we can rate the importance of each transformer on a scale from 0 to 100, and give this parameter a weighting factor of 0.2. Similarly, having “digitized” all other parameters and given them weighting coefficients, the total sum of which will be equal to 1, we obtain a synthetic “repair requirement coefficient” for each transformer, normalized to unity. By sorting transformers by it, we will get a better solution than by sorting by year of last repair, but it will still be far from optimal. For example, there may be combinations of factors that make the need for repair critical, while the value of other parameters ceases to play a role. So, if our transformer serves a storage facility for toxic waste, which, if de-energized, can cause its release, which will lead to an environmental disaster and a complete shutdown of the enterprise, it is obvious that this transformer must be repaired “out of competition” when it reaches 50% of its resource output. There can be many such rules; they cannot be described in a mathematical model, but can be described in a semantic one.

To solve optimization problems, a combination of semantic and mathematical models is used. The semantic model is used to reflect the richness of the attributes and relationships of the elements of the modeled system. This model is used to carry out logical and mathematical calculations that allow one to find the optimal solution. As a rule, such modeling is sliding: the model is constantly updated due to the receipt of new information about the state of the simulated system, and, accordingly, the optimal solution is automatically recalculated, which leads to correction of the action program.

Finally, another application of semantic models is to help humans organize knowledge. A well-known problem is that as the complexity of the information infrastructure of any enterprise grows, it loses controllability. The time required to search for this or that information increases sharply, which leads to a loss of flexibility in decision-making. Sometimes the volume of accumulated information is such that it is fundamentally impossible to search it manually. In such cases, the only solution to the problem is to create a semantic model of the environment in which the enterprise operates, with links to related information resources attached to each element of this model. This model plays the role of a “table of contents”, which makes it easy for an employee to find any information he needs.

Let's imagine that a company services a complex technological facility - for example, a pipeline. In the event of an accident at any node of this pipeline, engineers need to quickly find information about the type of equipment installed there, its possible analogues, the availability of these analogues in the warehouse or from suppliers, information about the dates and results of the latest planned repairs of this node, information about previous incidents at it. Even with the best organization of information systems at an enterprise, it is impossible to expect that all this information will be available within the framework of one program (MRO): information about analogues and their availability in the warehouse/suppliers is clearly beyond the scope of its responsibility. This means that in a semantic system the following must be attached to the model of a given node:

  • composition (types) of equipment used there,
  • information about specific pieces of equipment that are installed on this node now, and were installed previously,
  • information about the relationships of this node (what is connected to it, what is it connected to),
  • links to documentation (design, execution, repair) for the unit and all its components,
  • links to information on purchasing equipment of this type,
  • links to information from the maintenance and repair system with the history of maintenance of this unit and incidents on it, etc.

Having such a “table of contents”, the engineer will be able to quickly find all the necessary information and plan repair activities.

Next chapter: Ontological modeling technologies. RDF and OWL