<!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>Context-dependent Lexical and Syntactic Disambiguation in Ontology Population ?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Natalia Garanina</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Elena Sidorova</string-name>
          <email>lsidorovag@iis.nsk.su</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>A.P. Ershov Institute of Informatics Systems</institution>
          ,
          <addr-line>Lavrent'ev av., 6, Novosibirsk 630090</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We suggest an approach to resolution of context-dependent lexical and syntactic ambiguity in a framework of ontology population from natural language texts. We show that a set of maximally determined ontology instances can be represented as a Scott information system with an entailment relation as a collection of information connections. Moreover, consistent primary lexical instances form FCA-concepts. These representations are used to justify correctness of lexical disambiguation and to de ne syntactic ambiguity and its resolution. This information system generates a multi-agent system in which agents resolve the ambiguity of both types.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Ontological databases are currently widely used for storing information obtained
from a great number of sources. To complete such ontologies, formalisms and
methods that allow one to automate the process are developed. Features of
automatic information retrieval cause ontology population ambiguities. In
linguistics several kinds of ambiguities are considered: lexical, syntactic, semantic, and
pragmatic [2]. In a process of ontology population from natural language texts we
use our algorithms [5] in which the following ambiguity types appear: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) several
ontology instances or data attributes correspond to the same text fragment, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
some value is incorrectly assigned to some attribute of some instance, (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) some
value is incorrectly assigned to attributes of several instances, (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) some value is
incorrectly assigned to several attributes of some instance, (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) several values are
assigned to one-valued attribute of some instance. The rst type corresponds
to lexical ambiguity, and other types are syntactic ambiguity. An algorithm
for lexical disambiguation was represented in [6]. In this work we suggest the
modi ed algorithm for resolving lexical ambiguity, a new algorithm for syntactic
disambiguation, and we justify the correctness of both of them.
      </p>
      <p>In [6] we demonstrated that the process of retrieval of information in a form
of a set of ontology instances can be presented as a Scott information system [13].</p>
      <p>This process produces maximally determined instances for ontology population.
In this paper we prove that consistent sets of instances and lexical objects which
values assign attributes of these instances form FCA concepts [3]. This fact
grantees that information states of ambiguous con icting agents do not intersect.
This implies correctness of lexical disambiguation.</p>
      <p>Besides, now we use a representation of ontologies which does not consider
ontology relations as special structures. Only classes are allowed in these ontologies,
and relations are represented as special attributes of classes. Well-known
ontology representation language OWL uses the notation of this kind. This
representation is a good solution for speci cation of polyadic relations. Our algorithms for
ontology population are simpler with this representation because class and
relation instances are packed in the same item.</p>
      <p>Automatic techniques of disambiguation usually do not use an input data
context in full. This can lead to incomplete and incorrect ambiguity resolution
[1, 9, 8, 7]. Our approach tries to ease these drawbacks. For disambiguation we
use a distributed approach. Every retrieved instance is related to agent. These
agents detect and resolve ambiguities with help of a special master agent. This
approach takes polynomial time for disambiguation.</p>
      <p>The rest of the paper is organized as follows. In Section 2, an approach
to ontology population in the framework of information systems is discussed.
Section 3 describes lexical and syntactic disambiguation in terms of the system
de ned in the previous section. The next Section 4, gives de nitions for a
multiagent system of context-dependent ambiguity resolution. Section 5 informally
describes agents of our systems, their action protocols, and the main con ict
resolution algorithm. In the concluding Section 6, directions of future researches
are discussed.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Scott Information Systems in Ontology Population</title>
      <p>
        Let we be given an ontology of a subject domain, the ontology population rules,
