<!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>Multi-Context Systems: Dynamics and Evolution?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pedro Cabalar</string-name>
          <email>cabalar@udc.es</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefania Costantini</string-name>
          <email>stefania.costantini@univaq.it</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Formisano</string-name>
          <email>andrea.formisano@unipg.it</email>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Multi-Context Systems (MCS) model, using Computational Logic, distributed systems composed of heterogeneous sources, or “contexts”, interacting via special rules called “bridge rules”. In this paper, we consider how to enhance flexibility and generality in bridge-rules definition and application.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Multi-Context Systems (MCSs) have been proposed in Artificial Intelligence and
Knowledge Representation to model information exchange among heterogeneous
sources [
        <xref ref-type="bibr" rid="ref3 ref4 ref6">3, 4, 6</xref>
        ]. MCSs do not make any assumption about such sources nor require
them to be homogeneous; rather, the MCS approach deals explicitly with their different
representation languages and semantics. These sources, also called contexts or modules,
interact through special interconnection expressions called bridge rules; such rules are
very similar in syntax and in meaning to Datalog or Answer Set Programming (ASP)
rules, save that atoms in their bodies refer to knowledge items to be obtained from
external contexts. So, a literal (cj : p) (where p is an atom) in the body of a bridge rule
occurring in context ci means that p can be proved in context cj (given cj ’s
underlying logic and semantics and given cj ’s knowledge base present contents), vice versa
not (cj : p) means p cannot be proved in cj . In case the entire body “succeeds” then the
bridge rule can be applied, and its conclusion can be exploited within context ci.
      </p>
      <p>
        The reason why MCSs are particularly interesting is that they aim at a formal
modeling of real applications requiring access to distributed sources, possibly on the web.
In many application domains the adoption of MCSs can bring real advances,
whenever different types of heterogeneous information systems are involved and a rigorous
formalization should be adopted, also in view of reliability and verifiability of the
resulting systems. Notice that this kind of systems often involve agents; MCSs encompassing
logical agents have in fact been proposed in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        Given the potential impact of MCSs for practical knowledge representation and
reasoning, there are some aspects in which their definition is still too abstract. In this paper,
we introduce and discuss some formal extensions of MCSs, useful for a practical use
in dynamic environments, and we try to provide guidelines for implementations. The
? This work is partially supported by INdAM-GNCS-17 project, by Xunta de Galicia, Spain
(projects GPC ED431B 2016/035 and 2016-2019 ED431G/01 for CITIC center) and by the
European Regional Development Fund (ERDF).
paper considers the following aspects. (i) The specification of proactive bridge-rule
activation, i.e., a bridge-rule in our approach is no longer applied whenever applicable,
but it must be explicitly enabled by the context where it occurs. (ii) The explicit
definition of evolution of an MCS over time in consequences of updates that can be more
general than sensor input as treated in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. (iii) A specification of bridge-rule grounding
in an evolving MCS. (iv) The definition of practical modalities of execution of bridge
rules in a distributed MCS. (v) Bridge rules patterns, by which we make bridge rules
parametric w.r.t. contexts by introducing special terms called context designators to be
replaced by actual context names; this is in our opinion a very important extension,
which allows general bridge rules schemata to be specialized to actual bridge rules by
choosing which specific contexts (of a certain kind) should specifically be queried in
the situation at hand. There is a relation with the work of [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], where, at run-time, new
bridge rules can be “observed”, i.e., learned from outside. Such rules can be added to
previous ones, or can replace them with a new version, with a check on consistency
among bridge-rules conclusions after the update. This work is complementary with our
proposal, where new bridge rules are generated inside a context.
      </p>
      <p>
        Overall, we propose enhancements which are not in conflict with existing proposals
for MCSs which evolve in time [
        <xref ref-type="bibr" rid="ref14 ref15 ref6">6, 15, 14</xref>
        ], but rather either generalize such proposals
or, at least, can be combined with them. In what follows, we first recall the MCS
approach. Then, using a motivating scenario, we propose some variations, enhancements,
and extensions to basic MCSs. Finally, we shortly discuss the complexity of the
enhanced framework and conclude. In the Appendix, we propose an example of use of the
enhanced approach, in reference to the motivating scenario.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Bridge Rules and Multi-Context Systems</title>
      <p>
        Heterogeneous MCSs have been introduced in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] in order to integrate different
inference systems without resorting to non-classical logical systems. Later, the idea has
been further developed and generalized to non-monotonic reasoning domains —see, for
instance, [
        <xref ref-type="bibr" rid="ref16 ref3 ref4 ref5 ref6">3–6, 16</xref>
        ] among many. (Managed) MCSs are designed for the construction of
