<!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>
      <journal-title-group>
        <journal-title>October</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Application of Formal Contexts in the Analysis of Heterogeneous Biomedical Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mikhail Bogatyrev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dmitry Orlov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Tula State University</institution>
          ,
          <addr-line>Tula</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <volume>1</volume>
      <fpage>0</fpage>
      <lpage>16</lpage>
      <abstract>
        <p>The paper proposes a method of conceptual modeling based on the use of formal contexts. Formal context is the main notion in the Formal Concept Analysis (FCA), the lattice-based data analysis approach. Biomedical data and the tasks of their analysis under Biomedical Natural Language Processing are discussed. Two variants of formal contexts constructed on natural language texts are considered. They are the contexts constructed with the use of keywords and n-grams. Textual n-grams are acquired by using conceptual graphs and Abstract Meaning Representation (AMR) schemata. Both contexts are used in the text clustering task. It is shown that the classical FCA clustering on keyword based context entails appearing bag-of-words in clusters. It is proposed the clustering approach for n-grams based multidimensional contexts which avoid appearance of a bag-of-words in clusters. The method was tested on the texts of annotations of scientific articles from PubMed databases.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;conceptual modeling</kwd>
        <kwd>conceptual graphs</kwd>
        <kwd>Biomedical Natural Language Processing</kwd>
        <kwd>polyadic formal context</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        corresponding generalizations of FCA concepts in data analysis problems. Formal concepts