semantic and syntactic model for a sublanguage of the subject domain and a
data format, and input data as a nite natural language text with information
for population of the ontology. We consider ontology O of a subject domain
which includes (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) nite nonempty set CO of classes for concepts of the subject
domain, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) a nite set of attributes with names in DatO [ RelO, each of which
has values in some data domain (data attributes in DatO) or is some instance
of the ontology (relation attributes in RelO, which model relations), and (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
nite set DO of data types. Every class c 2 CO is de ned by a tuple of typed
attributes: c = (Datc; Relc), where every data attribute 2 Datc DatO has
type d 2 DO with values in Vd and every relation attribute 2 Relc RelO
is of class c 2 CO. Let a set of all values of all attribute be VO = [d 2DO Vd .
Information content ICO of ontology O is a set of class instances, where every
instance a 2 ICO is of form (ca; Data; Rela), where ca is a class of the instance,
every data attribute in Data has name 2 Datca with value(s) in Vd and
every relation attribute in Rela has name 2 Relca with a value as an instance
of class c . Ontology population problem is to compute an information content for
a given ontology from given input data. Input data for the ontology population
process are natural language texts. These data are nite and our algorithms of
ontology-oriented text analysis can generate a nite set of ontology instances [5].
Finiteness of the set is guaranteed by prohibition for the rules from generating
in nite information items by one position. We suggest to consider this process
of forming ontology instances as work with Scott information systems. A Scott
information system T is a triple (T; Con; `), where
{ T is a set of tokens and F in(T ) is a set of nite subsets;
{ Con is a consistency predicate such that Con F in(T ), and
1. Y 2 Con and X Y ) X 2 Con,
2. a 2 T ) fag 2 Con;
{ ` is an entailment relation such that ` Con n f;g T and
3. X ` a ) X [ fag 2 Con,
4. X 2 Con and a 2 X ) X ` a,
5. 8b 2 Y : X ` b and Y ` c ) X ` c.
      </p>
      <p>The information retrieval system based on an ontology, nite input data,
and rules of the ontology population and the data processing is de ned as a
triple R = (A; Con; `). Set of tokens A consists of a set of all (underdetermined)
ontology p-instances formed by the rules in the determination process of initial
p-instances which are retrieved from an input text by the special preprocess.
Every p-instances a 2 A has form (ca; Data; Rela; Pa), where
{ class ca 2 CO, and
{ every data p-attribute a 2 Data is of form ( ; IV ), where
{ name 2 Datca , where
{ its information values v 2 IV has form (vv; gv; sv) with
{ data value vv 2 d , a set of all values of is V al a = fvv j v 2 IV g,
{ gv is grammar information (morphological and syntactic features), and
{ sv is structural information (position in input data);
{ every relation p-attribute a 2 Rela is of form ( ; O a ), where
{ a name 2 Relca , and
{ every o 2 O a has form (o; po), where
{ o is an instance of class c a , and
{ po 2 Po is its position,
{ a set of all relation objects of a is O(Rela) = fag [ a2Rela fojo 2 O a g;
{ Pa is structural information (a set of positions in input data).
We consider a special set of tokens: a set of lexical objects LO corresponding
to values of data attributes retrieved from input data. Every lexical object is
a p-instance which has only a single data attribute with a single information
value. P-instances correspond to ontology instances in a natural way. Let a =
(ca; Data; Rela; pa) be p-instance, then its corresponding ontology instance is
a0 = (ca; Data0 ; Rela0 ), where every 2 Data0 has value(s) in V al a and every
2 Rela0 has value o with (o; po) 2 O a . Further we omit pre x \p-" if there is
no ambiguity. An information order relation is de ned on ontology instances.
Let a; a0 2 A: a a0, if a = a0 everywhere except for at least one attribute, with
the number of values of this attribute in a being strictly less than that in a0. For
x; x0 2 A: if x x0, then x0 is information extension of x.</p>
      <p>Rules of ontology population and data processing Rules = frule1; : : : ; ruleng
map nite sets of instances of ontology classes to an instance which is an
informational extension of some instance of the domain set or a new instance. This
sets must be linguistically and ontologically compatible: speci ed sets of their
attributes and some instances have to satisfy conditions on values, grammatical
and structural information [10]:
rulei : Domi 7! A, Domi 2A, such that
8X 2 Domi : LingConsi([x02X Datx0 [ Relx0 ) = true ^ 8x0 2 X : cx0 2 Classi,
where predicate LingConsi and set of classes Classi CO detect linguistic
and ontological compatibility of the instance set, correspondingly. Let for X 2
Domi; x 2 A:
rulei(X) = x i ((9y 2 X : y x^cx = cy)_(8y 2 X : y x^cx = geni(X)))^
(Datx = ; _ Datx = [ ( ; [f(fi(V ); gi(V ); si(V )) j
9Y X : dat \y2Y Daty ^ V = [ 2dat fvjv 2 IV gg)) ^</p>
      <p>(Relx = ; _ 8o 2 O(Relx) : o 2 X [y2X O(Rely)),
where geni(X) generates a new class for a new instance, fi(V ) produces a value
based on values in (V ) for an attribute of instance x, and gi(V ) and si(V ) inherit
grammatical and structural information from set of information values V .</p>
      <p>Consistency predicate Con and entailment relation ` correspond to the rules
of ontology population and data processing. Let x; x0 2 A and X A. The
entailment relation connects informationally associated tokens:
{ X ` x, i x 2 X, or x 2= X ^</p>
      <p>((9X0 X; X00 A; rulei 2 Rules : rulei(X0 [ X00) = x) _
(9x0 2 A; X00 A; rulei 2 Rules : X ` x0 ^ rulei(fx0g [ X00) = x)),
i.e. instance x is entailed from X, if it is in this set, or information from tokens
of this set is used for evaluating attributes of x.</p>
      <p>The consistency predicate de nes informationally consistent sets of tokens:
{ X 2 Con, i for some rulei 2 Rules holds 8X0 X([x02X0 cx Classi) )
(9x 2 A; X00 A : rulei(X0 [ X00) = x), i.e. if there exists some rule which can
nd in a set of tokens some instances satisfying its class compatibility then these
instances should be consistent with some other set of tokens with respect to the
rule. Class compatible, but linguistically incompatible sets cannot be processed
by rules, hence we do not consider them consistent.</p>
      <p>Let us prove the following theorem for the system R:
Theorem 1. Triple R = (A; Con; `) is a Scott information system.
Proof. Let us show that the consistency predicate Con and the entailment
relation ` satisfy properties 1{5 of information systems.</p>
      <p>1. Y 2 Con and X Y ) X 2 Con. This fact follows from the de nition
of the consistency predicate directly because the condition of de nition should
hold for every subset of a consistent set.</p>
      <p>2. a 2 A ) fag 2 Con. By the de nition for every rulei 2 Rules the class
of a is not included in Classi or single fag can be complemented by some set of
tokens in such a way that the rulei produces a new token.</p>
      <p>Proposition 1. Information retrieval process of ontology population terminates.</p>
      <p>For token x 2 A: x" = fxg [ fx0 j x x0g and x# = fxg [ fx0 j x0 xg
are upper and down cones of x. Let a set of maximally determined instances
(maximal instances or tokens), which is the result of the analysis of input data,
be A" = fx 2 A j x" = fxgg. These instances may populate an ontology.
Obviously,
Proposition 2. Triple I = (A"; Con; `) is a Scott information system.</p>
      <p>An information descendants of token a 2 A" are all maximal tokens (all
information) that can be obtained from this token by the entailment relation:
Ds(a) = fx 2 A"jfag ` xg. An information ancestors of token a 2 A" are all
maximal tokens from which a can be obtained: An(a) = fx 2 A"jfxg ` ag.
In our framework for lexical objects the following equality holds: An(a) = fag
because ontology instances are based on retrieved lexical objects. Information
descendants are a particular case of Scott information states [14]. Like in the
cited paper, we show that tokens from LO and their information descendants
form a concept lattice.</p>
      <p>Proposition 3. Consistent sets of lexical objects form FCA concepts. Every
consistent set of instances is a base for FCA concepts.</p>
      <p>Proof. Let every set x of information descendants of LO be an object, and
every l 2 LO be an attribute. Lexical object l is an attribute of x i l 2 x.
The extension of a set of attributes L LO is the set L0 = fxjL xg and
the intension of L0 is the set flj8x 2 L0; l 2 xg. L is a concept i the condition
on the intension of the extension of L holds: L = flj8x 2 L0; l 2 xg i L is an
information state of information system I i L is a consistent set. The intension
of a set of infostates X is the set X0 = flj8x 2 X; l 2 xg and the extension of X0
is the set fxjX0 xg. X is a concept i the condition on the extension of the
intension of X holds: X = fxjX0 xg i a set of all instances in set of infostates
X forms an infostate too: Xi = fa j a 2 x 2 Xg, hence Xi is a consistent set.
Hence every consistent set of instances is a base for FCA concepts.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Ambiguity and Resolution</title>
      <p>
        (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Lexical ambiguity.
      </p>
      <p>Let l; l0 2 LO be in a con ict l ! l0 i s(l) \ s(l0) 6= ;. Let set AmbLO
be a set of con ict lexical objects and Lex be a set of their descendants. We
consider that rules in Rules cannot generate instances which include inconsistent
information. I.e. for every rulei 2 Rules holds 8X 2 Domi; a; a0 2 X; l; l0 2
An(a) \ An(a0) \ LO : :(l ! l0). Hence for lexical objects l and l0 in con ict:
Ds(l) \ Ds(l0) = ;.</p>
      <p>
        For the lexical disambiguation of two con icting lexical objects we prefer a
lexical object which is more incorporated in an input text than its competitor.
For l; l0 2 LO if jDes(l)j &gt; jDes(l0)j we take l for evaluating attributes of
ontology instances and ignore l0.
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Syntactic ambiguity.
      </p>
      <p>Detection of syntactic ambiguity frequently requires analysis of homogeneous
groups. Syntactic ambiguity is de ned for ontology instances, not for lexical
objects. Our types of syntactic ambiguity can depend on an ontology speci cation,
hence here we consider syntactic-semantic ambiguity really. We omit \-semantic"
for the brevity. Syntactic ambiguity usually can be expressed by corresponding
single lexical object to several ontology items in various ways. For
disambiguation it is necessary to nd in an input text an evidence of correctness of the
correspondence. This could be performed using the following inequalities.</p>
      <p>
        For every instance a and its data attribute 2 Data a set of information
values equal to v 2 d is EQ(a; ; v) = fv 2 IV j vv = vg. For every instance
a and its relation attribute 2 Rela a set of relation objects with an instance
equal to e 2 c a is EQ(a; ; e) = f(o; po) 2 O j o = eg. A power of these
sets is an evidence power. A triple (a; ; v) denotes information value v 2 IV
of data attribute 2 Data of instance a. A couple (a; ) denotes a value of
relation attribute 2 Rela of instance a. A set of information values which e ects
on (a; ; v) is V (a; ; v) = f(c; ; w) j 9rulei 2 Rules; X A" : rulei(X) =
a ^ c 2 X ^ 2 dat \ Datc ^ w 2 IV ^ v = (f (V ); g(V ); s(V ))g. A set of
instances which e ects on (a; ) is I(a; ) = fe 2 A" j 9rule 2 Rules; X A" :
rule(X) = a ^ e 2 X ^ O \ O(Rele) 6= ;g. Now we de ne a method of syntactic
disambiguation.
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Some value is incorrectly assigned to some attribute of an instance (Synt11).
An example: \The old men and women sat on the bench." The women may
or may not be old. Hence, attribute \age" of instance \women" may not has
value \old". Let a set of instances with ambiguity of this type be denoted as
Synt11. Let in instance a information value (c; ; w) e ect on (a; ; v): (c; ; w) 2
V (a; ; v). Then in a case of the ambiguity, (c; ; w) is declared as e ecting
on (a; ; v) i jEQ(a; ; vv)j &gt; 1. Let in instance a instance e e ect on (a; ):
e 2 I(a; ). Then in a case of the ambiguity instance e is declared as e ecting
on (a; ) i jEQ(a; ; e)j &gt; 1.
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Some value is incorrectly assigned to attributes of several instances (Synt12).
An example: \Someone shot the maid of the actress who was on the balcony."
Either the actress or the maid was on the balcony. Hence, either attribute \place"
of instance \actress" or attribute \place" of instance \maid" may has value
\balcony". Let a set of instances with ambiguity of this type be denoted as
Synt12. Let in instances a and b information value (c; ; w) e ect on (a; ; v)
and (b; ; u): (c; ; w) 2 V (a; ; v) \ V (b; ; u). Then in a case of the ambiguity
(c; ; w) is declared as e ecting on (a; ; v) and not on (b; ; u) i jEQ(a; ; vv)j &gt;
jEQ(b; ; u)j. Let in instances a and b instance e e ect on (a; ) and (b; o): e 2
I(a; )\I(b; o). Then in a case of the ambiguity instance e is declared as e ecting
on (a; ) and not on (b; o) i jEQ(a; ; e)j &gt; jEQ(b; o; e)j.
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) A value is incorrectly assigned to several attributes of an instance (Synt112).
An example: \Cuban jazz band." A group of Cuban musicians performing jazz
music or a group of musicians performing Cuban jazz. Hence, attribute \country"
or attribute \style" of instance \band" may has value \Cuban". Let a set of
instances with ambiguity of this type be denoted as Synt112. Let in instance a
information value (c; ; w) e ect on (a; ; v) and (a; ; u): (c; ; w) 2 V (a; ; v) \
V (a; ; u). Then in a case of the ambiguity (c; ; w) is declared as e ecting on
(a; ; v) and not on (a; ; u) i jEQ(a; ; vv)j &gt; jEQ(a; ; vu)j. Let in instance
a instance e e ect on (a; ) and (a; o): e 2 I(a; ) \ I(a; o). Then in a case of
the ambiguity instance e is declared as e ecting on (a; ) and not on (a; o) i
jEQ(a; ; e)j &gt; jEQ(a; o; e)j.
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) Several values are assigned to one-valued attribute of an instance (Synt211).
An example: \Shakespeare is an author of the piece." A gender of Shakespeare
may be either male or female. Hence, one-valued attribute \gender" of instance
\person" may has value either \male" or \female". Let a set of instances with
ambiguity of this type be denoted as Synt211. Let in instance a information
values (b; ; u) and (c; ; w) e ect on (a; ; v) and (a; ; v0), respectively: (b; ; u) 2
V (a; ; v) and (c; ; w) 2 V (a; ; v0). Then in a case of the ambiguity (b; ; u)
is declared as e ecting on (a; ; v), and (c; ; w) is declared as not e ecting
on i jEQ(a; ; vv)j &gt; jEQ(a; ; vv0 )j. Let in instance a instance e and e0
e ect on (a; ): e; e0 2 I(a; ). Then in a case of the ambiguity instance e is
declared as e ecting on (a; ), and e0 is declared as not e ecting on (a; ) i
jEQ(a; ; e)j &gt; jEQ(a; ; e0)j.
      </p>
      <p>In a case of equalities of evidence powers the con ict is not resolved. We
consider systems in which all these ambiguities are independent, i.e. pairwise
intersections of sets Lex, Synt11, Synt12, Synt112 and Synt211 are empty.
Informal description of action protocols for instance agents presents resolution
of independent lexical and syntactic ambiguities. These protocols work correctly
if resolution of references and detection of syntactic ambiguities are correct.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Multi-agent Ambiguity Resolution</title>
      <p>Let a set of lexical objects which e ect on some information value of data
attribute of instance a be L(a; ) = fl 2 LO j 9rulei 2 Rules; X A" :
rulei(X) = a ^ (9x 2 X : x 2 Ds(l) ^ (9 2 dat \ Datx : l 2 L(x; )))g.
For every x 2= A", the corresponding maximally determined instance is x~ such
that x~ 2 A" ^ x x~. Entailment relation ` generates information connections
between maximally determined instances. Let X ` x and y 2 X ^ y 2= x#. Then
{ information connections between y~ and x~ are</p>
      <p>{ y~ !~! x~ i (9 2 Datx; 2 Daty : ! 2 L(x; ) \ L(y; )) _ (! 2
O(Relx) \ O(Rely)
{ of updating type y~ !~!u x~ i 9x0 2 X : x0 x,
{ of generating type y~ !~!g x~ i @x0 2 X : x0 x.</p>
      <p>An information system of information retrieval R generates a multi-agent
system with typed connections. Agents of the system resolve the ambiguities
by computing and comparing the context cardinalities and evidence powers.
Information system (A; Con; `) generates Multi-agent System of Ambiguity
Resolution (MASAR) as a tuple S = (A; C; I; T ), where</p>
      <p>{ A = fax j x 2 A"g is a nite set of agents corresponded to maximally
determined instances;</p>
      <p>!~
{ C = f!~ j 9x; y 2 A : x~ ! y~g is a nite set of connections;
{ mapping I : C ! 2A A is an interpretation function of ordered
connections between agents: I(c) = (ax; ay) i x~ !c y~;
{ mapping T : C A A ! fgen; updg is types of connections: T (c; ax; ay) =
g
gen i I(c) = (ax; ay) ! (x~ c! y~), and T (c; ax; ay) = upd i I(c) = (ax; ay) !
(x~ c!u y~). Let (con ict) lexical agents correspond to (con ict) lexical objects.</p>
      <p>Not every instance from A" is used for ontology population. There is a set of
utility instances U tl. They do not resolve ambiguities or populate an ontology.
They just transfer information to its descendants. Hence A" = LO [ Ont [ U tl,
where only instances from Ont may populate an ontology.</p>
      <p>For every agent a 2 A we de ne the following sets of agents and
connections. We omit symmetric de nitions of ancestors Anc (for Des ) and utility
predecessors U tP (for U tS ) for the brevity:
{ Ca = fc 2 Cj9a0 2 A : (a; a0) 2 IC (c) W(a0; a) 2 IC (c)g is connections of a;
{ Scgac = fa0 2 A j (a; a0) 2 IC (c) ^ T (c; a; a0) = geng is a set of generated
successors by c connection;</p>
      <p>{ Scuca = fa0 2 A j (a; a0) 2 IC (c) ^ T (c; a; a0) = updg is a set of updated
successors by c connection;
{ Scca = Scgac [ Scuca is a set of all successors by c connection;
{ P rac = fa0 2 A j (a0; a) 2 IC (c)g is a set of predecessors by c connection;
{ U tSac = fa0 2 U tl j (a; a0) 2 IC (c)g is a set of utility successors by c;
{ Desca = Scca [ Sa02Scca Desca0 is descendants by c connection;
MASAR is a multiagent system of information dependencies. In these systems
agents can use information from predecessors and can pass the (processed)
information to successors. Hence Desca \ Ancca = ;, i.e. every connection has no
cycle because of information transfer.</p>
      <p>A weight of an agent corresponds to the number and the quality (in a case
of generation) of its non-utility ancestors and descendants. For every a 2 A
{ wtaP r(c) = 1 + Pa02P rac wtaP0r(c) is the weight of connection ancestors,
{ wtaSc(c) = 1+Pa02Scgac wt(a0)+Pa02Scuca wtaS0c(c) is the weight of connection
descendants,</p>
      <p>{ wtaUt(P=S)(c) = 1 + Pa02Ut(P=S)ca wtaU0t(P=S)(c) is the weight of connection
utility ancestors/descendants,</p>
      <p>{ wt(a) = 1 + Pc2Ca (wtaP r(c) + wtaSc(c) (wtaUtP (c) + wtaUtS (c))) is the weight
of information agents.</p>
      <p>Weight of system S is wt(S) = Pa2Ont wt(a).</p>
      <p>Problem of con ict resolution in MASAR is to get a con ict-free MASAR of
the maximal weight. A multiagent algorithm below produces such system.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Con ict Resolution in MASAR</title>
      <p>In this paper we consider independent ambiguities only. In this case an order of
their resolution is irrelevant. But it is naturally to resolve lexical ambiguity rst,
because this disambiguation e ects on existence of ontology instances. Syntactic
disambiguation re nes distribution of information among instances.</p>
      <p>Action protocols for con ict resolution used by MASAR agents form a
multiagent system of con ict resolution MACR. The system MACR includes a set of
MASAR agents and an agent-master. Note, that a fully distributed version of
our algorithm could be developed but it should be very ine ective. The result of
agents' interactions by protocols described below is the con ict-free MASAR. All
agents execute their protocols in parallel until the master detects termination.
The system is dynamic because MASAR agents can be deleted from the system.
The agents are connected by synchronous duplex channels. The master agent is
connected with all agents, MASAR agents are connected with their successors
and predecessors, and con ict lexical agents are connected too. Messages are
transmitted via a reliable medium and stored in channels until being read.</p>
      <p>For correct lexical disambiguation it is necessary to nd groups of lexical
agents which e ect on weights of each other in a case of removing. Let us denote
these groups of relatives as Relatives. Agents of groups from Relatives have
common descendants: 8Rlt 2 Relatives(8a 2 Rlt(9b 2 Rlt : Ds(a) \ Ds(b) 6=
; ^ 8c 2 AmbLO n Rlt : Ds(a) \ Ds(c) = ;)). Due to the mutual e ect of relatives
on their weights it is necessary to resolve con icts between groups of relatives.
Let GR1 Rlt1 and GR2 Rlt2, where Rlt1; Rlt2 2 Relatives. Relative groups
GR1 and GR2 are in a con ict GR1 ! GR2 i (8a 2 GR19b 2 GR2 : a !
b) ^ (8b 2 GR29a 2 GR1 : b ! a). Let sets G1 = [in=1GR1i = [im=1Rlti1 and
G2 = [i=1GR2i = [i=1Rlti2, where Rlti1; Rlti2 2 Relatives for every i 2 [1::m]
n m
be groups of friends. These groups of friends are in a con ict i (8i 2 [1::n] :
GR1i ! GR2i). Note that due to proposition 3 set AmbLO can be disjoined to
nonintersecting subsets of relatives. A con ict is resolved for a bene t of the
group with the greater weight, i.e. if Pa2G1 wt(a) &gt; Pb2G2 wt(b), then agents
of group G2 are removed from the system, and their descendants delete their
inherited values of attributes or the descendant is removed itself if the lexical
value from a lexical agent in G2 is generating for this descendant.</p>
      <p>
        Hence, for resolving all con icts in the system it is necessary to perform
the following steps: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) to compute weights of agents, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) to detect relative
groups, (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) to compute independent con ict groups of friends, (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) to resolve
lexical con icts between the groups, (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) to make the corresponding change in
the system, and (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) to resolve all kinds of syntactic ambiguity. An agent-master
coordinates MASAR agents. It computes con ict groups and detects agents to be
removed. All other activities are performed by MASAR agents asynchronously.
Due to parallel execution all computations take polynomial time.
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) An interface protocol for system agents
This protocol speci es agent's reactions for incoming messages. These messages
include information which actions should be performed by the agent: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Start:
to start; (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) CompWeight: to compute its weight; (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) FindRlt: to nd relatives; (
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
Remove: to remove connections or itself; (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) ResSynt*: to resolve some syntactic
ambiguity. Until an input message causes an agent to react the agent stays in a
wait mode. Messages for an agent are stored in its input channel.
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) The main algorithm for con ict resolution
Let us give an informal description of protocol Master. First, the agent-master
computes set of lexical agents LO, then it nds set of con ict lexical agents
AmbLO. After that it sends Start to all agents and launches parallel computing
agents' weights and nding relatives for con ict lexical agents. After all agents
nish their job, the master computes con ict groups of relatives, then detects
con ict groups of friends. By comparing weights of con ict groups of friends,
it forms a list of agents to be removed. After nishing of this resolution of
group con icts, the master launches the corresponding system changes. After
termination of the changing, it initiates all kinds of syntactic disambiguation for
instance agents in parallel.
      </p>
      <p>
        Below we give informal descriptions of several protocols of the system agents.
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) Computing agents' weight
Following the de nitions of the weights agent a computes in parallel weights
of (utility) descendants and (utility) ancestors by every connection c 2 Ca,
launching the corresponding subprocesses for each c 2 Ca. These non-utility
subprocesses send the weights of their descendants (ancestors) increased by 1 to
predecessors (successors) respectively. Utility subprocesses do not increase the
weights. If connection c is of type gen then the corresponding descendants'
subprocesses send the weight of a to the predecessors. When these parallel
computations are nished, the agent computes its own weight. The protocol of weights
computing belongs to the class of wave echo algorithms [12].
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) Computing agents' relatives
Let agents from AbmLO be numerated. Computing relatives consists of two
stages. Agents act asynchronously. (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Pairwise search. Elder agent a using id of
every younger agent b sends couple of ids (a:id; b:id) to its descendants via its
successors. If some descendant of a nds both numbers among its connections
then it returns to a the id of b. After receiving agent a adds b to set of its relatives.
Termination of this computation can be detected by AB-algorithm from [4]. (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
Merging. Elder agent a sends a request to every younger agent b for a set of its
relatives b:Rlt. If a:Rlt \ b:Rlt 6= ;, then agent a merges both sets and agent b
removes its set of relatives and stops its computation. After termination of the
computation there are several agents with nonempty sets of relative groups.
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) Removing LO-agents from the system
If agent a has to be removed from the system, then (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) all its predecessors remove
all connections with it and delete a from sets of successors; (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) its descendants
remove a) all connections with it, b) the corresponding predecessors c) the
corresponding attribute value; and d) if the removing connection is of generating
type then the descendant has to be removed from the system.
      </p>
      <p>
        Resolution of syntactic ambiguities Synt11 and Synt12 consists of two steps.
(
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) Synt11 resolution.
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Ambiguity detection. Every agent, using sets of its successors, checks if some
attribute value e ects on values of several instances. If yes and these instances
form a homogeneous group, and satisfy a prede ned grammar condition, then
it sends a message with the type of the con ict and the con ict value to every
agent in the group excluding the rst agent in the group. (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Agents in the group
resolve the ambiguities following the resolving formulas for Synt11. For this they
compute an evidence power of the ambiguous value.
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) Synt12 resolution.
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) Ambiguity detection. Every agent, using sets of its successors, checks if some
attribute value e ects on values of several instances. If yes and these instances
do not form a homogeneous group, and satisfy a prede ned grammar condition,
then it sends a message with the type of the con ict, the con ict value, and ids of
the competitors to every agent in the group. (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) Agents in the group send their
evidence power to the competitors. Then they resolve the ambiguities following
the resolving formulas for Synt12.
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        ) Synt112 resolution.
      </p>
      <p>
        If an agent nds attributes !1 and !2 with value c then it compares evidence
powers EQ(a; !1; c) and EQ(a; !2; c). The attribute value is removed from values
of an attribute with the less power.
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        ) Synt211 resolution.
      </p>
      <p>If an agent nds attribute ! with values c1 and c2 then it compares evidence
powers EQ(a; !; c1) and EQ(a; !1; c2). The attribute value with the less power
is removed from values of the attribute.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>In this paper, we show that maximal instances of the ontology classes that take
part in the process of population form, together with the rules of data processing
and ontology population, a Scott information system. This result justi es
resolution of context-dependent lexical ambiguity by calculating context
cardinalities. The Scott information system is also a basis for our approach to syntactic
context-dependent ambiguity resolution. This system generates a multi-agent
system in which agents resolve the ambiguities by computing the cardinality of
their contexts and evidence powers. The suggested algorithm of lexical
ambiguity resolution chooses the most powerful group of agents and removes their
competitors. The choice is based on agents' weights and their e ect on the
system.</p>
      <p>We considered independent lexical and syntactic ambiguities only. In the near
future we plan to study disambiguation of combination of various types syntactic
and lexical ambiguities. In this work it is useful to introduce a membership
probability of attribute ambiguity values and a degree of their e ect on other
instances. We would like to try the developed technique for resolving references
also.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Alfawareh</surname>
            <given-names>H.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jusoh</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Resolving Ambiguous</surname>
          </string-name>
          <article-title>Entity through Context Knowledge</article-title>
          and Fuzzy Approach // International Journal on Computer Science and Engineering (IJCSE).
          <source>ISSN: 0975-3397</source>
          , Vol.
          <volume>3</volume>
          , No.
          <volume>1</volume>
          ,
          <year>2011</year>
          . pp.
          <volume>410</volume>
          {
          <fpage>422</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Berry</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kamsties</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krieger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>M. From contract drafting to software speci cation: Linguistic sources of ambiguity (</article-title>
          <year>2003</year>
          ), http://se.uwaterloo.ca/d~berry/handbook/ambiguityHandbook.pdf (
          <volume>31</volume>
          .
          <fpage>01</fpage>
          .
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Ganter</surname>
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wille</surname>
            <given-names>R</given-names>
          </string-name>
          .
          <article-title>Formal Concept Analysis</article-title>
          .
          <source>Mathematical Foundations</source>
          . Springer Verlag,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>N. O.</given-names>
            <surname>Garanina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. V.</given-names>
            <surname>Bodin</surname>
          </string-name>
          . Distributed Termination Detection by Counting Agent // Proc. of the 23nd International Workshop on Concurrency,
          <article-title>Speci cation and Programming (CS&amp;P 2014)</article-title>
          , Chemnitz, Germany, 29. September -
          <volume>01</volume>
          . Oktober 2014. Humboldt-Universitat zu Berlin,
          <year>2014</year>
          , pp.
          <volume>69</volume>
          {
          <fpage>79</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Garanina</surname>
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sidorova</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bodin</surname>
            <given-names>E.</given-names>
          </string-name>
          <article-title>A Multi-agent Approach to Unstructured Data Analysis Based on Domain-speci c</article-title>
          <source>Onthology // Proc. of the 22nd International Workshop on Concurrency, Speci cation and Programming</source>
          , Warsaw, Poland, Sept.
          <fpage>25</fpage>
          -
          <lpage>27</lpage>
          ,
          <year>2013</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , Vol.
          <volume>1032</volume>
          , pp.
          <volume>122</volume>
          {
          <fpage>132</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Garanina</surname>
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sidorova</surname>
            <given-names>E.</given-names>
          </string-name>
          <article-title>An Approach to Ambiguity Resolution for Ontology Population // Proc</article-title>
          . of the 24th International Workshop on CS&amp;
          <string-name>
            <surname>P. Rzeszow</surname>
          </string-name>
          , Poland, Sep.
          <fpage>28</fpage>
          -
          <lpage>30</lpage>
          ,
          <year>2015</year>
          . { University of Rzeszow,
          <year>2015</year>
          , Vol.
          <volume>1</volume>
          , pp.
          <volume>134</volume>
          {
          <fpage>145</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Gleich</surname>
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Creighton</surname>
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kof L. Ambiguity</surname>
          </string-name>
          <article-title>Detection: Towards a Tool Explaining Ambiguity Sources // Proc</article-title>
          . of 16th International Working Conference Requirements Engineering:
          <article-title>Foundation for Software Quality</article-title>
          , Essen, Germany, June 30{July 2,
          <year>2010</year>
          ,
          <string-name>
            <given-names>LNCS</given-names>
            <surname>Vol</surname>
          </string-name>
          .
          <volume>6182</volume>
          , pp.
          <fpage>218</fpage>
          -
          <lpage>232</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Kim</surname>
            <given-names>D.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barker</surname>
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Porter</surname>
            <given-names>B.W. Improving</given-names>
          </string-name>
          <article-title>the Quality of Text Understanding by Delaying Ambiguity Resolution //</article-title>
          <source>Proc. of the 23rd International Conference on Computational Linguistics</source>
          , Beijing,
          <year>2010</year>
          . pp.
          <volume>581</volume>
          {
          <fpage>589</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Navigli</surname>
            <given-names>R</given-names>
          </string-name>
          .
          <article-title>Word sense disambiguation: a survey</article-title>
          .
          <source>ACM Computing Surveys</source>
          ,
          <volume>41</volume>
          (
          <issue>2</issue>
          ):1{
          <fpage>69</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Sidorova</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kononenko</surname>
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Zagorulko</given-names>
            <surname>Yu</surname>
          </string-name>
          .
          <article-title>Knowledge-based approach to document analysis //</article-title>
          <source>International Journal "Information Technologies and Knowledge"</source>
          . Vol.
          <volume>2</volume>
          , No.
          <volume>1</volume>
          ,
          <year>2008</year>
          . pp.
          <volume>17</volume>
          {
          <fpage>22</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Spasic</surname>
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jones</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Button</surname>
            <given-names>K.</given-names>
          </string-name>
          <article-title>KneeTex: an ontology-driven system for information extraction from MRI reports</article-title>
          .// J. Biomedical Semantics,
          <volume>6</volume>
          ,
          <year>2015</year>
          , p.
          <fpage>34</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Tel</surname>
            <given-names>G</given-names>
          </string-name>
          .
          <article-title>Introduction to Distributed Algorithms</article-title>
          . Cambridge University Press,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Winskel</surname>
            <given-names>G.</given-names>
          </string-name>
          <article-title>The Formal Semantics of Programming Languages: An Introduction</article-title>
          . MIT Press,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Zhang G.-Q. Chu</surname>
            <given-names>Spaces</given-names>
          </string-name>
          , Concept Lattices, and Domains // Electronic Notes in Theoretical Computer
          <source>Science (ENTCS)</source>
          . Vol.
          <volume>83</volume>
          ,
          <year>Jan 2013</year>
          , pp.
          <volume>287</volume>
          {
          <fpage>302</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>