systems that need to access multiple (heterogeneous) data sources, called contexts. The
information flow is modeled via bridge rules, whose form is similar to Datalog rules
with negation where, however, each element in their “body” explicitly includes the
indication of the contexts from which each item of information is to be obtained. To
represent heterogeneity of sources, each context is supposed to be based on its own
logic, defined in a very general way [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. A logic L defines its own syntax as a set F of
possible formulas (or KB -elements) under some signature possibly containing,
predicates, constants and functions. As usual, formulas are expressions built upon the idea of
atom, that is, the application of a predicate to a number n (the predicate arity) of terms.
The latter, in their turn, can be variables, constants, or compound terms using function
symbols, as usual. A term/atom/formula is ground if there are no variables occurring
therein. A logic is relational if in its signature the set of function symbols is empty,
so its terms are variables and constants only. Formulas can be grouped to form some
knowledge base, kb 2 2F . The set of all knowledge bases for L is defined as some
KB 2F . The logic also defines beliefs or data (usually, ground facts) that can be
derived as consequences from a given kb 2 KB . The set Cn represents all possible belief
sets in logic L. Finally, the logic specification must also define some kind of inference
or entailment. This is done by defining which belief sets are acceptable consequences
of a given kb 2 KB with a relation ACC KB Cn. Thus, ACC (kb; S) means that
belief set S is an acceptable consequence of knowledge base kb. We can also use ACC
as a function ACC : KB ! 2Cn where S 2 ACC (kb) is the same as ACC (kb; S) as a
relation. To sum up, logic L can be completely specified by the triple hKB ; Cn; ACC i.
      </p>
      <p>A multi-context system (MCS) M = fC1; : : : ; Cng is a set of n = jM j contexts,
each of them of the form Ci = hci; Li; kbi; brii, where ci is the context name (unique
for each context, or number i if omitted), Li = hKB i; Cni; ACC ii is a logic, kbi 2
KB i a knowledge base, and bri is a set of bridge rules, each of them 2 bri like
s</p>
      <p>
        A1; : : : ; Ah; not Ah+1; : : : ; not Am
(1)
where the left-hand side s is called the head, denoted as hd( ), the right-hand side is
called the body, denoted as body ( ), and the comma stands for conjunction. We define
the positive (resp. negative) body as body +( ) = fA1; : : : ; Ahg (resp. body ( ) =
fAh+1; : : : ; Amg). The head hd( ) = s is a formula in Li such that (kbi [fsg) 2 KB i.
Each element Ak in the body has the form (cj : p) for a given j, 1 j jM j, and
can be seen as a query to the (possibly different) context Cj 2 M whose name is cj , to
check the status of belief p (a formula from Lj ) with respect to the current belief state
(defined below) in Cj . When the query is made in the context j = i we will omit the
context name, simply writing p instead of (ci : p). A relational MCS [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is a variant
where all the involved logics are relational, and aggregate operators in database style
(like sum, count, max, min), are admitted in bridge-rule bodies.
      </p>
      <p>A belief state (or data state) S of an MCS M is a tuple S = (S1; : : : ; Sn) such
that for 1 i n = jM j, Si 2 Cni. Thus, a data state associates to each context
Ci a possible set of consequences Si. A bridge rule 2 bri of context Ci 2 M is
applicable in belief state S when, for any (cj : p) 2 body+( ), p 2 Sj , and for any
(ck : p) 2 body ( ), p 62 Sk; so, app(S) is the set of heads from those bridge rules
applicable in S.</p>
      <p>In managed MCSs (mMCSs)4 the conclusion s, which represents the “bare”
bridgerule result, becomes o(s), where o is a special operator. The meaning is that s is
processed by operator o, that can perform any elaboration, such as format conversion,
belief revision, etc. More precisely, for a given logic L with formulas F = fs 2
kb j kb 2 KB g, a management base is a set of operation names (briefly, operations)
OP , defining elaborations that can be performed on formulas. For a logic L and a
management base OP , the set of operational statements that can be built from OP and F is
aFgOePme=nt ffuon(sc)tijoon,2mOngP;:s22F OFPg. The semantics of such statements is given by a
man</p>
      <p>
        KB ! KB , which maps a set of operational
statements and a knowledge base into a (possibly different) modified knowledge base5. Now,
each context Ci = hci; Li; kbi; bri; OPi; mngii in an mMCS is extended to include its
4 For the sake of simplicity, we define mMCS simply over logics instead of “logic suite” as done
in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], where one can select the desired semantics among a set of possibilities.
5 We assume a management function to be deterministic, i.e., to produce a unique new
knowledge base.
      </p>
      <p>Fig. 1. F&amp;K System: General Architecture
own management function mngi which is crucial for knowledge incorporation from
external sources and can be non-monotonic. The application of the management function
mngi to the result of the applicable rules must be acceptable with respect to ACCi. We
say that a belief state S is an equilibrium for an mMCS M iff, for 1 i jM j,
Si 2 ACCi(mngi(app(S); kbi))
(2)</p>
      <p>Namely, we (i) apply all the bridge rules of Ci that are applicable in the belief state
S; (ii) apply the management function which, by incorporating bridge-rule results into
Ci’s knowledge base kbi, computes a new knowledge base kb0i; and, finally, (iii)
determine via ACCi the set of acceptable sets of consequences of kb0i. In an equilibrium,
such a set includes Si, i.e., an equilibrium is “stable” w.r.t. bridge-rule application.</p>
      <p>
        Conditions for existence of equilibria and the complexity of deciding equilibrium
existence for mMCS have been studied [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]; roughly speaking, such complexity
depends on the complexity of computing formula (2) for each Ci 2 M . Algorithms for
computing equilibria have been recently proposed [
        <xref ref-type="bibr" rid="ref10 ref4">4, 10</xref>
        ] but, in practice, they are only
applicable when open-access to contexts’ contents is granted. For practical purposes,
one will often provisionally assume that equilibria exist, and that they do not include
inconsistent data sets. It has been proved that such local consistency is achieved
whenever all management functions are (lc-) preserving, i.e., if they always determine a kb0
which is consistent.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Proposed Extensions</title>
      <p>
        Below we introduce some enhancements to the mMCS paradigm. We devised the
proposed extensions in the perspective of the application of mMCSs to Cyber-Physical
Systems (CPS). In Fig. 1 we depict the scenario outlined in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], concerning “FRIENDLY &amp;
KIND with your Health” (F&amp;K), kind Cyber-Physical Systems tailored for applications
in the E-Health field. In an F&amp;K system, an mMCS is considered to be an essential part
of the system engine. Thus, for actual implementation of F&amp;Ks and more generally of
intelligent logically-based CPS operating in the “Internet of Things”, issues related to
the concrete modalities of bridge-rule instantiation and execution need to be considered.
3.1
      </p>
      <sec id="sec-3-1">
        <title>Update Actions and Timed Equilibria</title>
        <p>
          Bridge rules as defined in mMCSs are basically a reactive device, as a bridge rule is
applied whenever applicable. In dynamic environments, however, a bridge rule in general
will not be applied only once, and it does not hold that an equilibrium, once reached,
lasts forever. In fact, in recent extensions to mMCS, contexts are able to incorporate
new data items coming from observations, so that a bridge rule can be, in principle,
re-evaluated upon new observations. For this purpose, two main approaches have been
proposed for this type of mMCSs: so-called reactive [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] and evolving [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] multi-context
systems. A reactive MCS (rMCS) is an mMCS where the system is supposed to be
equipped with a set of sensors that can provide observations from a set Obs. Bridge
rules can refer now to a new type of atoms of the form o@s, being o 2 Obs an
observation that can be provided by sensor s. A “run” of such system starts from an equilibrium,
and consists in a sequence of equilibria induced by a sequence of sets of observations.
In an evolving MCS (eMCS), instead, there are special observation contexts where the
observations made over time may cause changes in each context knowledge base. As
for the representation of time, different solutions have been proposed. For instance, [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]
defines a special context whose belief sets on a run specify a time sequence. Other
possibilities assume an “objective” time provided by a particular sensor, or a special head
predicate in bridge rules whose unique role is adding timed information to a context.
        </p>
        <p>
          However, in the general case of dynamic environments, contexts can be realistically
supposed to be able to incorporate new data items in several ways, including interaction
with a user and with the environment. We thus intend to propose extensions to explicitly
take into account not only observations but, more generally, the interaction of contexts
with an external environment. Such an interaction needs not to be limited to bridge
rules, but can more generally occur as part of the context’s reasoning/inference process.
We do not claim that the interaction with an external environment cannot somehow
be expressed via the existing approaches to MCSs which evolve in time [
          <xref ref-type="bibr" rid="ref14 ref15 ref6">6, 15, 14</xref>
          ];
however, it cannot be expressed directly; in view of practical applications, we introduce
explicit and natural devices to cope with this important issue.
        </p>
        <p>
          We proceed next to define a new extension called timed MCS (tMCS). In a tMCS,
the main new feature is the idea of (update) action. For each context Ci, we define a set
act i of elementary actions, where each element 2 act i is the name of some action or
operation that can be performed to update context Ci. We allow a subset Obsi acti
for observing sensor inputs as in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. A compound action (action, for short) i is a set
i act i of elementary actions that can be simultaneously applied for context Ci. The
application of an action to a knowledge base is ruled by an update function:
        </p>
        <p>Ui : KBi 2acti ! 2KBi n f;g,
so that kb0i 2 Ui(kbi; i) means that the “new” knowledge base kb0i is a possible result
of updating kbi with action i under function Ui. We thus assume Ui to encompass
all possible updates performed to a module (including, for instance, sensor inputs,
updates performed by a user, consequences of messages from other agents or changes
determined by the context’s self re-organization). Note that Ui(kbi; i) is (possibly)
non-derterministic, but never empty (some resulting kb0i is always specified). In some
cases, we may even leave the knowledge base unaltered kbi 2 Ui(kbi; i). Notice that
update operations can be non-monotonic.</p>
        <p>In order to allow arbitrary sequences of updates, we assume a linear time
represented by a sequence of time points ftT gT 0 indexed by natural numbers T 2 N and
representing discrete states or instants in which the system is updated. The elapsed time
between each pair of states is some real quantity = tT+1 tT &gt; 0. Given T 2 N
and context Ci, we write kbi[T ] and i[T ] to respectively stand for the knowledge base
content at instant T , and the action performed to update Ci from instant T to T + 1.
We define the actions vector at time T as [T ] = ( 1[T ]; : : : ; n[T ]). Finally, Si[T ]
denotes the set of beliefs for context Ci at instant T whereas, accordingly, S[T ] denotes
the belief state (S1[T ]; : : : ; Sn[T ]).</p>
        <p>Definition 1 (timed context). Let Ci = hci; Li; kbi; bri; OPi; mngii be an mMCS
context. The corresponding timed context w.r.t. an initial belief state S is defined as:
– Ci[0] = hci; Li; kbi[0]; bri; OPi; mngi; act i; Uii
– Ci[T +1] = hci; Li; kbi[T +1]; bri; OPi; mngi; act i; Uii, for T 0
where kbi[0] := kbi and S[0] := S, whereas kbi[T + 1]:=mngi(app(S[T ]); kb0) and
kb0 2 Ui(kbi[T ]; i[T ]).</p>
        <p>Definition 2. We let a tMCS at time T be M [T ] = fC1[T ]; : : : ; Cn[T ]g.</p>
        <p>The initial timed belief state S[0] can possibly be an equilibrium, according to
original mMCS definition. Later on, however, the transition from a timed belief state to the
next one, and consequently the definition of an equilibrium, is determined both by the
update operators and by the application of bridge rules. Therefore:
Definition 3 (timed equilibrium). A timed belief state of tMCS M at time T + 1 is a
timed equilibrium iff, for 1 i n it holds that Si[T +1] 2 ACCi(kbi[T +1]).</p>
        <p>
          The meaning is that a timed equilibrium is now a data state which encompasses
bridge rules applicability on the updated contexts’ knowledge bases. As seen in Def. 1,
applicability is checked on belief state S[T ], but bridge rules are applied (and their
results incorporated by the management function) on the knowledge base resulting from
the update. The enhancement w.r.t. [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] is that the management function keeps its
original role concerning bridge rules, while the update operator copes with updates, however
and wherever performed. So, we relax the limitation that each rule involving an update
should be a bridge rule, and that updates should consist of (the combination and
elaboration of) simple atoms occurring in bridge bodies. Our approach, indeed, allows update
operators to consider and incorporate any piece of knowledge; for instance, an update
can encompass table creation and removal in a context which is a relational database
or addition of machine-learning results in a context which collects and processes big
data. In addition we make time explicit thus showing the timed evolution of contexts
and equilibria, while in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] such an evolution is implicit in the notion of system run.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Bridge Rule Grounding and Activation</title>
        <p>
          In the original definition of mMCSs, bridge rules are ground by definition. In [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], it
