<!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>Software Development for Semantic Kernel Forming</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sergey Orekhov</string-name>
          <email>sergey.v.orekhov@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Henadii Malyhon</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nataliya Stratienko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tetiana Goncharenko</string-name>
          <email>tatianagoncharenko1806@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>National Technical University “Kharkiv Polytechnic Institute”</institution>
          ,
          <addr-line>Kyrpychova str. 2, Kharkiv, 61002</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Semantic kernel</institution>
          ,
          <addr-line>Semantic web, JavaScript, RDF, Data mining</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>The article presents the results of the study of the semantic kernel forming process for a web resource. This study broadens the understanding of a new concept of the Semantic Web. It is based on four components, namely URI, ontology, data and semantic language. This concept, using a new tool - the semantic kernel, is implemented in the paper. Such a kernel is formed according to the principle of annotation, that is, it is a concentrated expression of the main meaning of a given web content. It is formed based on a unique algorithm relied on the semantic network and the method of Data mining technology. Thus, the work offers an alternative implementation of the components of the Semantic Web [1]. It is proposed to use the RDF schema as the semantic kernel representation format. Moreover, the software implementation of the entire approach is done in JavaScript using the Node JS library. The software was tested on the content of real web sites. The new effect of semantic kernel aging was detected for USA real web site.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Before the buyer decides to buy the goods he needs, he usually compares alternatives looking for
the information about goods (services) and analyzing them on the Internet. Based on the information
received, the buyer makes a decision, while such factors as other people's attitudes, the benefits of the
product, and other unforeseen factors influence the decision.</p>
      <p>
        Therefore, the information left by users carries a marketing value. It is based on it and you can