based on two-dimensional formal contexts represent a special solution to the data clustering
problem: biclustering [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The use of multidimensional formal contexts extends cluster
analysis to three-dimensional and n-dimensional clustering. An important result here is progress
in solving the well-known problem of cluster interpretability: n-dimensional clusters are more
representative than normal ones, since they are built simultaneously on several sets.
      </p>
      <p>
        In this paper, FCA clustering on heterogeneous biomedical data is investigated. The
heterogeneity of biomedical data consists in the use of texts along with numerical values. This
can be text designations of drugs, genes, bacteria, etc., as well as natural language texts. We
consider variants of formal contexts for text clustering problems, including contexts have been
constructed using n-grams. We propose a method for constructing formal contexts on textual
data, in which n-grams are obtained from conceptual graphs and correspond to the model of
Abstract Meaning Representation of text [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Then constructed formal contexts are used in the
task of clustering biomedical data.
      </p>
      <p>It is shown that the use of standard FCA clustering algorithms on such contexts leads to
the appearance “bag-of-words” in clusters, which makes it dificult to interpret them. A
version of clustering using n-gram data associations is proposed, which allows avoiding
“bag-ofwords” and allows interpreting clusters in the context of data queries in the form of meaningful
phrases.</p>
      <p>The paper is organized as follows. Section 2 briefly introduces the main definitions of Formal
Concept Analysis. In the Section 2.1 polyadic formal contexts and multimodal clusters are
described. Section 3 contains brief review of biomedical data analysis including Biomedical
Natural Language Processing in the Section 3.1. Section 4 is devoted to constructing polyadic
formal contexts on natural language texts. The use of keywords as attributes in formal context
is described in the Section 4.1 and in the Section 4.2 we discuss semantic features of formal
contexts. In Section 5 results of experimental study of application of two variants of formal
contexts for clustering are presented. Section 6 devoted to comparing our results with some
ones in related work. In Section 7 we conclude and discuss the future work.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Elements of Formal Concept Analysis</title>
      <p>
        Briefly consider the main definitions of the FCA. Classical FCA [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] deals with two basic
notions: formal context and concept lattice. Formal context is a triple  = (,  ,  ) where G
is a set of objects, M is a set of their attributes,  ⊆  ×  – binary relation which
represents facts of belonging attributes to objects. Formal context may be represented by [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ]
- matrix  = { , } in which units denote relationship between objects   ∈  and attributes
  ∈  . The concepts in the formal context are defined in the following way. If for subsets
of objects  ⊆  and attributes  ⊆  there exist mappings (which may be functions also)
 ′ ∶  →  and  ′ ∶  →  with the properties of  ′ ∶= { ∈  | &lt; ,  &gt; ∈  for all  ∈  }
and  ′ ∶= { ∈  | &lt; ,  &gt; ∈  for all  ∈  } then the pair of subsets (A, B) like that  ′ = ,  ′ = 
are called formal concepts. The sets A and B called the extent and the intent of a formal context
 = (,  ,  ) respectively.
      </p>
      <p>In other words, a formal concept is a pair (A, B) of subsets of objects and attributes which
are connected so that every object in A has every attribute in B, for every object in G that is
not in A, there is an attribute in B that the object does not have and for every attribute in M
that is not in B, there is an object in A that does not have that attribute. If for formal concepts
( 1,  1) and ( 2,  2),  1 ⊑  2</p>
      <p>and  2 ⊑  1 then ( 1,  1) ⩽ ( 2,  2) and formal concept ( 1,  1) is
less general than ( 2,  2). This order makes a lattice, which is called concept lattice. A lattice is
a partially ordered set in which every two elements have a supremum (also called a least upper
bound or join) and a infimum (also called a greatest lower bound or meet).</p>
      <sec id="sec-2-1">
        <title>2.1. Polyadic FCA</title>
        <p>domains  1,  2, … ,</p>
        <p>. The context is an n+1 set:
Polyadic or multidimensional FCA is based on the notion of multidimensional formal context.
A multidimensional, n-ary formal context is defined by a relation  ⊆ 
1 ×  2 × … ×   on data
 =&lt;  1,  2, … ,   ,  &gt;,
where   ⊆   . Every n-ary context begets k-ary contexts, whose number is given by the
Stirling formula  (,  ) =  1!  =0</p>
        <p>∑(−1) ( )( −  )
context also contains formal concepts which also form a lattice.</p>
        <p>
          [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. As it is shown in [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ], multidimensional n-ary
        </p>
        <p>Already on two-dimensional formal contexts, and especially on multidimensional ones, not
only formal concepts are of interest, but also “insuficiently dense concepts” which are
twodimensional, three-dimensional, and n-dimensional clusters. These clusters may contain useful
information.</p>
        <p>
          By introducing the notion of bicluster density [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], one can investigate various biclustering
options and estimate their significance [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. An important result here is the statement proved
in [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] that each concept contains a cluster, but the opposite is not true.
        </p>
        <p>Clustering on multidimensional formal contexts is called multimodal clustering.</p>
        <p>
          According to multimodal clustering, for any dimension of formal context, the purpose of its
processing is to find n - sets  = &lt;  1,  2, … ,   &gt; which have the closure property [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]:
∀ = ( 1,  2, … ,   ) ∈  1,  2, … ,   ,  ∈ ,
(1)
(2)
∀ = 1, 2, … , ,
constitute multimodal clusters.
        </p>
        <p>∀  ∈   ⧵  &lt;  1, … ,   ∪ {  }, … ,   &gt; does not satisfy (2). The sets  = &lt;  1,  2, … ,   &gt;
When solving any clustering problem, a proximity measure of the objects being clustered is
used. In FCA clustering, the proximity of objects is set by their relation R, so it is actually
written in a formal context: those objects are close to each other that have common attributes,
and vice versa for attributes and objects.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Tasks and Methods of Heterogeneous Biomedical Data</title>
    </sec>
    <sec id="sec-4">
      <title>Analysis</title>
      <p>
        One of the areas where NLP applications are becoming more in demand is Bioinformatics. Data
in Bioinformatics is often heterogeneous: it includes both numeric and symbolic sequences, as
well as texts. The Biomedical Natural Language Processing (BioNLP) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is the new area of
research in Bioinformatics which appearance was due to the avalanche-like growth of
publications in the field of biomedicine.
      </p>
      <sec id="sec-4-1">
        <title>3.1. Biomedical Natural Language Processing</title>
        <p>
          The main purpose of BioNLP is to obtain new knowledge from published texts, not completely
contained in each individual publication. Initially, the main area of application of BioNLP
methods was genomic studies. Over time, the subject matter of texts processed by BioNLP has
expanded to other areas. BioNLP was formed as research area with its own data, tasks and
methods [
          <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
          ]. They are summarized as follows.
        </p>
        <p>BioNLP Data and Resources. The main types of data used in BioNLP are the texts of
scientific publications – usually abstracts of these publications. Along with lexical and grammatical
elements common for non-structured texts, they have their own specifics: characteristic terms,
for example, names of genes, ab-breviations, and the inclusion of numerical data in the text.
Distinctive feature of biomedical data is synonymy. The same concept may be expressed using
diferent words in a text. For example, “heart attack” and “myocardial infarction” refer to the
same medical problem.</p>
        <p>
          Natural language texts are implied to be unstructured. The peculiarity of biomedical textual
data is that it is actually semi-structured. The most used resource of the modern BioNLP
systems is the PubMed system [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]. This is online knowledge base that includes many special
databases. Simultaneously, PubMed is both ontology and a text corpus with extra linguistic
tagging. Tagging options are limited to hyperlinks to other publications cited in one work, as
well as to publications of similar content. The tagging makes it easier to solve a number of
problems on corpus data, for example, solving clustering problems.
        </p>
        <p>
          Knowledge Sources. In addition to the data itself, biomedical information resources contain the
so called sources of knowledge. Among them there is the Medical Subject Headings (MeSH)
[
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], which contains controlled vocabulary terms organized as tree structure. Another
important resource is the Unified Medical Language System [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]: the compendium of controlled
vocabularies. It has knowledge source databases and associated software tools for use by BioNLP
systems developers.
        </p>
        <p>Thus, almost any task of BioNLP is solved not only directly on the texts, but also with the
involvement of external resources.</p>
        <p>
          BioNLP Tasks and Methods. All the BioNLP tasks may be classified as more or less general.
The general task of knowledge extraction is transformed to the tasks of fact extraction and
event extraction. Often these terms are not distinguished [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. As atomic tasks, being solved as
a part of the solution of more general task there are tasks of Named Entity Recognition and
Relation Extraction.
        </p>
        <p>Named Entity Recognition. Named Entity Recognition (NER) is the standard task of BioNLP. It
consists in automatically identifying occurrences of biological or medical terms in unstructured
text. As named entities, there are the names of genes, proteins, living organisms or diseases –
it is depended on the domain to which processed text belongs to.</p>
        <p>
          NER is typically consisted of three-stages process [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] that involves:
• determining an entity’s substring boundaries within the text,
• assigning the entity to a predefined class or category, and
• selecting the preferred name or unique identifier of the concept that the entity names.
        </p>
        <p>
          The performance of NER solutions is measured in terms of precision, recall, and F-score [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]
since this task can be interpreted as classification task.
        </p>
        <p>
          Relation Extraction. Relation Extraction (RE) is another standard task of BioNLP. Relations
are associations among biomedical entities. The simplest relations are binary, involving only
the pair-wise associations between two entities. But biomedical relationships can involve more
than just two entities. This kind of relationship is actual in the task of event extraction. In our
time, named as genomic era, much of BioNLP work has focused on automatically extracting
interactions between genes and proteins. Other associations include interactions between
proteins and mutations, proteins and their binding sites, genes and diseases, genes and phenotypic
context [
          <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
          ].
        </p>
        <p>Events (Facts) Extraction. As it was noticed events and facts are often not distinguished in
the BioNLP literature. But strictly it is appropriate to consider a fact as a static object and to
attribute some duration to an event. Additional distinction is that events can be nested.</p>
        <p>
          It is also known from BioNLP literature that events are typically characterized by verbs or
nominalized verbs in the text [
          <xref ref-type="bibr" rid="ref10 ref6">6, 10</xref>
          ]. This is roughly true because there exists a verb-centric
model of the meaning, according to which the meaning of the sentence is primarily reflected
by verbs. But in general, facts or events are identified by means of objects that are external to
the text.
        </p>
        <p>BioNLP Methods. All methods for solving BioNLP problems can be divided into two types:
methods that work at the level of individual words and sentences of the text, and methods that
use models that are external to the text. Such models include syntactic models, for example,
parse trees, as well as text semantics models. The methods working "inside" the text are typical
for the tasks of linguistics, where, for example, the peculiarities of the use of certain lexical
elements in the texts are studied.</p>
        <p>The tasks of information retrieval usually require the involvement of both types of methods.
For example, the solution of the NER problem described in the previous paragraph includes
three stages. The second and third stages of the solution involve the use of external data and
conceptual models.</p>
        <p>The extraction of the boundaries of the entity influence in the text is based on the linguistic
concept of context. A context is a region of text that surrounds selected elements of a sentence,
and is usually associated with a specific content of a fragment of text. The notion of formal
context used in FCA is not tied to specific boundaries in the text that significantly expands the
possibilities of text analysis, using this notion.</p>
        <p>
          Text Mining as general technique is applied in BioNLP systems. However, special approaches
and methods are being developed here [
          <xref ref-type="bibr" rid="ref2 ref8 ref9">2, 8, 9</xref>
          ].
        </p>
        <p>Statistical approach is the oldest one in BioNLP and has been applied as in the NER as in the
RE tasks. It is based on the idea that if the entities are repeatedly mentioned together, then
there is a greater chance that they may be related in some way. But the type and direction of
this relation cannot be determined by co-occurrence statistics only.</p>
        <p>
          Rule-based approach uses the linguistic patterns connected with particular relations. Unlike
the systems based on statistical term co-occurrences, rule-based approach demonstrates high
precision and low recall [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. The rules used for relation extraction can be manually defined by
domain experts, or they can be derived from annotated corpora by machine learning algorithms
        </p>
        <p>
          Classification-based approach together with Dictionary-based methods is also frequently used
to identify relations involving medical entities. Dictionaries, thesauri and ontologies constitute
the set of external resources which have been applied here [
          <xref ref-type="bibr" rid="ref21 ref22">21, 22</xref>
          ].
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Constructing Polyadic Formal Contexts</title>
      <p>Consider two approaches to building formal contexts on textual data: using keywords and
using n-grams based on conceptual graphs. These approaches are not depended on biomedical
data domain, they use features of any text but standard tasks of BioNLP.</p>
      <sec id="sec-5-1">
        <title>4.1. The Use of Keywords</title>
        <p>
          Keywords are a long-standing and frequently used tool in linguistics and Text Mining. They
are still used in modern models, for example, in the Word2Vec model [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] and in thematic
text representation models. They construct vectors containing the frequency of occurrence of
keywords in texts, which are compared using a proximity measure – often the cosine of the
angle between the vectors. Similar proximity measures are also used in text clustering tasks.
        </p>
        <p>Consider a formal context   = ( ,  ,  ) that is built using keywords. Let T be a set of
texts and W be a set of keywords. The context matrix is binary, with elements that reflect
the fact that keywords belong to certain texts. Each formal concept (A, B) in this context is a
combination of elements of sets T and W :  ⊆  ,  ⊆  . It reflects the division of texts into
subsets according to the occurrence of keyords. The set of formal concepts ⋃(  ,   ) forms a
lattice that defines the hierarchy of texts according with the presence keywords in them. This
solution to the text clustering problem is constructed without the use of traditional linguistic
proximity measures. The advantages of this clustering method compared to standard clustering
methods are the absence of the need to set the number of clusters in advance and the presence a
cluster hierarchy in the form of concept lattice. Compared to standard hierarchical clustering
methods, this method works faster because it does not require multiple calculations of the
proximity measure.</p>
        <p>The disadvantage of using keywords in formal context will be the appearance of a
“bag-ofwords” in clusters, because, regardless of the method of obtaining keywords from texts, they
are sets of words that are not related in meaning. If more than one text is included in the
concept, then, having “bag-of-words” in the concept, one can determine what word belongs to
what text only by referencing to the original formal context. So the problem of interpreting
results of clustering has no solution in this case.</p>
      </sec>
      <sec id="sec-5-2">
        <title>4.2. Preservation of Semantics in Formal Contexts</title>
        <p>To avoid “bag-of-words”, we need to apply in formal context the objects that reflect the
semantics of texts to some extent. These objects include n-grams, the sets of words in the form of
sequences that have a certain meaning.</p>
        <p>
          In this paper, we use n-grams extracted from texts by constructing conceptual graphs [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]
and corresponding to the Abstract Meaning Representation (AMR) of the text [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
        </p>
        <p>Conceptual graphs constitute semantic model of text that belongs to the class of semantic
networks. They play an important role as a conceptual modeling tool in the fields of
mathematical linguistics, bioinformatics, and mathematical logic.</p>
        <p>
          A conceptual graph is a finite oriented connected bipartite graph [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] which has two
different kinds of nodes: concepts and conceptual relations. Figure 1 shows a fragment of
conceptual graph for one of the sentences of the processed texts in our experiments together with
the marked elements of the AMR scheme. In the conceptual graph in Fig. 1 concepts are
represented by rectangles, and conceptual relationships are represented by ellipses. We used
conceptual graphs in a number of studies [
          <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
          ]. We obtain conceptual graphs similar to the
one shown in Fig. 1 using a method [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] which is based on the solution of the Semantic Role
Labeling problem [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. The algorithm of acquiring conceptual graphs from text has the following
main steps.
        </p>
        <p>1. Dividing the text into sentences.</p>
        <p>2. Dividing sentences into words, punctuation marks, and other symbols. Deleting stop
words.</p>
        <p>3. Determining morphological features of words in sentences.</p>
        <p>4. Defining semantic roles as conceptual relations in conceptual graph. At this stage,
lexicosemantic templates are used.</p>
        <p>5. Constructing conceptual graph visualization.</p>
        <p>
          The Abstract Meaning Representation of a text [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] is defined as a directed tree graph that
ifxes a certain concept in the text in such a way that sentences that have the same meaning
from the point of view of this concept have the same AMR graph. The AMR graph usually
corresponds to an AMR schema in the form of a phrase, for example: “who” – “what does” –
“with whom”. This scheme is three-element one. An AMR diagram can correspond to the entire
text or to individual sentences and may have various numbers of elements. There are several
approaches to building an AMR of a text.
        </p>
        <p>Using conceptual graphs allows one to build quite complex AMR schemata. An AMR scheme
is constructed as a tuple &lt;  1,  2, ...,   &gt;, the elements of which are the concepts of a conceptual
graph connected by conceptual relations corresponding to the meaning of the phrase of AMR
scheme. So for the AMR scheme “who”–“what does”–“with whom” such relations are the
wellknown semantic roles of “agent” and “patient”. In the Fig. 1, the elements of the “who”–“what
does”–“with whom” AMR scheme are marked, which is made up with the concepts &lt;“SHP-2”,
“attenuates”,“function” &gt;, together forming a meaningful phrase.</p>
        <p>Conceptual graphs allow us to define AMR schemes uniquely in the form of, in which the length
of the scheme n is equal to the number of conceptual graph concepts involved in constructing
the scheme. As a result, such n-grams constitute meaningful phrases.</p>
        <p>A polyadic formal context based on AMR schemata is constructed as follows.
1. A conceptual graph is constructed for each sentence of the processed text.
2. A specific AMR schema is created based on the elements of the conceptual graph.
3. The formal context is constructed as a multidimensional tensor. Its points  ,,..., = {  ,   , ...  }
are the elements   ,  = 1, 2, ...,  of the AMR scheme for each sentence, N – the total number
of concepts obtained on the processed text.</p>
        <p>The number of points in the formal context matches the number of AMR schemata found in
the text.</p>
        <p>The vast majority of points in the formal context are meaningful phrases, which is an
important feature of this method.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Experimental studies</title>
      <p>Experimental studies of the developed approach were performed on the texts of the Active Gene
Annotation Corpus (AGAC), which contains abstracts of scientific articles on the biomedical
topics of the PubMed system. The corpus was created for the BioNLP Shared Tasks 2019
competition and was ofered as a data set for NER and RE extraction tasks. The corpus contains
1000 unprocessed abstracts, and its size is about 300,000 tokens.</p>
      <p>The considered approach to clustering using formal contexts was applied in the task of
studying the interrelations of texts.</p>
      <sec id="sec-6-1">
        <title>5.1. Clustering using keywords</title>
        <p>The first variant of clustering was performed using keywords. The experiment included the
following stages.</p>
        <p>1. Finding keywords in the set of texts.</p>
        <p>2. Constructing formal context  = (,  , 
of keywords.</p>
        <p>) where G is the set of text names, M is the set
3. Generating concept lattice for the context being used.
4. Comparing results of clustering with the standard k-means clustering.</p>
        <p>Options for limiting the number of keywords in the range from 5 to 20 words were studied.</p>
        <p>As a result the following regularity is obtained. Increasing the number of keywords leads
to appearing more links between texts. The link configuration in the concept lattice has a
hierarchy that allows one to evaluate the generality/particularity of texts in terms of their
keywords.</p>
        <p>In order to avoid bulky presentation, we will limit it to presenting results for five texts.
Figures. 2.2 a,b show in the form of concept lattices the examples of clustering constructed for
ifve texts and two sets of 5 and 20 keywords. The figures show the increasing the number of
links between texts depending on the number of keywords: concept lattice on the Fig. 2.2 b) is
more multilinked than one on the Fig. 2.2 a).</p>
        <p>a)
b)</p>
        <p>Formal concepts in both lattices contain “bag-of-words”. So for solving the task of NER
additional analysis of words belonging to formal concepts is required. The task of relation
extraction (RE) has general solution acquired from the lattices demonstrating how texts are
linked by keywords.</p>
        <p>Comparing with k-means clustering. As it is known, k-means clustering method produces as
many clusters as the k-variable specifies. In our example   = 1,   = 5. The formal context
on the Fig. 3 demonstrates what words belong to what texts.</p>
        <p>It is clear from the context that all five variants of clustering are possible. The concept lattice
in figure 2.2. b) also shows all possible variants of clustering.</p>
        <p>Indeed, the five concepts in figure 2.2 b) that have text names in light rectangles make up
ifve clusters. Next, we see that, for example, two concepts with the names of texts
PubMed28507206.txt and PubMed-28488085.txt can form a single cluster if we take into account their
common keyword intracranial, located higher in the lattice. This principle of fixing clusters is
applied to the whole concept lattice: moving up the lattice, we add keywords to the concepts
in the next node, leaving unchanged the text names that were in the lower nodes.</p>
        <p>Thus, the FCA clustering with the use of keywords demonstrates the advantage over
kmeans clustering: FCA clustering potentially reveals all variants of clustering.</p>
      </sec>
      <sec id="sec-6-2">
        <title>5.2. Clustering using polyadic formal contexts</title>
        <p>
          In the next experiments, formal contexts constructed using n-grams, as it is described in
Section 4.2 were also studied. Three-, four-, and five-element n-grams were used, which are
constructed according to the conceptual graphs and correspond to AMR schemata. Fig. 4 shows
ifve-element AMR scheme which was used to construct the formal context. Formal contexts
obtained on such n-grams are n-dimensional tensors whose points are combinations of words
that have a certain meaning. FCA clustering of such contexts is possible by known FCA
algorithms, for example OAC [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] or Data Peeler [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] ones. However, such clustering will again
lead to the appearance of “bag-of-words” in clusters. In fact, if a point  ,,...,
= {  ,   , ...,   } in
a formal context falls into a cluster, its elements (words) are combined into subsets with words
from other points, forming the following cluster structure:
 = {{  , ...,   }, ..., {  , ...,   }}
⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟

(3)
        </p>
        <p>In expression (3), the sublists contain “bag-of-words”, n is the length of the n-gram.
Therefore, instead of the standard FCA clustering, a diferent version of clustering was used, focused
on application in question-answering systems. In such systems, the formal context is the basis
of the information resource that the system users access. User queries are texts in the form of
phrases that may correspond to AMR schemes. To process such queries, the structure of an
n-dimensional formal context is transformed into a set of associations.</p>
        <p>An Association is a set of points of formal context ordered relative to the selected position of the
AMR scheme. This corresponds to the logic of the AMR scheme: associations combine certain
semantic elements in it. The Association includes all words in the selected position of the
AMR scheme. Therefore, an Association is a cluster built on the basis of the proximity measure
“belong to position of the AMR scheme as a certain grammatical element of a sentence”. On
the other hand, Association is a function  ( 1, ...,   ) whose argument can be a given word or
a set of p words belonging to the k–th position of the AMR scheme.</p>
        <p>Associative queries are made to associations – queries that fix one of the variables  1, ...,   .
Responses to such queries contain data belonging to points in the formal context according
with semantic meanings of the variable words  1, ...,   . The use of associations allows to avoid
“bag-of-word” in text processing.</p>
        <p>The experiments included the following stages.
1. Building associations based on the selected positions of the formal context AMR scheme.
2. Creating queries to associations based on keywords that interest the user.
3. Getting query results as clusters containing points in the formal context.
4. Interpretation of the clusters.</p>
        <p>Fig. 5 shows a fragment of the association built for the second position (Concept_1) of the
AMR scheme on the Fig. 4, in which the keyword “mutation” is highlighted. The natural
numbers in the Association lists are the numbers of the texts that AMR schemata are based
on. Most of the corpus texts are devoted to the study of various manifestations of mutation
and its impact on organisms. Therefore, queries to associations were made using the keyword
“mutation”. The query results are clusters that were also used for building nested associations.</p>
        <p>The question that determines further actions with the resulting clusters is: How does the
mutation manifest itself?. Implementation of this query on clusters was performed by building
associations relative to the fourth position for the five-element AMR scheme. The keywords
and text numbers obtained in the constructed associations were then presented for analysis.
The answers to the queries of the associations are generated in table form. If the result of a
query to associations for two elements is presented as a cross-table, it is interpreted as a
twodimensional formal context. In this case, it can be visualized as a concept lattice according to
the classic FCA.</p>
        <p>Fig. 6 shows classical concept lattice based on the results of a query to associ-ations for two
elements.</p>
        <p>The lattice in Fig. 6 allows one to evaluate the relationships of texts in the context of the
word "mutation" and by using the words used in the texts, marked in colored rectangles that
are attributes of text objects according to FCA. Some lattice concepts are related hierarchically
- these are concepts that include texts 95, 97, 51, 138, and 231. When using standard FCA
clustering, the data that makes up such hierarchically related concepts would generate
“bagof-word” in clusters. The use of associations and further visualization them in the form of a
concept lattice allows one to correctly investigate the relationship between texts.</p>
        <p>Using this kind of clustering, the solution to the Named Entity Recognition (NER) and
Relationship Extraction (RE) tasks becomes more defined. These tasks may be solved with the
use of corresponding associations. Associations that are built related to the “who” and “with
whom” elements of AMR scheme are the most suitable for the NER task and for the RE task the
element “verb” of AMR scheme together with the “who” and “with whom” elements is suitable
too.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>6. Related Work</title>
      <p>
        As it was mentioned previously this work relates to two areas of FCA and BioNLP, where
there is a significant number of works devoted to text analysis and clustering. There are not
many works devoted to text analysis among them. The work [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] contains a description of
the general FCA approach to the problems of linguistics. Other works, for example, work [24],
are devoted to solving individual problems there. Our work difers in that it uses a special
formal context, which is constructed using n-grams that have a semantic meaning. The use of
n-grams is common in text analysis, but the use of conceptual graphs for this purpose and the
production of meaningful n-grams, respectively, is not described in the works.
      </p>
      <p>
        FCA establishes its own approach to clustering based on flat and polyadic formal contexts
and supported by various algorithms of constructing concept lattices [
        <xref ref-type="bibr" rid="ref11 ref12 ref7">7, 11, 12</xref>
        ]. Review [25]
contains descriptions of almost all FCA models and methods.
      </p>
      <p>
        Another approach to clustering, often applied in text analysis, is based on the use of vector
models Word2Vec, Doc2Vec, etc. [
        <xref ref-type="bibr" rid="ref14">14, 26</xref>
        ]. They construct vectors containing the frequency of
occurrence of keywords in texts, which are compared using a proximity measure – often the
cosine of the angle between the vectors. FCA clustering has the advantage of not requiring an
Euclidean proximity measure of objects being clustered. The clustering used in this work is
distinguished by the fact that it has “semantic coloring”. Associations are built in such a way
that they reveal the contents of data, fixing their topic in the form of the semantic position of
the AMR scheme.
      </p>
      <p>Abstract Meaning Representation is applied in BioNLP works, for example, in [27], where
this method is used to extract combinations of words interpreted as events. This paper develops
this approach towards application it in question-answering systems.</p>
    </sec>
    <sec id="sec-8">
      <title>7. Conclusion</title>
      <p>This paper describes a method for clustering multidimensional formal contexts built on natural
language tests. The method uses conceptual graphs as data source for AMR schemes. It should
be noted that the use of conceptual graphs allows building AMR schemata of greater length
than those considered in the paper. This will allow one to implement multidimensional formal
contexts that reflect the content of the modelled text more fully and, accordingly, extract more
complete information from it. This method can be used in question-answering systems where
queries in natural language correspond to the logic of AMR schemes.</p>
      <p>The method for constructing formal contexts on textual data, in which n-grams are obtained
from conceptual graphs and correspond to the model of abstract meaning representation of the
text is proposed.</p>
      <p>The novelty of the work is as follows. First, we applied a special type of formal context based
on the use of n-grams. Second, conceptual graphs are used to extract meaningful n-grams from
the text. Third, non-standard clustering in the form of building associations is used to avoid
“bag-of-words” as a result of texts clustering.</p>
      <p>The future of this work is oriented to realization its results in prototype of question-answering
system.</p>
    </sec>
    <sec id="sec-9">
      <title>Acknowledgments</title>
      <p>The reported study was funded by Russian Foundation of Basic Research according to research
project № 19-07-01178 and RFBR and Tula Region according to research project №
19-47710007.
Wille (eds.), Formal Concept Analysis, Foundations and Applications.
SpringerVerlag. LNAI 3626. 2005
[24] Falk, I., Gardent, C.: Combining Formal Concept Analysis and Translation to Assign
Frames and Thematic Grids to French Verbs. In: Napoli, A., Vychodil, V. (eds.): CLA
2011. INRIA Nancy Grand Est and LORIA. 2011.
[25] Poelmans J., Kuznetsov S., Ignatov D. I., Dedene G. Formal Concept Analysis in
knowledge processing: A survey on models and techniques // Expert Systems with
Applications. Vol. 40. No. 16. 2013.
[26] Clark, S.: Vector Space Models of Lexical Meaning. In: Lappin, Sh., Fox, Ch. (eds.) The
Handbook of Contemporary Semantic Theory, pp. 493-522. Blackwell Publishing,
Ltd. 2015.
[27] Sudha Rao, Daniel Marcu, Kevin Knight, Hal Daum´e III. Biomedical Event
Extraction using Abstract Meaning Representation. //Proc. of the BioNLP 2017 workshop,
Vancouver, Canada, August 4, 2017.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Ganter</surname>
          </string-name>
          , Bernhard; Stumme, Gerd; Wille, Rudolf.
          <source>Formal Concept Analysis: Foundations and Applications. Lecture Notes in Artificial Intelligence</source>
          , No. 3626,
          <string-name>
            <surname>SpringerVerlag</surname>
          </string-name>
          . Berlin.
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Ananiadou</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pyysalo</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tsujii</surname>
            , J. and
            <given-names>D. B.</given-names>
          </string-name>
          <string-name>
            <surname>Kell</surname>
          </string-name>
          .
          <article-title>Event extraction for systems biology by text mining the literature</article-title>
          . // Trends in Biotechnology, Vol.
          <volume>28</volume>
          . No 7.
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Bogatyrev</surname>
            ,
            <given-names>M.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mitrofanova</surname>
            ,
            <given-names>O.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tuhtin</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          <string-name>
            <surname>Building</surname>
          </string-name>
          <article-title>Conceptual Graphs for Articles Abstracts in Digital Libraries</article-title>
          .
          <source>In: Proceedings of the Conceptual Structures Tool Interoperability Workshop (CS-TIW 2009) at 17th International Conference on Conceptual Structures (ICCS'09)</source>
          , pp.
          <fpage>50</fpage>
          -
          <lpage>57</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Bogatyrev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>Fact Extraction from Natural Language Texts with Conceptual Modeling</article-title>
          . // Communications in Computer and Information Science. Vol.
          <volume>706</volume>
          . Springer-Verlag,
          <year>2017</year>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Gildea</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jurafsky</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Automatic Labeling of Semantic Roles</article-title>
          .
          <source>In: Computational Linguistics</source>
          ,
          <year>2002</year>
          , vol.
          <volume>28</volume>
          .
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Bos</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <source>Expressive Power of Abstract Meaning Representations, Computational Linguistics</source>
          <volume>42</volume>
          (
          <issue>3</issue>
          ),
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Cerf</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Besson</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Robardet</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Boulicaut</surname>
            ,
            <given-names>J. F.</given-names>
          </string-name>
          <article-title>Closed patterns meet n-ary relations</article-title>
          . //ACM Trans.
          <source>Knowl. Discov. Data. 3</source>
          ,
          <issue>1</issue>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>K. B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Demner-Fushman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Biomedical Natural Language Processing</article-title>
          . John Benjamins Publishing Company,
          <year>Philadelphia 2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Demner-Fushman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ananiadou</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Tsujii</surname>
          </string-name>
          ,
          <source>J. Proceedings of the 18th BioNLP Workshop</source>
          and Shared Task.
          <source>Association for Computational Linguistics</source>
          .
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Hartigan</surname>
            <given-names>J A</given-names>
          </string-name>
          .
          <article-title>Direct clustering of a data matrix</article-title>
          . // Journal of the American statistical association, Vol.
          <volume>67</volume>
          , no.
          <issue>337</issue>
          .
          <year>1972</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Ignatov</surname>
            <given-names>D. I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kuznetsov</surname>
            <given-names>S. O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhukov</surname>
            <given-names>L. E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poelmans</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <source>Can triconcepts become triclusters? // International Journal of General Systems</source>
          , Vol.
          <volume>42</volume>
          . No.
          <issue>6</issue>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Ignatov</surname>
            <given-names>D. I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gnatyshak</surname>
            <given-names>D. V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sergei</surname>
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Kuznetsov</surname>
          </string-name>
          , Boris G.
          <article-title>Mirkin, Triadic Formal Concept Analysis and triclustering: searching for optimal patterns</article-title>
          .
          <source>In: Machine Learning</source>
          , April,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Medical</given-names>
            <surname>Subject Headings</surname>
          </string-name>
          , https://www.nlm.nih.gov/mesh/meshhome.html
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>K</given-names>
          </string-name>
          , Corrado,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Dean</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.</surname>
          </string-name>
          <article-title>Eficient estimation of word representations in vector space</article-title>
          .
          <source>In: arXiv preprint arXiv:1301.3781</source>
          .
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Poelmans</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ignatov</surname>
            <given-names>D. I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kuznetsov</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dedene</surname>
            <given-names>G</given-names>
          </string-name>
          .
          <article-title>Formal concept analysis in knowledge processing: A survey on applications // Expert Systems with Applications</article-title>
          .
          <year>2013</year>
          . Vol.
          <volume>40</volume>
          . No.
          <volume>16</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Simpson</surname>
            <given-names>M.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Demner-Fushman</surname>
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Biomedical Text Mining: A Survey of Recent Progress</article-title>
          . In: Charu C.
          <article-title>Aggarwal</article-title>
          and ChengXiang Zhai, Editors.
          <source>Mining Text Data</source>
          . Springer.
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Sowa</surname>
            ,
            <given-names>J.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Knowledge</surname>
            <given-names>Representation</given-names>
          </string-name>
          : Logical, Philosophical, and Computational Foundations, Brooks Cole Publishing Co., Pacific Grove, CA.
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <fpage>18</fpage>
          .
          <string-name>
            <surname>Unified Medical Language System</surname>
          </string-name>
          , https://www.nlm.nih.gov/research/umls/
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Voutsadakis</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <article-title>Polyadic concept analysis</article-title>
          .
          <source>- Order</source>
          . Vol.
          <volume>19</volume>
          (
          <issue>3</issue>
          ).
          <fpage>2000</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>[20] U.S. National Library of Medicine, http://www.ncbi.nlm.nih.gov/pubmed</mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <article-title>Biomedical natural language processing</article-title>
          . Tools and resources, http://bio.nlplab.org
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <article-title>MetaMap, a Tool For Recognizing UMLS Concepts in Text</article-title>
          , https://metamap.nlm.nih.gov
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <surname>Priss</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <article-title>Linguistic Applications of Formal Concept Analysis</article-title>
          . In: Ganter; Stumme;
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>