is literally stated that [in their examples] they “use for readability and succinctness
schematic bridge rules with variables (upper case letters and ‘ ’ [the ’anonymous’
variable]) which range over associated sets of constants; they stand for all respective
instances (obtainable by value substitution)”. However, the practical method for
obtaining such ground instances remains to be seen, especially since the basic definition
of mMCS does not require either knowledge bases or bridge rules to be finite sets.
Moreover, in the original definition, bridge-rule application is reactive: a bridge rule is
applied whenever applicable. However, according to a context’s own logic, other
patterns of application might be defined, in principle; for instance, those introduced in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
        </p>
        <p>
          In this section, we formally specify reasonable modalities for bridge-rules
grounding and for proactive, rather than reactive, application. The issue of bridge-rule
grounding has been discussed in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] for relational MCSs where, however, the grounding of
bridge rules is performed over a carefully defined finite domain, composed of constants
only. As the authors observe, “...computing equilibria and answering queries on top
is not a viable solution”. So, they assume a given MCS to admit an equilibrium, and
define a query-answering procedure based upon some syntactic restrictions on
bridgerule form. Such kind of limitation, which is common in logic programming approaches,
prescribes that: (i) in the body of a rule, positive literals occur (in a left-to-right order)
before negative literals, and their order is relevant; (ii) every variable occurring in the
head of a non-ground bridge rule r also occurs in some positive literal of its body. We
embrace the suggestion that bridge-rule grounding may occur at run-time, so we adopt
the syntactic limitation. However, in bridge-rule grounding we intend to consider any,
even infinite, domain, and we intend to consider timed belief states. In principle, bridge
rules might be grounded over all terms that can be built over the signature of every
context’s underlying logic. This because mMCSs admit “value invention”, i.e., via the
results of bridge-rules application, beliefs (and their arguments) are propagated among
contexts; so, via a bridge rule a context may obtain a result involving constants and
terms previously not occurring therein. However, in each particular belief state it
suffices to consider terms that actually occur in the composing belief sets: such sets are
indeed those which determine bridge-rule applicability at that stage.
        </p>
        <p>Definition 4. Let r 2 bri be a non-ground bridge rule in a context Ci of a given mMCS