identify the events that in one way or another have a certain impact on the market situation.
Nevertheless, this information appears as hypertexts, and to be more precise, a set of keywords.
Therefore, it is an urgent task to investigate multiple keywords to evaluate their marketing value. We
name the multiple keywords as a semantic kernel [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>What is the semantic kernel actually? It is primarily a set of keywords that describe a briefly
defined subject area. We will assume that such a semantic kernel describes a given product or service,
that is, a textual display of a product or service in the virtual space. This display can be transmitted
over the Internet and displayed on a web page. You can write a review for it, that is, tell your personal
opinion about the product. In this case, the semantic kernel really acquires marketing knowledge</p>
      <p>Word
sentence
or</p>
      <p>Demand</p>
      <p>Proposal</p>
      <p>Competitors</p>
      <p>Partners</p>
      <p>Ideas of content</p>
      <p>Notes</p>
      <p>2021 Copyright for this paper by its authors.</p>
      <p>However, using the kernel directly is inconvenient for the end user. In this scenario, the following
problems arise. Firstly, it is not convenient for the user to search for the keywords that make up the
kernel. Secondly, the keywords make sense to the user when there are connections between them.
Thirdly, the kernel is changing over the time. And fourth, you need an understandable format for
representing the kernel, both for the user and for the computer system.</p>
      <p>Thus, it is required to propose a new form of representation of the semantic core that is convenient
for understanding by a user, as well as with an acceptable data format that can be processed
programmatically.</p>
      <p>Therefore, the work proposes an integrated approach to the development of software for the
formation of the semantic core and its research.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Problem statement</title>
      <p>
        Recent studies have confirmed the fact that information flows on the Internet reflect market events
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. However, these flows exist in the form of hypertexts. Moreover, if we perform a hypertext
analysis of the content, then we have a set of keywords. It is the set that reflects market events;
therefore, there is an urgent task to investigate the information flow in order to identify onboard
keywords that reflect market events.
      </p>
      <p>This task is complex and involves at least two tasks: the first task of highlighting a set of
keywords (semantic kernel) and the second task of researching keywords to establish information
about market events: participants, their actions, product prices etc.</p>
      <p>A plurality of hypertext messages is the input. These messages have the following properties:
1. They consist of keywords.
2. All messages have an important feature – the moment of time.
3. Messages are formed on the basis of a glossary of terms (semantic core) about market events
and their participants.
4. A user creates a series of messages using this dictionary.</p>
      <p>Then, by analyzing the text, namely analyzing the content of the web page and using this
dictionary, you can highlight a set of keywords depending on the time and probably the location.</p>
      <p>We will call a set of keywords (semantic kernel) about the market goods a "card" of a product.
This is a description of the product left by the user on the Internet. An example of such a product card
for the auto parts and accessories market is presented in Figure 2 (http://celestialtiming.com).</p>
      <p>We will refer to a set of keywords that describes information about the manufacturers of goods
(market participants) as a card of a manufacturer.</p>
      <p>Then the tool for the accumulation and display of cards will be called a bulletin board of market
participants about their products or services.</p>
      <p>The bulletin board is an HTML page, where all the visitors of the site leave their ads, and all the
visitors of the site can read them. The board then acts as a bridge between the product card, the
manufacturer's card, and the potential or actual consumer of the product or service. In other words, the
bulletin board is a repository of associative rules that are linked within the 4P principle: location
(place), product, price, and advertising (promotion) [4-7]. Thus, the bulletin board becomes the main
source of market events.</p>
      <p>In addition, all the web pages of the board are subject to content analysis. Besides, to install a
dictionary, you can use Data Mining technology [8] to identify multiple keywords.</p>
      <p>This dictionary is dynamic and is mapped over the following periods: day, week or month.
Therefore, using such a dictionary, you can determine the events with the help of a search service that
led to a particular fact at a certain time.</p>
      <p>Then the problem statement is formulated as follows: it is necessary to develop a software
solution for the formation of a set of keywords (semantic kernel) on the example of the market
hypertexts. To do a research it is offered to consider a set of key-words (semantic kernel). The set is
dynamic, that is it is essential to build it depending on time. To form a semantic kernel, it is necessary
to have: a dictionary, a product and a manufacturer cards, as well as a mechanism for establishing
their relationship - a Bulletin Board.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Proposed methodology</title>
      <p>
        In the current literature on search engines and services, the term "keyword dictionary or semantic
kernel" is interpreted as the term of information search thesaurus [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>Information retrieval thesaurus is a controlled vocabulary of domain terms that is created to
improve the quality of information retrieval in that subject area. In other words, it is a collection of
language units that make sense of the semantic relationship between them. Its goals are shown in the
Figure 5.</p>
      <p>Building an information retrieval thesaurus consists of several interrelated steps. The first stage is
the formation of a dictionary. It is the initial set of keywords. This examines the array of the most
informative documents for a given subject area.</p>
      <p>The list of keywords</p>
      <sec id="sec-3-1">
        <title>Enter the text</title>
      </sec>
      <sec id="sec-3-2">
        <title>Creating thesaurus</title>
      </sec>
      <sec id="sec-3-3">
        <title>Forming semantic kernel</title>
      </sec>
      <sec id="sec-3-4">
        <title>Send RDF file</title>
        <p>The list of keywords from a web page</p>
        <p>The second stage is the formation of multiple keywords. A set of keywords is formed from the
dictionary. The selection of keywords analyses the informative nature of the word, which is
determined based on the frequency of occurrence of the word, the role of the word in this subject area.</p>
        <p>The process of choosing keywords is difficult to formalize. For example, a criterion such as
frequency of occurrence cannot be absolute. If a word occurs very often in texts, it may indicate that it
is too broad, or not well defined, that is, uninformative. If a keyword is rare, it may mean that it
expresses a new concept and is thus informative.</p>
        <p>The third stage is the formation of equivalence classes. Automatic information retrieval thesaurus
is an integral part of automatic indexing of documents and queries.</p>
        <p>
          An automatic thesaurus dictionary article typically has conditional equivalence relationships,
subordinate links, and associative links. However, all these aspects were discussed in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] fully. Thus,
the algorithm is defined and represented in Figure 5.
        </p>
        <p>The analysis of methods and tasks was provided – please, check Table 1. At the intersection of the
row and column, the "+" symbol indicates the conformity of the method and functionality it solves.</p>
        <p>The analysis of Table 1 shows us that there are not any appropriate methods for task solving.</p>
        <p>
          Thus, we have regarded the alternative published here [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. This is a special algorithm, which is
based on some methods mentioned above.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Proposed IT solution</title>
      <p>Using UML [9], the following use case diagram was designed (Figure 6).</p>
      <p>According to the functional requirements done by a user (Figure 4), the software has two main
users: a user and an administrator (developer), who shares the functionality.</p>
      <p>The diagram illustrates the fact that a user having a product can compile the keyword dictionary
(semantic kernel). Then, over time, the vocabulary is becoming more effective. This enables the buyer
to find the product he is looking for faster because of the value for money.</p>
      <p>The conceptual data model is shown in Figure 7 and reflects the structure of the projected keyword
dictionary. The conceptual data model was built as a class model. It depicts logical structure of
information that we have.</p>
      <p>The algorithm of software work is presented in Figure 8. To see the software architecture the
deployment diagram was prepared – Figure 9.</p>
      <p>The main page of the developed software is shown in the Figure 10.</p>
      <p>The core includes a set of keywords that is dynamically changing depending on market events over
time. For convenience, use the block to order the keywords – Figure 10. In this block, a user selects
the number of tags that need visualizing, as well as the depth of this analysis.</p>
      <sec id="sec-4-1">
        <title>Top Package::Controller +registerUIlisteners() : bool</title>
        <sec id="sec-4-1-1">
          <title>Top Package::ReportCreator</title>
          <p>-items[] : object
+getItem() : object
+setItem() : object</p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>Top Package::ReportModel -items[] : object +getItem() : object +setItem() : object</title>
        <p>Top Package::Item
-name : string
-type : string
-frequency : int
+getName() : string
+getType() : string
+setType() : void
+getFrequency() : void
+setFrequency() : void</p>
      </sec>
      <sec id="sec-4-3">
        <title>Top Package::DataViewer</title>
        <p>+showDataTable() : bool
+showReport() : bool</p>
      </sec>
      <sec id="sec-4-4">
        <title>Top Package::ApiDevice</title>
        <p>+sendAPIRequest() : object</p>
      </sec>
      <sec id="sec-4-5">
        <title>Top Package::ApiResponse -keyword : string +getWordType() : void +setWordType() : void</title>
        <sec id="sec-4-5-1">
          <title>Top Package::DataRelevanceFeedback</title>
          <p>+formatHTML() : object</p>
        </sec>
        <sec id="sec-4-5-2">
          <title>Top Package::FrequencyCounter</title>
          <p>+calculate() : void</p>
          <p>The constructed dictionary for a certain period is a table of keywords and calculated “frequency”
score values. A number of keywords is displayed as RDF schema – Figure 10.</p>
          <p>The resulting semantic kernel in the form of RDF document is used to promote this WEB resource
in the search engine.</p>
          <p>Finally, the software was developed as JavaScript application based on NodeJS framework [10].</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>An English-language website on astrological knowledge and prediction was chosen to test the
software components. Figure 11 shows a part of the text of the main page of such a site. According to
the user's instructions, a thesaurus and a semantic core were built.</p>
      <p>
        As an intermediate stage, a special thesaurus of keywords was formed according to the method [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Each keyword has a weight, which was interpreted as the number of rules that are set between words
in the real text (Figure 11).
      </p>
      <p>The obtained software was used to study the change in the semantic kernel of web project during
2017 - 2020. The project has been functioning on the Internet since 2009. Its subject is an astrological
service for predicting future events.</p>
      <p>According to the convention management system, the site has been changed at least three times.
Each such alteration was accompanied by a revision in the main set of keywords (semantic kernel).
Three copies of the site content were stored in the system, which allowed tracking the change of the
semantic kernel (Figure 11). With the help of the Google Analytics service, you can get a relationship
between the time when the kernel was changed and the number of visits to the site.</p>
      <p>Insert data to textfield</p>
      <p>Text visualization</p>
      <p>Text processing
Request to web service
Response processing</p>
      <p>Reporting</p>
      <p>Receiving hypertext
Performance of semantic kernel forming</p>
      <p>Search engine checking</p>
      <p>Semantic kernel in RDF view</p>
      <p>It is possible to notice that each change of a kernel led to an increase in visits. But an interesting
effect was also found, which was called kernel aging.</p>
      <p>The fact is that the opinion of real users about astrology and so on is definitely changing over time.
Therefore, the keywords (the kernel) that was embedded in the content of the site a year ago may no
longer satisfy the user, that is, he is looking for other keywords on this topic that are not a part of this
website, so the number of visits is decreasing. Nevertheless, changing the kernel corrects this effect.</p>
      <p>The effect of kernel aging is very clear in web project – Figure 11. Here, the last restoration of the
kernel took place in 2017. As a result, the site rolled from the second page in the search engine's
responses to the tenth. This is also evidenced by web counter data from Google Analytics.</p>
      <p>Thus, in the work by means of the developed software (Figure 10) an enthralling effect of kernel
aging was revealed, which leads to a decrease in the efficiency of search engine optimization of the
web resource.</p>
      <p>Client</p>
      <p>Browser</p>
      <p>Javascript
App server
*</p>
      <p>HTTP
*</p>
      <p>WEB server
SemanticKernelForming</p>
      <p>RDF component</p>
      <p>TCP/IP</p>
      <p>HTTP
Semantic
Kernel as RDF
xml file</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>The performed scientific work allowed us to get some interesting results:
1. The study proposes a new approach to the implementation of the concept of the semantic web
based on the concept of the semantic core. The implementation of this approach is based on the
RDF schema. This allows implementing all four components of the Semantic Web without
violating the principles of the modern Internet.
2. The implemented software was tested based on a real web project that has existed on the web
since 2009. An interesting effect of the aging of the semantic core was revealed. The physical
meaning of this effect was shown.
3. The proposed software can be easily integrated into existing web applications. Therefore, the
goal of the future research is to accumulate factual material on changes in semantic kernels in
various subject areas and to establish a relationship between them and real changes in the
preferences of end users.</p>
    </sec>
    <sec id="sec-7">
      <title>7. References</title>
      <p>[4] G. Lancaster, L. Massingham. Essentials of Marketing Management. 2nd. ed., Routledge,</p>
      <p>London, 2017. doi: 10.4324/9781315177014
[5] S. Godin. This is marketing. Portfolio/Penguin, USA, 2018
[6] F. Kotler, K. Keller. Marketing management. Pearson, USA, 2015
[7] F. Kotler F., G. Armstrong. Principles of marketing. Prentice Hall, USA, 2011
[8] I. Witten. Data Mining: Practical Machine Learning Tools and Techniques. Morgan Kaufmann,</p>
      <p>USA, 2011
[9] B. Rumpe. Agile modeling with UML. Springer, Germany, 2017
[10] J. Lengstorf, K. Wald. Pro PHP and jQuery. APress, USA, 2016</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Vishal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mayank</surname>
          </string-name>
          .
          <article-title>Ontology based information retrieval in semantic web: a survey</article-title>
          .
          <source>International Journal of Information Technology and Computer Science</source>
          , Vol.
          <volume>5</volume>
          , No.
          <volume>10</volume>
          (
          <year>2013</year>
          )
          <fpage>62</fpage>
          -
          <lpage>69</lpage>
          . doi:
          <volume>10</volume>
          .5815/ijitcs.
          <year>2013</year>
          .
          <volume>10</volume>
          .06
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>S.</given-names>
            <surname>Orekhov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Godlevsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Orekhova</surname>
          </string-name>
          ,
          <article-title>Theoretical fundamentals of search engine optimization based on machine learning in: Proceesings of the 13th International Conference on ICT in Education, Research and Industrial Applications</article-title>
          . Integration, Harmonization and
          <string-name>
            <given-names>Knowledge</given-names>
            <surname>Transfer</surname>
          </string-name>
          , ICTERI '
          <year>2017</year>
          ,
          <string-name>
            <surname>CEUR-WS</surname>
          </string-name>
          ,
          <year>2017</year>
          , Volume
          <year>1844</year>
          , pp.
          <fpage>23</fpage>
          -
          <lpage>32</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Orekhov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Malyhon</surname>
          </string-name>
          , I. Liutenko,
          <string-name>
            <given-names>T.</given-names>
            <surname>Goncharenko</surname>
          </string-name>
          ,
          <article-title>Using Internet News Flows as Marketing Data Component in: Proceesings of the 4th</article-title>
          <source>International Conference on Computational Linguistics and Intelligent Systems. Volume</source>
          <volume>1</volume>
          :
          <string-name>
            <surname>Main</surname>
            <given-names>Conference</given-names>
          </string-name>
          , COLINS '
          <year>2020</year>
          ,
          <string-name>
            <surname>CEUR-WS</surname>
          </string-name>
          ,
          <year>2020</year>
          , Volume
          <volume>2604</volume>
          , pp.
          <fpage>358</fpage>
          -
          <lpage>373</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>