<!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>Towards Privacy-Preserving Ontology Publishing</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Franz Baader</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Theoretical Computer Science</institution>
          ,
          <addr-line>TU Dresden</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>We make a first step towards adapting the approach of Cuenca Grau and Kostylev for privacy-preserving publishing of linked data to Description Logic ontologies. We consider the case where both the knowledge about individuals and the privacy policies are expressed using EL concepts. We introduce the notions of compliance of a concept with a policy and of safety of a concept for a policy, and show how optimal compliant (safe) generalizations of a given EL concept can be computed.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        When publishing information about individuals, one needs to ensure that
certain privacy constraints are fulfilled. These constraints are encoded as privacy
policies, and before publishing the information one needs to check whether the
information is compliant with these policies [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. We illustrate this setting using
an example from [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]: when publishing information about hospitals, doctors, and
patients, the policy may require that one should not be able to find out who
are the cancer patients. In case the information to be published is not policy
compliant, it first needs to be modified in a minimal way to make it compliant.
However, compliance per se is not enough if a possible attacker can also obtain
relevant information from other sources, which together with the published
information might violate the privacy policy. Safety requires that the combination
of the published information with any other compliant information is again
compliant [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. More information on privacy-preserving data publishing can be found
in the survey [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], this problem was investigated in a setting where the information to
be published is given as a relational dataset with (labeled) null values, and the
policy is given by a conjunctive query. In order to make a given dataset compliant
or safe, one is basically allowed to replace constants (or null values) by new null
values. The paper investigates the complexity of deciding compliance (Is a given
modification of a dataset policy compliant?), safety (Is a given modification of
a dataset safe w.r.t. a policy?), and optimality (Is a given modification of a
dataset safe w.r.t. a policy and changes the dataset in a minimal way?). The
obtained complexity results depend on whether combined or data complexity is
considered, and whether closed- or open-world semantics are used. The paper
? Funded by DFG within the Research Training Group 1907 “RoSI”
does not consider the case where the information in the dataset is augmented
by ontological knowledge.
      </p>
      <p>
        In the present paper, we make a first step towards handling ontologies in
this context, but consider a quite restricted setting, where information about an
individual is given by a concept of the inexpressive Description Logic (DL) E L.
Basically, this is the setting where the ontology consists of an ABox containing
only concept assertions of the form C(a) for possibly complex concepts C, but
no role assertion. In [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], such an ABox was called an instance store. In addition,
we assume that there is no TBox, i.e., all the information about the individual
a is given by the concept C.1 A policy is then given by an instance query, i.e.,
by an E L concept D. A concept C (giving information about some individual a)
is compliant with this policy, if it is not subsumed by D, i.e., if C(a) does not
imply D(a). In our example, the policy could be formalized as the E L concept
      </p>
      <p>D = Patient u 9seen_by :(Doctor u 9works_in:Oncology );
which says that one should not be able to find out who are the patients that are
seen by a doctor that works for the oncology department. The concept</p>
      <p>C = Patient u Male u 9seen_by :(Doctor u Female u 9works_in:Oncology )
is not compliant with the policy D since C v D. The concept</p>
      <p>C0 = Male u 9seen_by :(Doctor u Female u 9works_in:Oncology )
is a compliant generalization of C, i.e., C v C0 and C0 6v D. However, it is not
safe since C0 u Patient v D, i.e., if the attacker already knows that a is a patient
then together with C0(a) the hidden information D is revealed. In contrast,</p>
      <p>C00 = Male u 9seen_by :(Doctor u Female u 9works_in:&gt;);
is a safe generalization of C, though it is less obvious to see this. This concept
is, however, not optimal since more information than necessary is removed. In
fact, the concept</p>
      <p>C000 = Male u 9seen_by :(Doctor u Female u 9works_in:&gt;)</p>
      <p>9seen_by :(Female u 9works_in:Oncology )
is a safe generalization of C that is more specific than C00, i.e. C v C000 @ C00.</p>
      <p>In this paper, we will show how to compute optimal compliant and optimal
safe generalizations of E L concepts C with E L policies, but instead of only one
policy concept we allow for a finite set of E L concepts as policy, where a concept
C0 is compliant with the policy fD1; : : : ; Dpg iff it is compliant with each element
of this set, i.e., C 6v Di holds for all i = 1; : : : ; p. But first, we need to introduce
the DL E L and the notions of compliance, safety, etc. in a more formal way.
1 Since EL concepts are closed under conjunction, we can assume that the ABox
contains only one assertion for a.</p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>
        A wide range of DLs of different expressive power haven been investigated in
the literature [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Here, we only introduce the DL E L, for which reasoning is
tractable [
        <xref ref-type="bibr" rid="ref1 ref3 ref5">3,5,1</xref>
        ]. Let NC and NR be mutually disjoint sets of concept and role
names, respectively. Then E L concepts over these names are constructed from
concept names using the constructors top concept (&gt;), conjunction (C u D),
and existential restriction (9r:C). The size of an E L concept C is the number of
occurrences of &gt; as well as concept and role names in C, and its role depth is
the maximal nesting of existential restrictions.
      </p>
      <p>The semantics of E L is defined through interpretations I = ( I ; I ), where
I is a non-empty set, called the domain, and I is the interpretation function,
which maps every A 2 NC to a set AI I and every r 2 NR to a binary
relation rI I I . This function I is extended to arbitrary E L concepts
by setting &gt;I := I , (C u D)I := CI \ DI , and (9r:C)I := f 2 I j 9 2
CI :( ; ) 2 rI g.</p>
      <p>
        The E L concept C is subsumed by the E L concept D (written C v D) if
CI DI holds for all interpretations I. Strict subsumption (written C @ D)
holds if C v D and D 6v C, and we say that C is equivalent to D (written
C D) if C v D and D v C. Subsumption between E L concepts can be decided
in polynomial time [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The following recursive characterization of subsumption
in E L was shown in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>Proposition 1. Let</p>
      <p>C = A1 u : : : u Ak u 9r1:C1 u : : : u 9rm:Cm; and</p>
      <p>D = B1 u : : : u B` u 9s1:D1 u : : : u 9sn:Dn;
where A1; : : : ; Ak; B1; : : : ; B` 2 NC and r1; : : : ; rm; s1; : : : ; sn 2 NR. Then we
have C v D iff
– fB1; : : : ; B`g fA1; : : : ; Akg, and
– for all i 2 f1; : : : ; ng there is j 2 f1; : : : ; mg such that si = rj and Cj v Di.</p>
      <p>We are now ready to define the important notions regarding privacy-preserving
publishing of ontological information that will be investigated in this paper. As
mentioned in the introduction, policies are finite sets of E L concepts. We assume
in the following, that the concepts occurring in the policy are not equivalent to
top since otherwise there would not be compliant concepts.</p>
      <p>Definition 1. A policy is a finite set P = fD1; : : : ; Dpg of E L concepts such
that &gt; 6 Di for i = 1; : : : ; p. Given an E L concept C and a policy P =
fD1; : : : ; Dpg, the E L concept C0 is
– compliant with P if C0 6v Di holds for all i = 1; : : : ; p;
– safe for P if C0 u C00 is compliant with P for all E L concepts C00 that are
compliant with P;
– a P-compliant generalization of C if C v C0 and C0 is compliant with P;
– an optimal P-compliant generalization of C if it is a P-compliant
generalization of C and there is no P-compliant generalization C00 of C such that
C00 @ C0;
– a P-safe generalization of C if C v C0 and C0 is safe for P;
– an optimal P-safe generalization of C if it is a P-safe generalization of C
and there is no P-safe generalization C00 of C such that C00 @ C0.
It is easy to see that safety implies compliance since the top concept is always
compliant: if C0 is safe for P, then &gt; u C0 C0 is compliant.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Characterizing compliance</title>
      <p>In this section, we characterize the concepts that are compliant with a given
policy P, and use this to develop an algorithm that computes all optimal
Pcompliant generalizations of a given E L concept C.</p>
      <p>But first, we need to introduce some more notations. We call an E L concept
an atom if it is a concept name or an existential restriction. Given an E L concept
C, we denote the set of atoms occurring in its top-level conjunction with con(C).
For example, if C = A u 9r:(B u 9s:A), then con(C) = fA; 9r:(B u 9s:A)g. As a
special case of Proposition 1, subsumption between atoms can be characterized
as follows. If E; F are atoms, then E v F iff
– E = F 2 NC or
– E; F are existential restrictions of the form E = 9r:E0; F = 9r:F 0 such that</p>
      <p>E0 v F 0.</p>
      <p>Definition 2. Let S; T be sets of atoms. Then we say that S covers T if for
every F 2 T there is E 2 S such that E v F .</p>
      <p>With this notation, Proposition 1 can be reformulated as follows: C v D iff
con(C) covers con(D). The following (polynomial-time decidable)
characterization of compliance is thus an immediate consequence of Proposition 1.
Proposition 2. The E L concept C0 is compliant with the policy P = fD1; : : : ;
Dpg iff con(C0) does not cover con(Di) for any i = 1; : : : ; p, i.e., for every
i = 1; : : : ; p, at least one of the following two properties holds:
– there is a concept name A 2 con(Di) such that A 62 con(C0); or
– there is an existential restriction 9r:D 2 con(Di) such that C 6v D for all
existential restrictions of the form 9r:C 2 con(C0).</p>
      <p>Now assume that we are given an E L concept C and a policy P = fD1; : : : ; Dpg,
and we want to construct a P-compliant generalization C0 of C. For C0 to satisfy
the condition of Proposition 2, there needs to exist for every i = 1; : : : ; p an
element of con(Di) that is not covered by any element of con(C0). In case con(C)
contains elements covering such an atom, we need to remove or generalize them
appropriately.</p>
      <p>Definition 3. We say that H con(D1) [ : : : [ con(Dp) is a hitting set of
con(D1); : : : ; con(Dp) if H \ con(Di) 6= ; for every i = 1; : : : ; p. This hitting set
is minimal if there is no other hitting set strictly contained in it.</p>
      <p>Basically, the idea is now to choose a hitting set H of con(D1); : : : ; con(Dp)
and use H to guide the construction of a compliant generalization of C. In order
to make this generalization as specific as possible, we use minimal hitting sets.
In case the policy contains concepts Di with which C is already compliant (i.e.,
C 6v Di holds), nothing needs to be done w.r.t. these concepts. This is why, in
the following definition, con(Di) does not take part in the construction of the
hitting set if C 6v Di.</p>
      <p>Definition 4. Let C be an E L-concept and P = fD1; : : : ; Dpg a policy. The set
SCG(C; P) of specific compliant generalizations of C w.r.t. P consists of the
concepts that can be constructed from C as follows:
– If C is compliant with P, then SCG(C; P) = fCg.
– Otherwise, choose a minimal hitting set H of con(Di1 ); : : : ; con(Diq ) where
i1; : : : ; iq are exactly the indices for which C v Di. Note that q 1 since we
are in the case where C is not compliant with P. In addition, according to
our definition of a policy, none of the concepts Di is equivalent to &gt;, and
thus the sets con(Dij ) are non-empty. Consequently, at least one minimal
hitting set exists. Each minimal hitting set yields a concept in SCG(C; P)
by removing or modifying atoms in the top-level conjunction of C in the
following way:</p>
      <p>For every concept name A 2 con(C), remove A from the top-level
conjunction of C if A 2 H;
For every existential restriction 9ri:Ci 2 con(C), consider the set</p>
      <p>Pi := fG j there is 9ri:G 2 H such that Ci v Gg:
If Pi = ; then leave 9ri:Ci as it is.</p>
      <p>If &gt; 2 Pi, then remove 9ri:Ci.</p>
      <p>Otherwise, replace 9ri:Ci with dF 2SCG(Ci;Pi) 9ri:F:</p>
      <p>We will show below that every element of SCG(C; P) is a compliant
generalization of C, and that all optimal compliant generalizations of C belong to
SCG(C; P). However, SCG(C; P) may also contain compliant generalizations of
C that are not optimal, as illustrated by the following example.
Example 1. Let C = 9r:(A1 u A2 u A3 u A4) and P = fD1; D2g, where</p>
      <p>D1 = 9r:A1 u 9r:(A2 u A3) and D2 = 9r:A2 u 9r:A4:
We have C v D1 and C v D2, and thus C is not compliant with P. Consequently,
the elements of SCG(C; P) are obtained by considering the minimal hitting sets
of f9r:A1; 9r:(A2 u A3)g and f9r:A2; 9r:A4g.</p>
      <p>If we take the minimal hitting set H = f9r:(A2 u A3); 9r:A2g and consider
the only existential restriction in con(C), the corresponding set Pi consists of
A2 uA3 and A2. It is easy to see that SCG(A1 uA2 uA3 uA4; Pi) = fA1 uA3 uA4g
since the only minimal hitting set of fA1; A2g and fA2g is fA2g. Thus, we obtain
C0 := 9r:(A1 u A3 u A4) as an element of SCG(C; P).</p>
      <p>However, if we take the minimal hitting set H0 = f9r:A1; 9r:A2g instead,
then the set Pi0 corresponding to the only existential restriction in con(C) is
fA1; A2g. Consequently, in this case SCG(A1 u A2 u A3 u A4; Pi0) = fA3 u A4g
since the only minimal hitting set of fA1g and fA2g is fA1; A2g. This yields
C00 := 9r:(A3 u A4) as another element of SCG(C; P). Since C0 @ C00, the
element C00 cannot be optimal.</p>
      <p>Next, we show that the elements of SCG(C; P) are compliant generalizations
of C.</p>
      <p>Proposition 3. Let C be an EL-concept and P = fD1; : : : ; Dpg a policy. If
C0 2 SCG(C; P), then C0 is a P-compliant generalization of C.</p>
      <p>Proof. In case C is already compliant with P, then C = C0 and we are done.
Thus, assume that C is not compliant with P. We show that C0 is a compliant
generalization of C by induction on the role depth of C.</p>
      <p>First, we show that C0 is a generalization of C, i.e., C v C0. This is an
easy consequence of the fact that, when constructing C0 from C, atoms from the
top-level conjunction of C are left unchanged, are removed, or are replaced by a
conjunction of more general atoms. The only non-trivial case is where we replace
an existential restriction 9ri:Ci with the conjunction dF 2SCG(Ci;Pi) 9ri:F . By
induction, we know that Ci v F for all F 2 SCG(Ci; Pi), and thus 9ri:Ci v
d</p>
      <p>F 2SCG(Ci;Pi) 9ri:F .</p>
      <p>Second, we show that C0 is compliant with P, i.e., C0 6v Di holds for i =
1; : : : ; p. For the indices i with C 6v Di, we clearly also have C0 6v Di since C v
C0. Now, consider one of the remaining indices ij 2 fi1; : : : ; iqg, where i1; : : : ; iq
are exactly the indices for which C v Di. The concept C0 was constructed by
taking some minimal hitting set H of con(Di1 ); : : : ; con(Diq ). If the element in
H hitting con(Dij ) is a concept name, then this concept name does not occur
in con(C0), and thus C0 6v Dij . Thus, assume that it is an existential restriction
9ri:G. But then each existential restriction 9ri:Ci in con(C) with Ci v G is
either removed or replaced by a conjunction of existential restrictions 9ri:F such
that (by induction) F 6v G. In addition, other existential restrictions are either
removed or generalized. This clearly implies C0 6v Dij since 9ri:G in con(Dij ) is
not covered by any element of con(C0).
tu</p>
      <p>The next lemma states that every compliant generalization of C subsumes
some element of SCG(C; P).</p>
      <p>Lemma 1. Let C be an EL-concept and P = fD1; : : : ; Dpg a policy. If C00
is a P-compliant generalization of C, then there is C0 2 SCG(C; P) such that
C0 v C00.</p>
      <p>Proof. If C is compliant with P, then we have C 2 SCG(C; P) and C v C00
since C00 is a generalization of C. Thus, assume that C is not compliant with P,
and let i1; : : : ; iq be exactly the indices for which C v Di.</p>
      <p>Now, let ij be such an index. We have C v C00 6v Dij and C v Dij .
Since C00 6v Dij , there is an element Ej 2 con(Dij ) that is not covered by
any element of con(C00). Obviously, H00 := fE1; : : : ; Eqg is a hitting set of
con(Di1 ); : : : ; con(Diq ). Thus, there is a minimal hitting set H of con(Di1 ); : : : ;
con(Diq ) such that H H00. Let C0 be the element of SCG(C; P) that was
constructed using this hitting set H. We claim that C0 v C00. For this, it is sufficient
to show that con(C0) covers con(C00).</p>
      <p>First, consider a concept name A 2 con(C00). Since C v C00, we also have
A 2 con(C). If A 62 H00, then A 62 H, and thus A is not removed in the
construction of C0. Consequently, A 2 con(C0) covers A 2 con(C00). If A 2 H00,
then A is not covered by any element of con(C00) according to our definition of
H00, which contradicts our assumption that A 2 con(C00).</p>
      <p>Second, consider an existential restriction 9ri:E 2 con(C00). Since C v C00,
there is an existential restriction 9ri:Ci in con(C) such that Ci v E. If this
restriction is not removed or generalized when constructing C0, then we are
done since this restriction then belongs to con(C0) and covers 9ri:E. Otherwise,
Pi = fG j there is 9ri:G 2 H such that Ci v Gg is non-empty.</p>
      <p>If &gt; 2 Pi, then 9ri:&gt; 2 H H00. However, then 9ri:E 2 con(C00) covers an
element of H00, which is a contradiction.</p>
      <p>Consequently, &gt; 62 Pi, and thus 9ri:Ci is replaced with dF 2SCG(Ci;Pi) 9ri:F
when constructing C0 from C. According to our definition of H00 and the fact that
H H00, none of the existential restrictions 9ri:G considered in the definition
of Pi is covered by 9ri:E 2 con(C00). This implies that E is a Pi-compliant
generalization of Ci. By induction (on the role depth) we can thus assume that
there is an F 2 SCG(Ci; Pi) such that F v E. This shows that 9ri:E 2 con(C00)
is covered by 9ri:F 2 con(C0). tu</p>
      <p>As an easy consequence of this lemma, we obtain that all optimal compliant
generalizations of C must belong to SCG(C; P).</p>
      <p>Proposition 4. Let C be an EL-concept and P = fD1; : : : ; Dpg a policy. If C00
is an optimal P-compliant generalization of C, then C00 2 SCG(C; P) (up to
equivalence of concepts).</p>
      <p>Proof. Let C00 be an optimal P-compliant generalization of C. By Lemma 1,
there is an element C0 2 SCG(C; P) such that C0 v C00. In addition, by
Proposition 3, C0 is a P-compliant generalization of C. Thus, optimality of C00 implies
C00 C0.
tu</p>
      <p>We are now ready to formulate and prove the main result of this section.
Theorem 1. Let C be an EL-concept and P = fD1; : : : ; Dpg a policy. Then
the set of all optimal P-compliant generalizations of C can be computed in time
exponential in the size of C and D1; : : : ; Dp.</p>
      <p>Proof. It is sufficient to show that the set SCG(C; P) can be computed in
exponential time. In fact, given SCG(C; P), we can compute the set of all optimal
P-compliant generalizations of C by removing elements that are not minimal
w.r.t. subsumption, which requires at most exponentially many subsumption
tests. Each subsumption test takes at most exponential time since subsumption
in E L is in P , and the elements of SCG(C; P) have at most exponential size, as
shown below.</p>
      <p>We show by induction on the role depth that SCG(C; P) consists of at most
exponentially many elements of at most exponential size. The at most
exponential cardinality of SCG(C; P) is an immediate consequence of the fact that there
are at most exponentially many hitting sets of con(Di1 ); : : : ; con(Diq ), and each
yields exactly one element of SCG(C; P) (see Definition 4). Regarding the size
of these elements, note that we may assume by induction that an existential
restriction may be replaced by a conjunction of at most exponentially many
existential restrictions, where each is of at most exponential size. The overall size
of the concept description obtained this way is thus also of at most exponential
size. Given this, it is easy to see that the computation of these elements also
takes at most exponential time.
tu</p>
      <p>The following example shows that the exponential upper bounds can indeed
by reached.</p>
      <p>Example 2. Let C = P1 u Q1 u : : : u Pn u Qn and P = fPi u Qi j 1 i ng. Then
SCG(C; P) contains 2n elements since the sets fP1; Q1g; : : : ; fPn; Qng obviously
have exponentially many hitting sets. To be more precise,</p>
      <p>SCG(C; P) = fX1 u : : : u Xn j Xi 2 fPi; Qig for i = 1; : : : ; ng:
This example can easily be modified to enforce an element of exponential size.
Consider Cb = 9r:C and Pb = f9r:(Pi u Qi) j 1 i ng. Then SCG(Cb; Pb) =
fdF 2SCG(C;P) 9r:F g: We leave it to the reader to further modify the example in
order to obtain exponentially many elements of exponential size.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Characterizing safety</title>
      <p>Before we can characterize safety, we need to remove redundant elements from
P. We say that Di 2 P is redundant if there is a different element Dj 2 P such
that Di v Dj . The following lemma is easy to prove.</p>
      <p>Lemma 2. Let P be a policy and assume that Di 2 P is redundant. Then the
following holds for all E L concepts C; C0:
– C0 is compliant with P iff C0 is compliant with P n fDig;
– C is safe for P iff C is safe for P n fDig.</p>
      <p>This lemma shows that we can assume without loss of generality that our
policies do not contain redundant concepts. However, elements of Di of P may
also contain redundant atoms. In fact, if E; F are different atoms in con(Di) such
that E v F , then the concept obtained from Di by removing F from its top-level
conjunction is equivalent to Di. By iteratively removing such redundant atoms
from the top-level conjunction of Di we obtain (in polynomial time) a concept
Di0 equivalent to Di such that the elements of con(Di0) are incomparable w.r.t.
subsumption. We call a policy redundancy-free if it does not contain redundant
elements and every element is normalized in this sense.</p>
      <p>Proposition 5. Let P = fD1; : : : ; Dpg be a redundancy-free policy. The EL
concept C0 is safe for P iff there is no pair of atoms (E; F ) such that E 2
con(C0), F 2 con(D1) [ : : : [ con(Dp), and E v F .</p>
      <p>Proof. First, assume that C0 is not safe for P, i.e., there is an EL concept C00
that is compliant with P, but for which C0 u C00 is not compliant with P. The
latter implies that there is Di 2 P such that C0 u C00 v Di, which is equivalent
to saying that con(C0) [ con(C00) covers con(Di). On the other hand, we know
that con(C00) does not cover con(Di) since C00 is compliant with P. Thus, there
is an element F 2 con(Di) that is covered by an element E of con(C0). This
yields (E; F ) such that E 2 con(C0), F 2 con(D1) [ : : : [ con(Dp), and E v F .</p>
      <p>Conversely, assume that there is a pair of atoms (E; F ) such that E 2
con(C0), F 2 con(Di), and E v F . Let C00 be the concept obtained from Di by
removing F from the top-level conjunction of Di. Then we clearly have Di v C00.
In addition, since Di is normalized, we also have C00 6v Di. Consider Dj 2 P
different from Di, and assume that C00 v Dj. But then Di v C00 v Dj
contradicts our assumption that P does not contain redundant elements. Thus, we
have shown that C00 is compliant with P. In addition, con(C0) [ con(C00) covers
con(Di). In fact, the elements of con(Di) n fF g belong to con(C00), and thus
cover themselves. In addition, F is covered by E 2 con(C0). Thus C0 u C00 v Di,
which shows that C0 is not safe for P.
tu</p>
      <p>Clearly, the necessary and sufficient condition for safety stated in this
proposition can be decided in polynomial time. If needed, the policy can first be made
redundancy-free, which can also be done in polynomial time.</p>
      <sec id="sec-4-1">
        <title>Corollary 1. Safety of an EL concept for an EL policy is in P .</title>
        <p>We now consider the problem of computing optimal P-safe generalizations
of a given EL concept C. First note that, up to equivalence, there can be only
one optimal P-safe generalization of C. This is an immediate consequence of the
fact that the conjunction of safe concepts is again safe, which in turn is an easy
consequence of Proposition 5.</p>
        <p>Lemma 3. Let C10; C20 be two EL concepts that are P-safe generalizations of C,
where P is redundancy-free. Then C10 u C20 is also a P-safe generalization of C.</p>
        <p>Thus there cannot be non-equivalent optimal P-safe generalizations of a
given EL concept C since their conjunction would then be more specific,
contradicting their optimality. This property is independent of whether the policy is
redundancy-free or not since turning a policy into one that is redundancy-free
preserves the set of concepts that are compliant with (safe for) the policy.
Proposition 6. If C10; C20 are optimal P-safe generalizations of the EL concept
C, then C10 C20.</p>
        <p>The following theorem shows how an optimal safe generalization of C can be
constructed.</p>
        <p>Theorem 2. Let C be an EL concept and P = fD1; : : : ; Dpg a redundancy-free
policy. We construct the concept C0 from C by removing or modifying atoms in
the top-level conjunction of C in the following way:
– For every concept name A 2 con(C), remove A from the top-level
conjunction of C if A 2 con(D1) [ : : : [ con(Dp);
– For every existential restriction 9ri:Ci 2 con(C), consider the set of concepts
Pi := fG j there is 9ri:G 2 con(D1) [ : : : [ con(Dp) such that Ci v Gg:
If Pi = ; then leave 9ri:Ci as it is.</p>
        <p>If &gt; 2 Pi, then remove 9ri:Ci.</p>
        <p>Otherwise, replace 9ri:Ci with dF 2OCG(Ci;Pi) 9ri:F; where OCG(Ci; Pi)
is the set of all optimal Pi-compliant generalizations of Ci.</p>
      </sec>
      <sec id="sec-4-2">
        <title>Then C0 is an optimal P-safe generalization of C.</title>
        <p>Proof. Obviously C v C0 since, when constructing C0 from C, atoms from the
top-level conjunction of C are left unchanged, are removed, or are replaced by a
conjunction of more general atoms.</p>
        <p>To show that C0 is safe for P, we must show that the condition of
Proposition 5 holds. Thus assume that it is violated, i.e., there is a pair of atoms (E; F )
such that E 2 con(C0), F 2 con(D1) [ : : : [ con(Dp), and E v F .
– First, we consider the case where E = A is a concept name. Then E v F
implies that F = A, and thus A is a concept name occurring in con(D1) [
: : : [ con(Dp). However, all such concept names have been removed from
the top-level conjunction of C when constructing C0. This contradicts our
assumption that E = A belongs to con(C0).
– Second, assume that E is an existential restriction E = 9ri:E0. Then F
is of the form F = 9ri:G0 and E0 v G0. In addition, there is an
existential restriction 9ri:Ci 2 con(C) from which E = 9ri:E0 was derived.
By construction, Ci v E0. In the construction of C0, we consider the set
Pi := fG j there is 9ri:G 2 con(D1) [ : : : [ con(Dp) such that Ci v Gg:
Since Ci v E0 v G0, this set is non-empty, and since 9ri:E0 is derived from
9ri:Ci, it does not contain &gt;. Consequently, we have E0 2 OCG(Ci; Pi).
However, G0 2 Pi then implies that E0 6v G0, which yields the desired
contradiction.</p>
        <p>It remains to show that C0 is optimal. Thus assume that C00 is a P-safe
generalization of C. It is sufficient to show that C0 v C00, i.e., that con(C0)
covers con(C00).</p>
        <p>– Assume that A 2 con(C00) is a concept name. Then C v C00 implies that
A 2 con(C). In addition, since C00 is safe for P, Proposition 5 implies that
A 62 con(D1) [ : : : [ con(Dp). Thus, A is not removed in the construction of
C0, which yields A 2 con(C0).
– Second, consider an existential restriction 9ri:E 2 con(C00). Since C v C00,
there is an existential restriction 9ri:Ci in con(C) such that Ci v E. If this
restriction is not removed or generalized when constructing C0, then we are
done since this restriction then belongs to con(C0) and covers 9ri:E.
Otherwise, Pi = fG j there is 9ri:G 2 con(D1) [ : : : [ con(Dp) such that Ci v Gg
is non-empty.</p>
        <p>If &gt; 2 Pi, then 9ri:&gt; 2 con(D1) [ : : : [ con(Dp). However, then 9ri:E 2
con(C00) covers an element of con(D1) [ : : : [ con(Dp), which is a
contradiction to our assumption that C00 is safe for P.</p>
        <p>Consequently, &gt; 62 Pi, and thus 9ri:Ci is replaced with dF 2OCG(Ci;Pi) 9ri:F
when constructing C0 from C. Since C00 is safe for P, none of the
existential restrictions 9ri:G considered in the definition of Pi is covered by
9ri:E 2 con(C00). This implies that E is a Pi-compliant generalization of Ci.
Consequently, there is an F 2 OCG(Ci; Pi) such that F v E. This shows
that 9ri:E 2 con(C00) is covered by 9ri:F 2 con(C0). tu
Since, by Theorem 1, OCG(Ci; Pi) can be computed in exponential time, the
construction described in Theorem 2 can also be performed in exponential time.
Corollary 2. Let C be an EL concept and P = fD1; : : : ; Dpg a
redundancyfree policy. Then an optimal P-safe generalization of C can be computed in
exponential time.</p>
        <p>Example 2 can easily be modified to provide an example that shows that this
exponential bound can actually not be improved since there are cases where the
safe generalization is of exponential size.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>We have introduced the notions of compliance with and safety for a policy in
the simple setting where both the knowledge about individuals and the policy
are given by EL concepts. In this setting, we were able to characterize compliant
(safe) generalization of a given concept w.r.t. a policy, and have used these
characterizations to obtain algorithms for computing these generalizations. These
algorithms need exponential time, which is optimal since the generalizations
may be of exponential size.</p>
      <p>In the future, we intend to extend this work in two directions. On the one
hand, we will consider EL concepts w.r.t. a background ontology. On the other
hand, we will consider a setting where the ABox contains not just concept
assertions, but also role assertions. In the latter case, one can use not just
generalization of concepts, but also renaming of individuals as operations for achieving
compliance (safety). Finally, of course, these two extensions should be combined.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Brandt</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Lutz</surname>
          </string-name>
          .
          <article-title>Pushing the EL envelope</article-title>
          .
          <source>In Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence IJCAI-05</source>
          , Edinburgh, UK,
          <year>2005</year>
          . Morgan-Kaufmann Publishers.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. L.</given-names>
            <surname>McGuinness</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Nardi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P. F.</given-names>
            <surname>Patel-</surname>
          </string-name>
          Schneider, editors.
          <source>The Description Logic Handbook: Theory</source>
          , Implementation, and
          <string-name>
            <surname>Applications</surname>
          </string-name>
          . Cambridge University Press, New York, NY, USA,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Küsters</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Molitor</surname>
          </string-name>
          .
          <article-title>Computing least common subsumers in description logics with existential restrictions</article-title>
          .
          <source>In Proc. of the 16th Int. Joint Conf. on Artificial Intelligence (IJCAI'99)</source>
          , pages
          <fpage>96</fpage>
          -
          <lpage>101</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Morawska</surname>
          </string-name>
          .
          <article-title>Unification in the description logic EL</article-title>
          .
          <source>Logical Methods in Computer Science</source>
          ,
          <volume>6</volume>
          (
          <issue>3</issue>
          ),
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>S.</given-names>
            <surname>Brandt</surname>
          </string-name>
          .
          <article-title>Polynomial time reasoning in a description logic with existential restrictions, GCI axioms, and-what else</article-title>
          ? In R. L. de Mántaras and L. Saitta, editors,
          <source>Proc. of the 16th Eur. Conf. on Artificial Intelligence (ECAI</source>
          <year>2004</year>
          ), pages
          <fpage>298</fpage>
          -
          <lpage>302</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>B. Cuenca</given-names>
            <surname>Grau</surname>
          </string-name>
          and
          <string-name>
            <given-names>E. V.</given-names>
            <surname>Kostylev</surname>
          </string-name>
          .
          <article-title>Logical foundations of privacy-preserving publishing of linked data</article-title>
          .
          <source>In Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, February 12-17</source>
          ,
          <year>2016</year>
          , Phoenix, Arizona, USA., pages
          <fpage>943</fpage>
          -
          <lpage>949</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. B.
          <string-name>
            <surname>C. M. Fung</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Chen</surname>
            , and
            <given-names>P. S.</given-names>
          </string-name>
          <string-name>
            <surname>Yu</surname>
          </string-name>
          .
          <article-title>Privacy-preserving data publishing: A survey of recent developments</article-title>
          .
          <source>ACM Comput. Surv.</source>
          ,
          <volume>42</volume>
          (
          <issue>4</issue>
          ):
          <volume>14</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>14</lpage>
          :
          <fpage>53</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>I.</given-names>
            <surname>Horrocks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Turi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Bechhofer</surname>
          </string-name>
          .
          <article-title>The instance store: DL reasoning with large numbers of individuals</article-title>
          .
          <source>In Proceedings of the 2004 International Workshop on Description Logics (DL2004)</source>
          , Whistler, British Columbia, Canada, June 6-8,
          <year>2004</year>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>