M with (timed) belief state S[T ]. A ground instance of r w.r.t. S[T ] is obtained by
substituting every variable occurring in r with ground terms occurring6 in S[T ].
By a “ground bridge rule” we implicitly mean a ground instance of a bridge rule w.r.t. a
timed data state. We now redefine bridge-rule applicability, by first introducing
proactive activation. For each context Ci, let7</p>
        <p>Hi[T ] = fsj there exists rule 2 bri with head hd( ) = s at time T g.</p>
        <p>We introduce a timed triggering function, tri [T ] : KBi ! 2Hi[T ], which specifies
(via their heads) which bridge rules are triggered at time T , and so, by performing some
reasoning over the present knowledge base contents. Since Hi[T ] can be in general an
infinite set, tri [T ]( ) may itself return an infinite set. However, in practical cases, it will
presumably return a finite set of rules to be applied at time T .</p>
      </sec>
      <sec id="sec-3-3">
        <title>Definition 5. A rule</title>
        <p>2 bri is triggered at time T iff hd( ) 2 tri[T ](kbi[T ]).
6 Variables may occur in p of atoms (cj:p) in the body of r, in its head o(s), or in both.
7 Here, the dependency on T is fictitious. It will be relevant for bridge-rules patterns in Sec. 3.3.</p>
        <p>Let grtri[T ] be the set of all ground instances of bridge rules which have been
triggered at time T , i.e., 2 grtri[T ] iff is a ground instance w.r.t. S[T ] of some
non-ground r such that hd( ) 2 tri[T ](kbi[T ]).</p>
        <p>For an mMCS M , data state S[T ] and a ground bridge rule , let S[T ] j= body( )
represent that the rule body holds in belief state S[T ].</p>
        <p>Definition 6. The set app(S[T ]) relative to ground bridge rules which are applicable
in a timed data state S[T ] of a given tMCS M [T ] = fC1[T ]; : : : ; Cn[T ]g is defined as:
app(S[T ]) = fhd( ) j 9T 0 T such that 2 grtri [T 0] and S[T ] j= body( )g:
By the definition of app( ), a (ground instance of) a bridge rule can be triggered at
a time T 0, but can then become applicable at some later time T T 0. Thus, any bridge
rule which has been triggered remains in predicate for applicability, which will occur
whenever its body is entailed by some future data state. One alternative solution that
may seem equivalent to the proposed one is that of adding a “guard” additional positive
subgoal in a bridge-rule body, to be proved within the context itself. Such additional
literal would have the role of enabling bridge-rule application. However, in our proposal
a context is committed to actually apply bridge rules which have been triggered as soon
as they will (possibly) be applicable while an additional subgoal should be re-tried at
each stage and, if non-trivial reasoning is involved, this may be unnecessary costly.</p>
        <p>The definition of timed equilibria remains unchanged, apart from the modified
bridge-rule applicability. However, the added (practical) expressiveness is remarkable
as a context in the new formulation is not just the passive recipient of new information,
but it can reason about which bridge rules to potentially apply at each stage.</p>
        <p>For practical applications, it may be useful to allow the grounding of literals in
bridge-rule bodies to be computed at run-time, whenever a bridge rule is actually
applied. Such a grounding, and thus the bridge-rule result, can be obtained, for example,
by “executing” or “invoking” literals in the body (i.e., querying contexts) so as to obtain
the grounding of positive literals first, to be extended to negative ones.</p>
        <p>Each positive literal (cj : p) in the body of a bridge rule may fail (i.e., cj will return a
negative answer), if none of the instances of p given the partial instantiation computed
so far is entailed by cj ’s present data state. Otherwise, the literal succeeds and the
other ones are (possibly) instantiated accordingly. Negative literals not (cj : p) make
sense only if p is ground at the time of invocation, and succeed if p is not entailed by
cj ’s present data state. In case either some literal fails or a non-ground negative literal
is found, the overall bridge rule evaluation fails without returning results. Otherwise
the evaluation succeeds, and the result can be elaborated by the management function
of the “destination” context. For modeling such a run-time procedural behavior, we
introduce potential applicability. Assuming that literals occurring in a bridge-rule body
are ordered left to right as they appear in the rule definition we can talk about first,
second, etc., positive/negative literal.</p>
        <p>Definition 7. A ground bridge rule 2 grtri [T 0] for some T 0, of the form (1) is
potentially applicable to grade k h at time T T 0 iff given a reduced version 0 of the
rule, of the form s A1; : : : ; Ak we have S[T ] j= body( 0).</p>
        <p>Hence, a triggered bridge rule is potentially applicable to grade k at time T if the
timed belief state at time T entails its first k positive literals. Plainly, we have:
Proposition 1. A ground bridge rule is potentially applicable to grade k at time Tk
iff for every k0 such that 1 k0 k there exists Tk0 Tk such that is potentially
applicable to grade k0 at time Tk0 .</p>
        <p>Proposition 2. Let 2 grtri [T 0] be a ground bridge rule, for some T 0, of the form
