<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Standard Analytic Activity Scenarios Optimization based on Subject Area Analysis</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>National Technical University of Ukraine “Igor Sikorsky Kyiv Polytechnic Institute”</institution>
          ,
          <addr-line>Kyiv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>0000</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>The optimal scenario building task solution based on typical scenarios along with the subject area ontology analysis, using the structure of ordered by action types directed graph is proposed. This approach gives the possibility to evaluate optimal scenario properties using a suitable metric. The evaluation of possible cost reduction for building more effective standard scenarios of analytical activity is suggested. The relevance of such problems solution in the sample domain of budget process analysis is shown. The algorithm of optimal scenarios search sequential refinement based on subject area ontology analysis along with ordered directed graph analysis is proposed.</p>
      </abstract>
      <kwd-group>
        <kwd>information gathering</kwd>
        <kwd>ontology</kwd>
        <kwd>graph analysis</kwd>
        <kwd>budget analysis</kwd>
        <kwd>typical scenario</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Preface
The information technologies development is characterized by several trends that
require scientific comprehension and elaboration, development of new architectural
solutions, including approaches to software systems design and implementation,
aimed at analytical activities support. This can be explained by the current analytics
systems functioning paradigm, which objectively requires increasing the intelligence
of decision-making processes as well as software systems and technological
components of analytical support. Considering the dynamic nature of the specific
environmental requirements and the complexity of system integration tasks dictate the need
for methods and tools development supporting the design of distributed information
systems, based on distributed analytical activities scenarios and accounts for a large
number of participants [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Thus, the analysis reveals such phenomena and
development trends.
      </p>
      <p>
        Today there are several methods to select best by the quality and productivity
scenarios from the collection of possible or admissible scenarios, based on the factors
composition and nature analysis, which affect the scenario planning process. In
planning practice one can distinguish situations, differing in factors number, which is used
to make decisions and define principal differences in scenarios development
procedures. One of the quite difficult and urgent tasks today that require the development
of effective scenarios to solve is the task of constructing and further optimizing the
scenarios for collecting and analyzing various processes of organizations. Today the
scenarios optimizing problem in network information collecting and analysis is one of
the major tasks in the domain of big data processing [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>This is especially true for solving the budget process problems based on the
financial analysis of regional budgets. During the economic crisis, the problem of
increasing the role of the analysis of the regional budgets in solving economic and
social problems becomes insistent. The problems of sustainability of regional budgets
gain special actuality.</p>
      <p>The main aim of the budget financial sustainability analysis is to obtain a
sustainability assessment for each subject of the analysis for a certain period and to
conclude on the budget stability state for that entity. Based on these results one can make
common conclusions about the state budget financial condition, make forecasts for
the condition for future periods, and make decisions about steps, directed to improve
the economic situation, gain state budget stability and independence.</p>
      <p>
        Software development for state budget financial analysis and defining budget
sustainability lets substantially reduce time, needed for analysis and facilitates the
work of state institutions and authorities [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>The overall structure of the network, which determines the ontological features
of the problem of budget process analysis on a branched network, is quite complex in
structure and has a significant number of the elements.</p>
      <p>The most usual way to solve such problems is to build a scenario, based on
definite ontology, which is described with the appropriate graph. Budget monitoring,
as well as many other tasks in various fields, often consists of performing a series of
typical actions of varying degrees of complexity. The least step, which does not need
further breakdown and is usually executed by a single person, or, in case of automated
execution, by a single piece of software, can be called elementary step. Unlike a
project or workflow, in the case of a scenario, such a step, as well as compound ones,
may have several outgoing results that can be assigned appropriate probabilities. Each
step is characterized by a set of parameters that are used to optimize for a particular
criterion.</p>
      <p>It occurs plausible to use ontology to save steps hierarchy for definite activity,
here for budget monitoring, in the ontology the list of connections between steps of
the type “before-after”. Unfortunately, ontology is poorly suited for saving
connections metrics, e.g. connection probabilities. Because of this, we need additional means
to save additional data for steps pairs, connected with the relation “predecessor -
successor”.</p>
      <p>Analyst’s job begins with ontology, describing all possible steps, their hierarchy,
appropriate metrics and connections of the type “before-after”, creation or
development. After this, in separate software, the probabilities of transition between steps are
set or updated. Then this or some other analyst use steps or step blocks to build the
action graph, which as outcome gives a result with definite probability or set of results
with a probability distribution.</p>
      <p>The criteria to be used for optimizing, depends upon the task. Examples of the
criteria may be threshold probability for achieving a positive result, scenario
execution time or cost-minimizing, or even some metric combination, which is saved in
ontology and additional storage of results probabilities.</p>
      <p>In a more sophisticated model, some external to network factors are defined,
which can alter the probability distribution among arcs or step metrics. For example,
one such factor can be the course of national currency or price of energy carriers, etc.
But here we will not consider this case. They can be easily implemented in future if
such need occurs.</p>
      <p>After the criteria of optimizing is selected, one can use well-defined algorithms
of the shortest route search on the graph, and in complex graph to define reachability
of the final aim as well as other common graph algorithms.</p>
      <p>If needed on network obtained it is possible to build optimistic, pessimistic and
optimal steps series. Such an approach makes it possible to supply analyst a set of
alternative steps from the current node of the possible actions graph.</p>
      <p>In the sample case of budget monitoring the simplified way of building the
whole process may be next:
1. Building an ontology of possible actions;
2. Automatic building or updating of edges probabilities storage, based on the
ontology instances as nodes;
3. Expert manually defines or updates the probability distribution of results for
each ontology object, considering the results of previous analysis;
4. Possible actions in budget monitoring graph building;
5. Shortest way search criteria selection;
6. Reachability analysis of the end node from the starting one. If the node is
unreachable then building of extended graph or connections correction will be
needed to achieve reachability;
7. Shortest route selection using selected criteria and selection of the set of
several routes with minimal lengths;
8. Probability of the positive result definition for each of the selected routes;
9. Combined graph building as support system of the analyst activity;
10. After the current state analysis it is possible to update edges probabilities
according to practical results. If some new practical steps appear – the extension
of ontology is made to include new steps.</p>
      <p>If necessary the update and recalculation of the graph are made to include
additional new knowledge, obtained from the practice.</p>
      <p>
        There is a great number of ontology-based scenario building models in the
subject area, which use different mathematical methods. Among other the scenario
building models based on structured data storage in branching networks are usual
enough; such is especially true for the problems of regional budget monitoring. Based
on these models and their different modifications modern information-analytical and
information-searching systems are built [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>In this case, the ontology is defined as:</p>
      <p>O = {T , A, R, D} ,
(1)
where T is a set of terms, defining objects and concepts of the subject area,
A – set of concepts attributes,
R – set of relations (connections) between the terms,
D – set, holding definitions of concepts and relations.</p>
      <p>In the graphical form, the ontology is represented as a network, the vertices of
which are denoted by the concepts of the domain, and the edges denote the
connections between them. Basic are hierarchical class-subclass and part-whole relationships
that define the structure of the branching structure of the information storage network.</p>
      <p>Thus, ontology represents the description of the subject area, giving the view
of the concepts set with connections between them.</p>
      <p>Descriptive and mapping techniques based on graph theory are widely used to
describe ontologies for the tasks of selecting the scenarios optimal by quality or
performance criteria from the set of possible or feasible scenarios. In this case, the most
widespread descriptions are in the form of hierarchical graphs, usually with weight
estimation and edges count.</p>
      <p>Building scenario based on the graph analysis</p>
      <p>Ontology consideration using a structural approach is most relevant to the task,
for graph presentation of the structure allows measuring its properties with a selected
metric, determining its quality and suggesting recommendations for its future
improvement.</p>
      <p>Such a structured approach makes it possible to evaluate the ontology model
building effectiveness due to the graph, describing ontology search cost reduction
against the usual manual method of building a scenario for the same ontology.</p>
      <p>To estimate ontology describing graph search cost reduction one can estimate
productivity using assumptions, based on some formal assessments for different types
of graphs, for which it is quite simple and accurate to estimate the values selected for
comparison characteristics. These estimates can be based on the difference between
full and partial flow over the graph, which is a graphical representation of the
analyzed ontology describing the scenario.</p>
      <p>As such procedures basis, we can select previous information about graph flow
during other queries, which partially coincide with the current that is using
information obtained during previously made graph analysis. This information is stored in
the corresponding knowledge base for each distinct ontology, and so for the
corresponding graph. In this case, to make approach productivity estimation as a whole,
without reducing the degree of generality, it is possible to consider some specific
graph types used for ontology description.</p>
      <p>
        As it was shown in Miller’s article, ontology estimations suggest, that the
number of connections for a definite concept in the fully connected graph, describing
ontology, must not overcome 9 [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. Thus, we can assume that in most of the real
cases the number of all ingoing and outgoing edges of the directed graph will not
exceed 9.
      </p>
      <p>Using this assumption, the maximal effect from the usage of previously
obtained information for the way of possible scenario building, in this case, can achieve</p>
      <p>To estimate the productivity of the ontology model building, methods based
on the shortest route search in the graph, representing the ontology, can be used.</p>
      <p>Generally, we can write, that selecting routs to achieve target node T in the
graph, using the query:</p>
      <p>T = {x | A (x)},
∀a∃x∀c(c ∈ x ⇔ c ≤ a) ,</p>
      <p>Tmin = min (a).
where x are all possible routes in the graph,</p>
      <p>A (x) – characteristic property, representing the essence of the specific query,
will give the needed result.</p>
      <p>Then
where
с – all routes in the graph, leading to the target node,
a – minimal length route to the target in the graph.</p>
      <p>Thus there always exist minimal length route in the graph, which
corresponds to target. So the result of the query also exists</p>
      <p>Emax = 9n / (9n – 9(n-m))
(2)</p>
      <p>
        The search task of the single source shortest path (SSSP) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] is defined based
on the general ontology model graph description.
      </p>
      <p>The process flow supporting the analyst work in sample domain of budget
monitoring can be represented as follows:
1. Building operational OWL model in the subject area, using Protégé
software. (Any other software compliant with OWL2 standard can be used as
well).
2. Converting OWL model to the GraphML format using specialized
converter.
3. Edit obtained graph, for the purpose of scenario creation.
4. Typical scenario corresponding to selected criteria creation.
5. The most effective current scenario search using selected criteria.</p>
      <p>
        Resulting from the expert in the subject area work the corresponding
activities model is created and further developed to be used in the analytic activity, fixed
and stored for definite criteria and tasks as the typical scenario. The specialized
software converts the ontology OWL file into the tree of the possible analyst's operations
saved in the form of the GraphML file. This file represents the supporting operations
list for the future analyst work, used for selection of operations subsystem, needed to
build a scenario and set connections between successive steps with selected metrics of
(5)
(3)
(4)
the nodes and edges of the graph [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Such metrics as execution time and cost are
defined for the nodes, while the probability of transition is the metric of edges. Each
of the nodes can be simple or compound.
      </p>
      <p>The compound node can hold a graph of possible simple or compound steps,
connected with transition edges. The input logical function is stored in any node,
defining the node with several incoming edges activation method. In all output edges of
the node, the normalized transition probabilities to the next nodes are stored thus
forming the weighted directed graph.</p>
      <p>While practical executing the scenario the updated values of metrics and
probabilities can be set in the input structure. The simple nodes hold the input metrics
values. Compound node metrics are calculated from the corresponding metrics of the
lower-level nodes. If the graph can have the cyclic nodes, then corresponding node
metrics of such node can have several values, depending on the cycle number. The
shortest route search method allows defining simple weight coefficients for nodes, as
well as complex, which need metrics for calculation [9]. E.g. if the scenario nodes
have time and cost parameters, then the shortest route can be calculated using the
criteria of the minimal general execution time, minimal cost, or some linear
combination of both parameters.</p>
      <p>While optimizing scenario built on the graph the standard methods of
shortest route search, such as the Dijkstra algorithm, are using weighted edges to be run. If
we need to select the shortest route for the parameters of the nodes the most reliable
way is to create supporting edges weights defined as the average of the corresponding
node's parameters, placed on both ends of the edge except the beginning and final
node, whose parameter values are not divided by 2. It is simple to show, that total
route weight, defined on such edge metrics will be the same, as calculated on the
nodes parameter values.</p>
      <p>In this work, we shall not consider a multilevel graph because any multilevel
graph can be represented with equivalent single level one by substituting the contents
of the compound node instead of the node itself (Fig. 1). Such a graph will be
complex enough, but a single layer.</p>
      <p>The task is for any node v accessible from source-node aS, to find route,
having least total weight P*( aS,aF):
f*(aS)=f(P*(aS,aF)=min f(P(aS, aF)).
(6)
(7)
(8)</p>
      <p>Let us consider some sample directed weighted graph with defined start node
as. The edges sequence from node as to node aF ns called route.</p>
      <p>dijil &lt;&lt; dijkl</p>
      <p>Such a problem can be set for both graph type, directed and undirected [9].
The problem solution satisfies the optimality principle: i.e. route in consideration is a
part of the shortest route, e.g. from source aS to finish node aF. That means that to
store the shortest path for each node, it is enough to store its last edges instead of the
whole route.</p>
      <p>Without decreasing the generality let us revue the task of enhanced route
search on the graph, which defines optimized actions sequence in scenario based on
the typical scenario of analytical work. Here the typical scenario is already existent
and formalized scenario, which usually was received as a result of the previous
activity of analysts and experts solving such problems.</p>
      <p>Let’s consider graphical representation of scenario construction on the graph
(Fig. 1), which corresponds to this problem formulation with the following
assumptions:
1. Every level of graph hierarchy</p>
      <p>A={aij} для i=1…n та j=1…m
corresponds to a full activity set, having analogous by quality results, but differ in
activity indicators (execution time or cost).</p>
      <p>2. Time consumed by transition between activities in one level is less then
transition time from any level to the lower one.</p>
      <p>If dijkl – is an edge between nodes aij and akl , and dijil – is an edge between
nodes aij and ail, then
for i,k = 1, ..., n</p>
      <p>j,l = 1, ..., m
and i ≠ k.</p>
      <p>3. For each graph level, representing subject area ontology there is typical
scenario, the defines edges set</p>
      <p>dTii+1. for i = 1, ..., n – 1
4. Scenario can be defined as optimized (enhanced), if total evaluation of
scenario edges, defining the newly formed in optimizing process new scenario edge
chain diji+1l is less then total evaluation of edges chain in typical scenario dTii+1.</p>
      <p>The successive scenario quality indicators enhancement algorithm,
representing the starting ontology of subject area using the structure representation as ordered
by activity types graph, can be constructed as the following sequence of steps.</p>
      <p>1. For each scenario level
value of diji+1l is compared to dTii+1.</p>
      <p>2. If values are such that
then new value for current scenario is defined
i = 1, ..., n – 1 and j,l = 1, ..., m
diji+1l &lt; dTii+1
dTNii+1 = diji+1l
(9)
3. New optimized scenario activities sequence from the node ai+1l
sequentially through all subsequent levels to level m.</p>
      <p>4. If total sum dTNii+1 for the new chain is less then for dTii+1 of starting
typical scenario, then this new scenario is accepted as typical.</p>
      <p>5. Where the conditions of paragraph 4 are not fulfilled, the process can be
repeated from the last node of the typical scenario, from which a new direction of
scenario construction was begun, in another direction up till the last graph level.</p>
      <p>Thus, when there is a chain of action better over a chosen criterion (for
example, the time of receiving and processing information) compared to a typical
scenario, it will be found and the typical scenario will be replaced with a new one.</p>
      <p>As a result of running the described algorithm, we obtain a scenario that
meets the given conditions, in accordance with the ontology described by the graph.
The algorithm presented here shows a sequential process of detecting a sequence of
arcs connecting the nodes of the graph from the top level to the bottom, taking into
account the matching parameters.</p>
      <p>When repeatedly retrieving information by close form of query, we use an
existing scenario model, which significantly shortens the construction time by
reducing the number of nodes under consideration. This does not exclude the possible need
to revise the ontology and rebuild it.</p>
      <p>2500
2000
s
k
c
1eh500
c
f
o
r
e
1b000
m
u
N
500
0
0</p>
      <p>1440
1000
400
90
576
120
490
Full of m=4
Full of m=10</p>
    </sec>
    <sec id="sec-2">
      <title>Test method m=4</title>
    </sec>
    <sec id="sec-3">
      <title>Test method m=10</title>
      <p>In this article the problems of gathering flow information scenario optimization on the
branched network are considered as an example of the construction and further
optimization problem of scenarios built on the branched network for the budget
monitoring. The structure approach in ontology analysis, as the most appropriate for the
considered task, using the graph representation of the structure is suggested. The
estimation of the effect of the previously obtained partial information about gathering
information in the network scenario construction, described by the graph, for the further
clarification of information. The formal description of multilayer hierarchical system
structure is provided. The example of ontology elements interaction structure for the
problem is presented.</p>
      <p>The complex approach based on the shortest route search on the graph and
ontology model graph representation is suggested. This makes possible to use
algorithms, based on graph nodes in hierarchical levels (layers) traversing.</p>
      <p>The approach for modified search in width algorithm building is presented,
which significantly decreases routes search for the gathering flow information
scenario construction time in the branched network. Described in the article approach for the
gathering flow information scenario optimization on the branched network was tested
for the pilot system of regional budgets financial analysis project development.
Algorithm suggested here makes it possible to develop the software complex, which
enables sufficiently full and complete solution to the problems of scenario optimization
for scenarios of search and collection of streaming information on an extensive
network. One of the perspective directions in the algorithm application is to use its
possibilities for information-analytic systems building. This will significantly reduce the
time and improve the quality of searching the necessary streaming information on a
extensive network.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Alex</given-names>
            <surname>Guazzelli</surname>
          </string-name>
          , Michael Zeller,
          <string-name>
            <surname>Wen-Ching Lin</surname>
            and
            <given-names>Graham Williams PMML</given-names>
          </string-name>
          :
          <article-title>An Open Standard for Sharing Models</article-title>
          : available at: https://journal.rproject.org/archive/2009-1/RJournal_2009-
          <fpage>1</fpage>
          _Guazzelli+et+al.pdf
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chernov</surname>
            ,
            <given-names>V.A.</given-names>
          </string-name>
          <article-title>The Economic Theory analysis</article-title>
          : Textbook // V.A.
          <string-name>
            <surname>Chernov</surname>
          </string-name>
          .- Moscow: Prospect,
          <year>2017</year>
          .- 384 p.
          <source>- ISBN 978-5-392-24867-4</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Christopher</surname>
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Manning</surname>
            , Prabhakar Rahavan,
            <given-names>Heinrich</given-names>
          </string-name>
          <string-name>
            <surname>Schütz</surname>
          </string-name>
          .
          <article-title>Introduction Consumer Information Search (trans. With Eng</article-title>
          .)
          <string-name>
            <surname>- M .: OOO 'Y.D. Williams</surname>
          </string-name>
          ' 2011 - p.
          <fpage>504</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>O.</given-names>
            <surname>Koval</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Kuzminykh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Otrokh</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Kravchenko</surname>
          </string-name>
          ,
          <article-title>"Optimization of Scenarios for Collecting Information Streaming Wide-Area Network,"</article-title>
          <source>2019 3rd International Conference on Advanced Information and Communications Technologies (AICT)</source>
          , Lviv, Ukraine,
          <year>2019</year>
          , pp.
          <fpage>213</fpage>
          -
          <lpage>215</lpage>
          . doi:
          <volume>10</volume>
          .1109/AIACT.
          <year>2019</year>
          .
          <volume>8847832</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Miller</surname>
            <given-names>G.</given-names>
          </string-name>
          <article-title>The Magical Number Seven, Plus or Minus Two: Some Limits on Our Capacity for Processing Information</article-title>
          .
          <source>The Psychological Review</source>
          ,
          <year>1956</year>
          . 63: pp.
          <fpage>81</fpage>
          -
          <lpage>97</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Thorup</surname>
          </string-name>
          , Mikkel. “
          <article-title>Undirected Single-Source Shortest Paths with Positive Integer Weights in Linear Time</article-title>
          .
          <source>” Journal of the ACM</source>
          <volume>46</volume>
          , no.
          <issue>3</issue>
          (
          <issue>May 1</issue>
          ,
          <year>1999</year>
          ): pp.
          <fpage>362</fpage>
          -
          <lpage>394</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Moore</surname>
          </string-name>
          , Edward F. “
          <article-title>The Shortest Path Through a Maze”</article-title>
          .
          <source>International Symposium on the Theory of Switching</source>
          , pp.
          <fpage>285</fpage>
          -
          <lpage>292</lpage>
          ,
          <year>1959</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>C Y.</given-names>
          </string-name>
          “
          <article-title>An Algorithm for Path Connections</article-title>
          and
          <string-name>
            <given-names>Its</given-names>
            <surname>Applications</surname>
          </string-name>
          .
          <source>” IEEE Transactions on Electronic Computers</source>
          <volume>10</volume>
          , no.
          <issue>3</issue>
          (
          <year>September 1961</year>
          ): pp.
          <fpage>346</fpage>
          -
          <lpage>365</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>