(1) which is potentially applicable to grade h (or simply “potentially applicable”) at
time T ; then, hd( ) 2 app(S[T ]) iff for every negative literal not (ck:p) in the body,
h + 1 k m, p 62 Sk[T ].</p>
        <p>As the contexts composing an mMCS may be non-monotonic, a bridge rule can
become potentially applicable at some time and remain so without being applicable, but
can become applicable at a later time if the atoms occurring in negative literals are no
longer entailed by the belief state at that state.</p>
        <p>Notice that, in fact, in a practical distributed setting, literals in the body may
succeed/fail at different times, depending on the various context update times, and upon
network delay. Let us therefore assume that success of a positive literal A (resp.
negative literal not A) is annotated with the time-stamp when such success occurs, of the
form A[T ] (resp. of the form not A[T ]). So, for any bridge rule 2 grtri [T 0] like (1)
which is triggered at some time and then executed later, by the expression
s[Ts]</p>
        <p>A1[T1]; : : : ; Ah[Th]; not Ah+1[Th+1]; : : : ; not Am[Tm]
we mean that the rule has been executed left-to-right where each literal A[T ]=not A[T ]
has succeeded at time T and the result has been processed (via the management
function) by the destination context (i.e., the one where the bridge rule occurs) at time Ts.
Clearly, we have T1 T2 ::: Tm Ts. The above expression is called the
run-time version of rule . It is successful if all literals succeed; otherwise it is failed.</p>
        <p>In many practical cases we are able to assume a certain degree of persistence in
the system, i.e., that a literal which succeeds at a time Tr would then still succeed (if
re-invoked) at every subsequent time Tq with Tr Tq Ts (“local persistence
assumption” for rule ). This corresponds to assuming that, during the execution of a
bridge-rule, no changes in the involved contexts occur that would invalidate the
bridgerule result before actual completion; so, this would enforce what we call the “coherent”
execution of a bridge rule. This assumption may sometimes be problematic in practice,
but in a distributed system such as an mMCS we cannot realistically assume the
execution to be instantaneous. The assumption of persistence can be considered as reasonable
whenever the time amount required by the execution of a bridge rule is less than the
average system change rate with respect to the involved belief elements. This is the usual
condition for artificial intelligence systems to be adequate w.r.t. the environment where
they are situated, rather that being “brittle”. There are possible ways of enforcing the
assumption. For instance, the contexts involved in a bridge rule execution might commit
to keep the involved belief elements untouched until the destination context sends an
“ack” to signal the completion of rule execution. This or other strategies to ensure
coherent execution are deferred to the implementation of mMCS. Under this assumption
we have:
Theorem 1. Given a successful run-time version of a ground bridge rule 2
grtri (T^), for some T^, of the form s[Ts] A1[T1]; : : : ; Ah[Th]; not Ah+1[Th+1]; : : : ;
not Am[Tm]. Then, hd( ) 2 app(S[Ts]) and there exists T Tm such that hd( ) 2
app(S[T ]). Moreover, for each i j there exists Ti0 Ti and Ti 1 Ti0 if i &gt; 1 such
that is potentially applicable to grade i at time Ti0.</p>
        <p>Proof. Thanks to the persistence of the system, fixing Ti0 = Ti, for each i j, suffices
to prove the first property, and fixing T = Tm suffices for the second one. The third one
follows in a straightforward way. tu</p>
        <p>The relevance of the above theorem is because, in practice, the execution involves
a non-ground rule r 2 grtri [T^] whose rule mentioned therein is a ground instance.
Then, successful left-to-right execution of literals in the body of r will lead to
dynamically generate at run-time a successful run-time version of . Specifically, the execution
of each non-ground positive literal in the body of r will generate a partial instantiation
which is propagated to the rest of the bridge-rule body.
3.3</p>
      </sec>
      <sec id="sec-3-4">
        <title>Bridge-Rules Patterns</title>
        <p>
          We now generalize and formalize for mMCS the enhanced form of bridge rules
proposed in [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] for logical agents. In particular, we replace context names in bridge-rule
bodies with context designators, which are special terms intended to denote a specific
kind of context. For instance, a literal such as doctorSmith:prescription(desease; P )
asking family doctor, specifically Dr. Smith, for a prescription related to a certain
desease, might become family doctor (d ):prescription(desease; P ) where the doctor to
be consulted is not explicitly specified. Each context designator must be substituted by a
context name prior to bridge-rule activation; in the example, a doctor’s name to be
associated and substituted by the context designators family doctor (d ) (which, therefore,
acts as a placeholder) must be dynamically identified; the advantage is, for instance, to
be able to flexibly consult the physician who is on duty at the actual time of the inquiry.
Definition 8. Let Ci be a context of an mMCS. A context designator m(k) is a term
where m is a fresh function symbol and k a fresh constant.8
        </p>
        <p>A bridge-rule pattern is an expression of the form:</p>
        <p>s (C1:p1); : : : ; (Cj :pj ); not (Cj+1:pj+1); : : : ; not (Cm:pm)
where each Cd can be either a constant or a context designator.</p>
        <p>New bridge rules can thus be obtained and applied by replacing, in a bridge-rule
pattern, context designators via actual contexts names. So, contexts will now evolve
also in the sense that they may increase their set of bridge rules by exploiting
bridgerule patterns:
Definition 9. Given an mMCS, each of the timed composing contexts Ci, 1 i n,
is defined, at time 0, as Ci[0] = hci; Li; kbi[0]; bri; brpi; OPi; mngi; act i; Uii, where
brpi is a set of bridge-rule patterns, and all the other elements are as in Def. 1.
Definition 10 (rule instance). An instance of the bridge-rule pattern 2 brpi, for
1 i n, occurring in an mMCS, is a bridge rule r obtained by substituting every
context designator occurring in by a context name c 2 fc1; : : : ; cng.
8 Meaning that m and k belong to the signature of Li, but they do not occur in kbi or in bri.</p>
        <p>The context names to replace a context designator must be established by suitable
reasoning in context’s knowledge base.</p>
        <p>Definition 11. Given an mMCS M , any composing context Ci, for 1 i n, and
a timed data state S[T ] of M , a valid instance of a bridge-rule pattern 2 brpi is a
bridge rule r^ obtained by substituting every context designator in with a context name
c 2 fc1; : : : ; cng such that Si[T ] j= subsi (md(kd); c), where subsi is a distinguished
predicate that we assume to occur in the signature of Li.</p>
        <p>Let vinst (brpi)[T ] denote the set of valid instances of bridge rule patterns that can be
obtained at time T (for Ci). The set of bridge rules associated with a context increases in
time with the addition of new ones which are obtained as valid instances of bridge-rule
patterns.</p>
        <p>Definition 12. Given an mMCS, each of the timed composing contexts Ci, 1 i n, is
defined, at time T +1, as:</p>
        <p>Ci[T +1] = hci; Li; kbi[T +1]; bri[T +1]; brpi; OPi; mngi; act i; Uii
with bri[T +1]=bri[T ][vinst (brpi)[T ], bri[0] = bri, and all the rest as in Def. 1.</p>
        <p>
          All the other previously-introduced notions (equilibria, bridge-rule triggering and
applicability, etc.) remain unchanged. We do not need to modify bridge-rule
triggering, having already introduced the time parameter in the definition of the set Hi[T ]
of bridge-rule heads at time T for context Ci. Notice that instantiation of bridge-rule
patterns corresponds to specializing bridge rules with respect to the context which is
deemed more suitable for acquiring some specific information at a certain stage of a
context’s operation. This evaluation is performed via the predicate subsi (md(kd); c)
that can be defined so as to take several factors into account, among which, for
instance, trust and preferences. Also, this enhancement goes in the direction of dynamic
mMCS, where contexts can either join or leave the system during its operation. Such an
extension has been in fact advocated since [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
        </p>
        <p>Definition 13. We let a dynamic mMCS at time T be M [T ] = fC1[T ]; : : : ; CnT [T ]g,
where a timed belief state at time T is (as before) a tuple S[T ] = (S1[T ]; : : : ; SnT [T ]).</p>
        <p>The meaning is that the set of contexts which compose an mMCS may be
different at different times. Here one can see the utility of having a constant acting as the
context name; in fact, bridge-rule definition does not strictly depend upon the
composition of M , as it would be by using integer numbers. Rather, applicability of a bridge
rule depends on the presence in the system of contexts with the names indicated in the
bridge-rule definition. Contexts can not only be added or removed, but also substituted
by new “versions” with the same name.
3.4</p>
      </sec>
      <sec id="sec-3-5">
        <title>Complexity</title>
        <p>
          For space reasons we just briefly discuss the complexity issues related to the proposed
approach. In general, the property that we may wish to check is whether a specific belief
of our interest will eventually occur at some stage in one (or all) timed equilibria of a
given mMCS. The formal definition is the following.
Definition 14. The problem Q9 (respectively Q8), consists in deciding whether, for a
given mMCS M under a sequence = [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]; [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]; : : : ; [t] of update actions
performed at time instants 1; 2; : : : ; t, and for a context Ci of M and a belief pi for Ci, it
holds that pi 2 Si[t0] for some (respectively for all) timed equilibria S[t0] at time t0 t.
        </p>
        <p>
          We resort, like [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], to context complexity as introduced in [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. One has first to
consider a projected belief state S^ [t], which includes in the element S^i[t] the belief bi one
wants to query, and also includes for every element S^j [t] the beliefs that contribute to
bridge-rule applications which may affect pi (see [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] for an algorithm which computes
such sets of beliefs in the case of rMCSs). Then, the context complexity for Ci is the
complexity of establishing whether the element S^i[t] of such projected belief state is
a subset of the corresponding element S^i[t] of some timed equilibrium at time t. The
system context complexity of M is the smallest upper bound of the complexities of its
contexts. The system context complexity depends upon the logics of the contexts in M .
        </p>
        <p>The problems Q9 and Q8 are undecidable for infinite update sequences, because
contexts’ logics can in general simulate a Turing Machine and thus such problems
reduce to the halting problem. Better complexity results can, however, be obtained under
some restrictions. In particular, if we assume that all contexts Ci’s knowledge bases
and belief states are finite at any stage, all update functions Ui, management functions
mngi and triggering functions tri are computable in polynomial time, and that the set
of bridge-rule patterns is empty and all bridge rules are ground, then we can proceed
as follows: a projected belief state can be guessed for each stage T 2 N by a
nondeterministic Turing machine; then, the inclusion of each such projected belief state
S^ [T ] in some (all) timed equilibria S[T ] at that stage can be established by an oracle
under the system’s context complexity and, if the answer is positive, it must be checked
whether pi 2 S^i[T ]; if not, subsequent updates must be performed (in polynomial time)
over S^ [T ], and the two checks must be repeated at each stage; this until either pi is
found or time T is reached, thus obtaining either a positive or a negative answer to the
Q9 problem. Therefore, for finite update sequences the context complexity determines
the complexity of Q9 and, complementarily, the complexity of Q8.</p>
        <p>Reconsidering bridge-rule patterns and non-ground bridge rules we observe that by
assuming that subsi can be computed in polynomial time and produces a finite number
of substitutions for each context designator, and given a set of bridge-rule patterns of a
certain cardinality (size) c^, the size of the set of its valid instances is in general single
exponential in c^. The same holds in principle for the grounding of bridge rules. However,
in our setting we assume that bridge-rule are executed and grounded in a Prolog-like
fashion: therefore, the computational burden for grounding is consequently smaller.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Concluding Remarks</title>
      <p>
        In this paper we have proposed extensions to MCSs, aimed at practical application of
such systems. The enhanced customizable bridge rules that we have formalized here
have been succesfully experimented (though in a preliminar embryonic version) in a
significant case-study, reported in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. We intend to employ the proposed features in
the implementation, that will start in the near future, of an F&amp;K Cyber-Physical
System. This project will allow us to perform practical experiments in order to assess the
performance of this kind of systems, and to identify possible limitations and/or further
aspects that can be subjected to improvements.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Appendix: An Example</title>
      <p>
        In this Section we provide an example of use to illustrates the new features. We refer
to Example 2 in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] where it is supposed that a user, Bob, suffering from dementia, is
able to live at home as an assisted living system, modeled by means of an rMCS, is able
to constantly track Bob’s position, and to detect and take care of emergencies (such as
Bob’s forgetting the stove on), on the basis of the data provided by sensors suitably
installed in Bob’s flat.
      </p>
      <p>
        We generalize the rMCS to an F&amp;K which is able to detect changes in Bob’s health
but also to notice anomalous behavior which might signify an impaired state. The input
can be provided by means of sensors, but also by recording and monitoring Bob’s
activities via suitable telemedicine appliances, via, e.g., videocameras or via a personalized
assistant/monitoring agent (PMA) which might be incarnated, in different use-cases, in
a chatterbot/avatar on tv or on the mobile phone, or even in a social robot; in our view,
the PMA should be able to “transmigrate” from one form to another one according to
the situation which a patient is experimenting at a certain stage of her/his activities.
The patient’s PMA (in this case Bob’s), is assumed below to be modeled as a
context included in an mMCS where such context is in particular an agent defined in any
agent-oriented logic language [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>Bob’s PMA pmabob might for instance, in case of slight variations of, e.g., blood
pressure or blood coagulation, re-adjust the quantity of medicament by consulting a
treatment knowledge base. In case of more relevant symptoms, the agent might consult
either Bob’s physician or a specialist, depending upon the relative importance of
symptoms. In case of an emergency, for instance an hemorrhage, immediate help is asked
for. Clearly, the example is over-simplified and we do not aim at medical accuracy.</p>
      <p>
        Following [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], in the example we assume that present “objective” time is made
available to each context as now (T ), where the current value of T is entered into the
system by a particular sensor. As mentioned before, literals in bridge-rule bodies with
no indication of a context are proved locally.
      </p>
      <p>The following bridge rule associated to each patient’s PMA, and thus also to pmabob,
is maybe the most crucial as it is able to ask for immediate help. The last literal in the
body concerns a context emergency center , which is supposed to be an interactive
component for emergency management able to send, for instance, an ambulance or a
helicopter for transportation to the hospital. The last literal in bridge-body will
succeed whenever the emergency center context has received and processed the request,
which is sent in case severe symptoms have been detected. Those symptoms, and the
time when the request is issued, are communicated to the emergency center together
with the patient’s data (here, for simplicity, just a patient’s identification code). The
bridge rule head is processed by the management function so as to simply add to the
PMA’s knowledge base the record of the fact that help has been required at time T for
set of severe symptoms S.
help asked (bob; S ; T ; T1 ; Th; H )
now (T ); detected symptoms (S ; T1 ); T 1 T;
patientid (bob; Bid ); emergency center : urgent help(Bid ; S ; T ; Th; H )
The emergency center is provided with Bob’s patient’s id Bid and returns the time
T h and mean H by which the emergency will be coped with (e.g., an ambulance by
15 minutes). In order to ensure application of the rule only in case of a real emergency,
it will be triggered (by adding its head to trpmabob [T ]) only upon specific conditions,
e.g., if symptoms have occurred that can be considered to be severe for Bob’s particular
health conditions, and a physician is not already present or prompltly available. Upon
bridge-rule application, the management function will record the (ground) request for
help help asked (bob; S ; T ; T1 ; Th; H ) that has been issued; this allows for instance
the PMA to check whether the promised assistance will actually arrive in time and
possibly to minister palliative treatment in the meanwhile.</p>
      <p>The following bridge rule, potentially crucial for cardiophatic patients, will be
triggered by in case the blood coagulation value detected at time T is anomalous; this
implies that the quantity of anti-coagulant which Bob takes to treat his heart disease
must be rearranged accordingly. The correct quantity Q is obtained by the ATC
(AntiCoagulant Center) knowledge base according to the last blood coagulation value V and
its variation D from previous records.
quantity (anticoagulant ; Q )</p>
      <p>coagulation val (V ; D ); patientid (bob; Bid ); atc : quantity (Bid ; V ; D ; Q )
In case a patient’s health state is not really critical but is anyway altered, a physician
must be consulted. However, in case, e.g., of a simple flu the family doctor suffices,
while if there are symptoms that might be related to a more serious condition then a
specialist (e.g., a cardiologist) should be consulted. Thus, there will be a bridge-rule
pattern of the following form, where a physician can be consulted for condition C.
Again, the management function will record the request having been sent; the last literal
in the body will succeed, when the rule is dynamically executed, as soon as the doctor
receives the request.
call physician(bob; T )
now (T ); condition(bob; T ; C );
patientid (bob; Bid ); mydoctor (d ) : consultation needed (Bid ; C ; T )
The physician, represented by the context designator mydoctor (d ), should however
be determined according to C. This can be done by suitably augmenting the definition
of the distinguished predicate subspmi bob , for instance, as follows. The notation ’ ’
indicates a “don’t care” variable, as time is not taken into account here.
subspmi bob (mydoctor (d ); F ) family doctor (F ); condition(bob; ; fever )
subspmi bob (mydoctor (d ); F ) family doctor (F ); condition(bob; ; headache)
subspmi bob (mydoctor (d ); G ) my cardiologist (G ); condition(bob; ; chestpain)</p>
      <p>Thus, a valid instance of the bridge-rule pattern will be generated according to the
patient’s need, as evaluated by the patient’s PMI. The resulting bridge rule will then be
immediately executed. So for instance, if Bob has chest pain and the cardiologist who
has been following him is Dr. House, then the bridge rule below will be constructed and
triggered:
call physician(bob; T )
now (T ); condition(bob; T ; chest pain);
patientid (bob; Bid ); drHouse : consultation needed (Bid ; chest pain; T )</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>F.</given-names>
            <surname>Aielli</surname>
          </string-name>
          et al.
          <article-title>FRIENDLY &amp; KIND with your health: Human-friendly knowledge-INtensive dynamic systems for the e-health domain</article-title>
          . In K. Hallenborg and S. Giroux, editors,
          <source>Proc. of A-HEALTH at PAAMS</source>
          <year>2016</year>
          ., Comm. in Computer and Inf. Sci. Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>R.</given-names>
            <surname>Barilaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fink</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          , and
          <string-name>
            <given-names>G.</given-names>
            <surname>Terracina</surname>
          </string-name>
          .
          <article-title>Towards query answering in relational multi-context systems</article-title>
          . In P. Cabalar and T. C. Son, editors,
          <source>Proc. of LPNMR</source>
          <year>2013</year>
          , volume
          <volume>8148</volume>
          <source>of LNCS</source>
          , pages
          <fpage>168</fpage>
          -
          <lpage>173</lpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>G.</given-names>
            <surname>Brewka</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Eiter</surname>
          </string-name>
          .
          <article-title>Equilibria in heterogeneous nonmonotonic multi-context systems</article-title>
          .
          <source>In Proc. of the 22nd AAAI Conf. on Artificial Intelligence</source>
          , pages
          <fpage>385</fpage>
          -
          <lpage>390</lpage>
          . AAAI Press,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>G.</given-names>
            <surname>Brewka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Eiter</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Fink</surname>
          </string-name>
          .
          <article-title>Nonmonotonic multi-context systems</article-title>
          .
          <source>In Logic Programming</source>
          ,
          <source>Knowledge Representation, and Nonmonotonic Reasoning</source>
          , volume
          <volume>6565</volume>
          <source>of LNCS</source>
          , pages
          <fpage>233</fpage>
          -
          <lpage>258</lpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>G.</given-names>
            <surname>Brewka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Eiter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fink</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Weinzierl</surname>
          </string-name>
          .
          <article-title>Managed multi-context systems</article-title>
          .
          <source>In Proc. of IJCAI</source>
          <year>2011</year>
          , pages
          <fpage>786</fpage>
          -
          <lpage>791</lpage>
          . AAAI,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>G.</given-names>
            <surname>Brewka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ellmauthaler</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Pu</surname>
          </string-name>
          <article-title>¨hrer. Multi-context systems for reactive reasoning in dynamic environments</article-title>
          . In T. Schaub, editor,
          <source>Proc. of ECAI 2014. AAAI</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          . ACE:
          <article-title>a flexible environment for complex event processing in logical agents</article-title>
          .
          <source>In EMAS 2015, Revised Selected Papers</source>
          , volume
          <volume>9318</volume>
          <source>of LNCS</source>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          .
          <article-title>Knowledge acquisition via non-monotonic reasoning in distributed heterogeneous environments</article-title>
          . In M. Truszczyn´ski, G. Ianni, and F. Calimeri, editors,
          <source>Proc. of LPNMR</source>
          <year>2013</year>
          , volume
          <volume>9345</volume>
          <source>of LNCS</source>
          . Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Formisano</surname>
          </string-name>
          .
          <article-title>Augmenting agent computational environments with quantitative reasoning modules and customizable bridge rules</article-title>
          . In N. Osman and C. Sierra, editors,
          <source>AAMAS 2016 Best Workshop Visionary Papers</source>
          , volume
          <volume>10003</volume>
          <source>of LNCS</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. M.
          <string-name>
            <surname>Dao-Tran</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Fink</surname>
            , and
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Krennwallner</surname>
          </string-name>
          .
          <article-title>Distributed evaluation of nonmonotonic multi-context systems</article-title>
          .
          <source>J. of Artificial Intelligence Research</source>
          ,
          <volume>52</volume>
          :
          <fpage>543</fpage>
          -
          <lpage>600</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. T. Eiter,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fink</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Schu</surname>
          </string-name>
          <article-title>¨ller, and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Weinzierl</surname>
          </string-name>
          .
          <article-title>Finding explanations of inconsistency in multi-context systems</article-title>
          . In F. Lin,
          <string-name>
            <given-names>U.</given-names>
            <surname>Sattler</surname>
          </string-name>
          , and M. Truszczyn´ski, editors,
          <source>Proc. of KR</source>
          <year>2010</year>
          . AAAI,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>M. Fink</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Ghionna</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Weinzierl</surname>
          </string-name>
          .
          <article-title>Relational information exchange and aggregation in multi-context systems</article-title>
          .
          <source>In Proc. of LPNMR</source>
          <year>2011</year>
          , volume
          <volume>6645</volume>
          <source>of LNCS</source>
          , pages
          <fpage>120</fpage>
          -
          <lpage>133</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>F.</given-names>
            <surname>Giunchiglia</surname>
          </string-name>
          and
          <string-name>
            <given-names>L.</given-names>
            <surname>Serafini</surname>
          </string-name>
          .
          <article-title>Multilanguage hierarchical logics or: How we can do without modal logics</article-title>
          .
          <source>Artif</source>
          . Intell.,
          <volume>65</volume>
          (
          <issue>1</issue>
          ):
          <fpage>29</fpage>
          -
          <lpage>70</lpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14. R. Gonc¸alves, M. Knorr, and
          <string-name>
            <given-names>J.</given-names>
            <surname>Leite</surname>
          </string-name>
          .
          <article-title>Evolving bridge rules in evolving multi-context systems</article-title>
          .
          <source>In Proc. of CLIMA</source>
          <year>2014</year>
          , volume
          <volume>8624</volume>
          <source>of LNCS</source>
          , pages
          <fpage>52</fpage>
          -
          <lpage>69</lpage>
          . Springer,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. R. Gonc¸alves, M. Knorr, and
          <string-name>
            <given-names>J.</given-names>
            <surname>Leite</surname>
          </string-name>
          .
          <article-title>Evolving multi-context systems</article-title>
          .
          <source>In Proc. of ECAI</source>
          <year>2014</year>
          , pages
          <fpage>375</fpage>
          -
          <lpage>380</lpage>
          . IOS,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>F.</given-names>
            <surname>Roelofsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Serafini</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Cimatti</surname>
          </string-name>
          .
          <article-title>Many hands make light work: Localized satisfiability for multi-context systems</article-title>
          . In R. Lo´pez de Ma´ntaras and L. Saitta, editors,
          <source>Proc. of ECAI</source>
          <year>2004</year>
          , pages
          <fpage>58</fpage>
          -
          <lpage>62</lpage>
          . IOS Press,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>