<!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>On Partial Features in the DLF Dialects of Description Logic with Inverse Features</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>David Toman</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Grant Weddell</string-name>
          <email>gweddellg@cs.uwaterloo.ca</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Cheriton School of Computer Science University of Waterloo</institution>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The DLF dialects of description logic are fragments of rst order logic with underlying signatures based on unary predicate symbols and on unary function symbols interpreted as total functions. In earlier work, we have shown how computational properties of logical consequence for dialects of this family without inverse features are preserved when unary function symbols are interpreted instead as partial functions, and when a \9f " concept constructor for feature value existence is added that can be used to enforce function totality. In this paper, we resolve a number of open problems mentioned in this earlier work that concerns DLF dialects with inverse features. Our main result shows how the dialect CF DInc can be extended with a limited form of conjunction on 8 left-hand-sides of inclusion dependencies that enables a straightforward simulation of partial functions together with the 9f concept constructor.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The DLF dialects of description logics (DLs) are fragments of rst order logic
with underlying signatures that replace binary predicate symbols, called roles,
with unary function symbols, interpreted as total functions, called features. In
earlier work [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], we have shown how computational properties of logical
consequence for dialects of this family are preserved when unary function symbols
are now interpreted as partial functions, where equality is based on the so-called
strict interpretation of unde ned values, and when an \9f " concept constructor
is added for identifying subsets of a domain for which f -values must exist. Note
that the latter yields an ability to de ne cases in which partial functions become
total functions, such as to say that every employee has a salary, or to de ne cases
in which partial functions are not meaningful, such as to say that departments
do not have a salary.
      </p>
      <p>
        In this paper, we resolve a number of open problems mentioned in this earlier
work that concern DLF dialects with inverse features, among which is the more
8
recent CF DInc dialect in the CF D sub-family [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Members of this sub-family
are distinguished by having PTIME complexity for logical consequence. One of
8
our results shows how CF DInc can be extended with a form of conjunction on
left-hand-sides of inclusion dependencies while still retaining PTIME
complexity for logical consequence. We show how the added expressiveness enables a
straightforward simulation of partial functions and the 9f concept constructor.
      </p>
      <p>
        The paper is organized as follows. In the next section, we provide the
necessary background and de nitions: an overview of the syntax and semantics of
the DLF dialects, and of their general extension to partial functions as we have
proposed in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In Section 3, we introduce the dialects DLF I and DLF DI, and
how, by following the same reduction introduced in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], each can simulate their
partial extensions in a straightforward manner. The results mentioned above
8
regarding the dialect CF DInc are then presented in Section 4. Mainly, this
en8
tails introducing an extension we call CF DIkc that admits a limited use of
conjunction on the left-hand-sides of inclusion dependencies. We then show how
8
CF DIkc can also be used to simulate its partial extension in a similar fashion
to how we did this for DLF I and DLF DI in Section 3.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Background and De nitions</title>
      <p>We begin with a review of the basic de nitions for member dialects of the DLF
family in which features replace roles and are interpreted as total functions.
Following this, we introduce the necessary modi cations that enable features to
be interpreted instead as partial functions.</p>
      <p>De nition 1 (Feature-based DLs) Let F and PC be sets of feature names
and primitive concept names, respectively. A path expression is de ned by the
grammar \ Pf ::= f: Pf j id " for f 2 F.1 We de ne derived concept descriptions
by the grammar on the left-hand-side of Figure 1.</p>
      <p>An inclusion dependency C is an expression of the form C1 v C2. A terminology
(TBox) T consists of a nite set of inclusion dependencies. A posed question Q
is a single inclusion dependency.</p>
      <p>
        The semantics of expressions is de ned with respect to a structure I = (4; I ),
where 4 is a domain of \objects" and I an interpretation function that xes the
interpretations of primitive concepts A to be subsets of 4 and primitive features
f to be total functions f I : 4 ! 4. The interpretation is extended to path
expressions, id I = x:x, (f: Pf)I = PfI f I and derived concept descriptions
C as de ned in the center column of Figure 1. An interpretation I satis es an
inclusion dependency C1 v C2 if C1I C2I and is a model of T (I j= T ) if it
satis es all inclusion dependencies in T . The logical implication problem asks if
T j= Q holds, that is, if Q is satis ed in all models of T . 2
Here, we do not consider so-called ABoxes, that is, sets of assertions about
membership of individuals in descriptions, nor do we consider the associated
problem of knowledge base consistency. Note, however, that such issues can be
reduced to logical implication problems involving posed questions that utilize
value restrictions and equational same-as descriptions [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        The logical implication problem for TBoxes and posed questions
characterized so far, that allow arbitrary concepts in inclusion dependencies, is not
decidable for a variety of reasons. For example, see [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] for one case involving arbitrary
1 We also simplify this notation by allowing a syntactic composition \Pf1 : Pf2" that
stands for their concatenation.
C ::= A
j C1 u C2
j C1 t C2
j :C
j 8 Pf :C
j 9f 1
      </p>
      <p>AI 4
C1I \ C2I
C1I [ C2I
4 n CI
fx : PfI (x) 2 CI g
ff I (x) : x 2 4g
(primitive concept; A 2 PC)
(conjunction)
(disjunction)</p>
      <p>(negation)
(value restriction)
(inverse feature)
j C : Pf1; :::; Pfk ! Pf0
j &gt;
j ?
j (Pf1 = Pf2)
fx : 8 y 2 CI : Vik=1 PfiI (x) = PfiI (y)</p>
      <p>! Pf0I (x) = Pf0I (y)g
4
;
fx : Pf1I (x) = Pf2I (x)g
(PFD)</p>
      <p>(top)
(bottom)
(same-as)</p>
      <p>PFDs and ABoxes encoded in the above manner. However, restrictions on
occurrences of concept constructors has led to a number of decidable fragments
that range from light-weight to expressive dialects of feature-based DLs. The
restrictions that obtain DLF I, DLF DI, CF DI8nc and CF DIk8c , the focus of
our attention, are given in Section 3 for the rst two cases and in Section 4 for
the last two cases.</p>
      <p>The two de nitions that follow introduce the necessary modi cations to our
characterization of feature-based DLs to accommodate features interpreted as
partial functions. To refer to such modi cations, we follow a notational
convention of qualifying particular dialects with the word \partial " whenever we intend
such modi cations to apply, as in partial DLF DI for example.</p>
      <p>De nition 2 (Partial Features and Existential Restrictions) The syntax
of feature-based DLs is extended with an additional concept constructor of the
form \9f ", called an existential restriction. Semantics is given as follows:
1. Features f 2 F are now interpreted as partial functions on 4 (i.e., the result
can be unde ned for some elements of 4); and
2. The 9f concept constructor is interpreted as fx : 9y 2 4:f I (x) = yg.
In this setting, a path function Pf naturally denotes a partial function resulting
from the composition of partial functions. We also adopt the strict
interpretation of unde ned values. This means that equality holds only when both of its
arguments are de ned and denote the same object, and that set membership (2)
requires only de ned values to be members of its right hand side argument. 2
Observe that features are still functional, and that there is therefore no need for
a quali ed existential restriction of the form \9f:C", with semantics given as
follows:</p>
      <p>(9f:C)I = fx : 9y 2 4:f I (x) = y ^ y 2 CI g:
Indeed, such a restriction can be simulated by assuming \9f:C" to be shorthand
for \(9f u 8f:C)". Assuming this, we now write \(9Pf)" in the following as
shorthand for \(9f1 u 8f1:(9f2 u 8f2:(: : : (9fk) : : :)))": All that remains for our
modi cations is to revise the semantics of the PFD constructor to account for the
presence of partial features. We adopt the minimum necessary revision needed
for recognizing when one violates a PFD inclusion dependency of the form
\ C1 v C2 : Pf1; : : : ; Pfk ! Pf0 " :
At the least, this should happen when: (1) all path functions Pf0; : : : ; Pfk are
de ned for a C1 object e1 and a C2 object e2, and (2) PfiI (e1) = PfiI (e2) holds
only for i &gt; 0. This yields the following modi cation to the interpretation of
PFDs in the presence of partial features that we now adopt:
(C : Pf1; : : : ; Pfk ! Pf0)I = fx : 8y:y 2 CI ^ x 2 (9Pf0)I ^ y 2 (9Pf0)I ^</p>
      <p>Vik=1(x 2 (9Pfi)I ^ y 2 (9Pfi)I ^ PfiI (x) = PfiI (y)) ! Pf0I (x) = Pf0I (y)g:
Observe that this de nition coincides with the original semantics of the PFD
constructor given in Figure 1 when features are interpreted as total functions.</p>
      <p>The following illustrates the use of existential restrictions and PFDs in DLF
dialects with partial features. This includes two examples of constraints
mentioned informally in our introductory comments together with two further
examples showing how PFDs can be used to capture keys and functional dependencies.
Note that all can be captured in any of the dialects mentioned below:
1. EM P v 9salary (every employee has a salary);
2. DEP T v :9salary (departments do not have a salary);
3. DEP T v DEP T : manager ! id (no two departments have the same
manager); and
4. EM P v EM P : paygrade ! salary (employee pay grades determine salaries).
3</p>
      <p>
        Expressive Logics with Inverses in the DLF Family
We now introduce a pair of expressive feature-based DLs and show how
logical consequence for their partial variants can be simulated in a straightforward
fashion. The rst is called DLF I and allows both TBox and posed question
dependencies to contain concepts formed from primitive concepts and bottom
using the following concept constructors: conjunction, disjunction, negation, value
restriction and inverse features. The second is called DLF DI, and allows, in
addition, the PFD concept constructor to appear on the right hand sides of
inclusion dependencies. Both logics are a special case of the dialect DLF AD
introduced in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This earlier DL admitted quali ed inverse features together
with restrictions on their use which yielded cases for which the logical
implication problem was complete for EXPTIME. One of the restrictions relating to
a coherency condition on terminologies introduced in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is obtained when
inverse features are unquali ed, as is the case for both DLF I and DLF DI. Thus,
overall restrictions on syntax for these DLs yield expressive Boolean complete
dialects with a logical implication problem that is complete for EXPTIME as
well. Conversely, extensions, such as allowing PFDs on the left-hand sides of
inclusion dependencies, or allowing equational constraints in the posed questions
(or equivalently ABoxes), make logical consequence undecidable [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>We now proceed to demonstrate that partial features can be e ectively
simulated in DLF I and DLF DI by introducing an auxiliary primitive concept G
that stands for existing or generated objects, and by using value restrictions to
assign membership of objects generated by the 9f constructor to this concept.
All remaining inclusion dependencies are then simply preconditioned by this
auxiliary concept.</p>
      <p>Formally, let T be a partial DLF I TBox in which all inclusion dependencies
are of the form &gt; v C. We de ne a DLF I TBox TDLFI as</p>
      <p>TDLFI = fG v C[9f 7! 8f:G; for all f 2 F ] j &gt; v C 2 T g</p>
      <p>[ f8f:G v G j f 2 F g;
where G is a primitive concept not occurring in T . Note that the substitution
[9f 7! 8f:G; for all f 2 F ] is applied simultaneously to all occurrences of the
9f constructor in the concept C.</p>
      <p>Theorem 3 Let T be a partial DLF I TBox in which all inclusion
dependencies are of the form &gt; v C. Then</p>
      <p>T j= &gt; v C if and only if TDLFI j= G v C[9f 7! 8f:G; for all f 2 F ];
for G a fresh primitive concept.</p>
      <p>Proof (sketch): For any I where I j= TDLFI , we can de ne an interpretation
J = (GI ; jIGI ). It is easy to verify that J j= T and also that J j= &gt; v C since
I j= G v C[9f 7! 8f:G; for all f 2 F ].</p>
      <p>For the other direction, we need to extend a model J of T to a model I of
TDLFI by setting GI = 4J and by adding missing features connecting I to
complete F trees with all nodes in (:G)I . This way, either I coincides with
J or satis es dependencies in TDLFI and G v C[9f 7! 8f:G; for all f 2 F ]
vacuously. 2
To extend this construction to the full partial DLF DI logic, it is su cient
to encode the path function existence preconditions in terms of the auxiliary
concept G as follows: if A v B : Pf1; : : : ; Pfk ! Pf0 2 T then</p>
      <p>k k
A u (l 8 Pfi :G) v B u (l 8 Pfi :G) : Pf1; : : : ; Pfk ! Pf0 (1)
i=0 i=0
is added to TDLFDI . Here, we are assuming w.l.o.g. that A and B are primitive
concept names (DLF DI allows one to give such names to complex concepts).
Theorem 4 Let T be a partial DLF DI TBox in which all inclusion
dependencies are of the form &gt; v C or A v B : Pf1; : : : ; Pfk ! Pf0. Then
T j= &gt; v C if and only if TDLFDI j= G v C[9f 7! 8f:G; for all f 2 F ]; and
T j= A v B : Pf1; : : : ; Pfk ! Pf if and only if TDLFDI j= (1);
for G a fresh primitive concept.</p>
      <p>Proof (sketch): The claim follows by observing that (1) captures properly the
semantics of PFDs and then by appealing to Theorem 3. 2</p>
      <p>DLF DI.</p>
      <p>Corollary 5 Logical implication is EXPTIME-complete for partial
for partial
DLF I and
2
Similar results can be obtained for other members of the DLF I family.
4</p>
      <p>
        Tractable Logics with Inverses in the CF D Sub-Family
We now introduce a new member of the DLF I sub-facility of DLs called CF DIk8c ,
and show how the added expressiveness of partial functions and existential
re8
striction can be simulated in CF DIkc in the same general way as was done
above for the expressive cases. (Recall that members of this sub-family have
8
PTIME complexity for determining logical consequence.) CF DIkc is an
extension of the CF D dialect CF DI8nc in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], the rst member of this sub-family to
allow the use of feature inversion. The extension adds to this earlier dialect a
capability for a limited use of conjunction in left-hand-sides of inclusion
dependencies which, among other things, yields the ability to simulate partial features
in partial CF DIk8c .
      </p>
      <p>
        Our new DL, like all members of the CF D family, allows the use of an ABox
(optionally captured by using same-as in left-hand-sides of posed questions) and
therefore requires PFDs to adhere to one of the following two forms to avoid both
undecidability [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and indeed intractability [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]:
      </p>
      <p>
        PFD ::= A : Pf1; : : : ; Pf : Pfi; : : : ; Pfk ! Pf
j A : Pf1; : : : ; Pfi :f; : : : ; Pfk ! Pfi :g
(key )
(functional dependency )
(2)
With this restriction, introduced in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], posed questions can contain inclusion
dependencies formed from concepts in Figure 1, albeit with a few mild restrictions
when tractability in the size of the posed question is required. For simplicity,
however, we assume that the concepts in the posed question Q = E1 v E2
adhere to the following grammar:
      </p>
      <p>
        E ::= A j ? j E u E j 8 Pf :E j (Pf1 = Pf2):
More complex posed questions, e.g., ones that contain the PFD constructor [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ],
can be equivalently expressed in the above grammar (perhaps as a sequence of
posed questions).
8
      </p>
      <p>Inclusion dependencies C v D in a CF DIkc TBox are respectively given by
the following grammars:</p>
      <p>C ::= A j 8f:A j A1 u A2</p>
      <p>D ::= A j ? j 8f:A j 9f 1 j PFD
For technical reasons we assume, w.l.o.g., that either C or D is a primitive
concept for the remainder of the paper.</p>
      <p>8</p>
      <p>
        In comparison to CF DInc introduced in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], this new dialect now allows
inclusion dependencies of the form \(A1uA2) v A3". In general, unrestricted use of
conjunction on the left-hand side of inclusion dependencies leads to
EXPTIMEcompleteness of the associated reasoning problems, and so it is necessary to
somehow restrict this use of conjunction. The intuition behind the restriction
we adopt below is to limit the number of conjuncts that need to be considered
on the left-hand sides of inclusion dependencies. Unfortunately, this property
is not a simple syntactic restriction, e.g., on the form of inclusion
dependencies in a TBox. Indeed, it is easy to see that allowing inclusion dependencies in
8
CF DIkc of the form above is equivalent to allowing arbitrary conjunctions (due
to inference). Hence, a CF DIk8c TBox is instead given as follows:
De nition 6 (Restricted Conjunction) Let T be a TBox with inclusion
dependencies satisfying the above grammar rules, and let k &gt; 0. We say that T is
a CF DIk8c TBox if, whenever T j= (A1 u u An) v B for some set of primitive
concepts fA1; : : : ; Ang [ fBg, then T j= (Ai1 u u Aik ) v B for some k-sized
subset fAi1 ; : : : ; Aik g of the primitive concepts fA1; : : : ; Ang. 2
The following Lemma shows that verifying whether an TBox is an CF DIk8c
TBox can be veri ed in PTIME (for a xed k):
Lemma 7 Let T be a CF DIk8c TBox and k &gt; 0. Then T is not a CF DIk8c
TBox if there are primitive concepts A1; : : : ; Ak+1 and B such that T j= (A1 u
: : : u Ak+1) v B for which the condition in De nition 6 fails.
      </p>
      <p>
        Proof (sketch): Consider an inclusion dependency (A1 u : : : u An) v B where
n &gt; 2 is the smallest value such that the dependency is a logical consequence of
T and such that there no (Ai1 u u Aik ) v B that is also a logical consequence
of T . Observe that there must be a linear input resolution proof (of the
rstorder translation of the problem) of B(x) from T [ fA1(x); : : : ; An(x)g [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Since
the resolution steps with A1(x); : : : ; An(x)g can be performed last and they all
must be present, there is a clause :A1(x); : : : ; :An(x) in the proof. However,
since all input clauses to the problem are binary or ternary and since the proof
starts with :B(x), there must be a one-shorter clause preceding this clause in
this proof. A contradiction. 2
We now consider TBox and concept satis ability in CF DIk8c , and show an
PTIME algorithm by extending the approach for CF DI8nc in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
TBox and Concept Satis ability
      </p>
      <p>8
It is easy to see that every CF DIkc TBox T is consistent (by setting all primitive
concepts to be interpreted as the empty set). To test for (primitive) concept
satis ability we use the following construction:
De nition 8 (TBox Closure) Let T be a CF DIk8c TBox in normal form. We
de ne Clos(T ) to be the least set of subsumptions such that:
1. D v D;
2. D v E and E v F then D v F ;
3. D v E and F E, F 6= ; then D v F ;
4. D v E and D v F then D v E + F (for all E + F
5. A v B 2 T and A D then D v B;
6. 8f:? v ? and ? v 8f:?;
7. D v E then 8f:D v 8f:E;
E [ F );
8. D v 9f 1 and 8f:D v 8f:E then D v E
where (1) D, E, and F are sets of primitive concepts of size at most k, or sets
of value restrictions with respect to a particular feature applied to such sets of
primitive concepts, where (2) E + F is a subset of size between 1 and k of E [ F ,
and where (3) A and B are concepts allowed on the left and right-hand sides of
subsumptions in T . We also con ate sets of concepts and their conjunctions and
value restriction applied to a conjunction with a conjunction of individual value
restrictions. 2
Note that Clos(T ) is polynomial in jT j (and exponential in k). It is also easy to
verify that each inclusion added to Clos(T ) by the inferences (1-4) in De nition 8
is logically implied by T .
8
Theorem 9 (Primitive Concept Satis ability) Let T be a CF DIkc TBox
in normal form and A a primitive concept description. Then A is satis able with
respect to T if and only if A v ? 62 Clos(T ).</p>
      <p>Proof (sketch): Given Clos(T ), an object o, and a primitive concept A, we
de ne the following family of subsets of PC indexed by paths of features (and
their inverses), starting from o, as follows:
1. So = fB j A v B 2 Clos(T )g;
2. Sf(x) = fB j A v 8f:B 2 Clos(T ) and A 2 Sxg, when f 2 F and x not of
the form \f (y)"; and
3. Sf (x) = fB j 8f:A v B and A 2 Sxg, when A0 v 9f 1 2 Clos(T ), A0 2 Sx,
and x not of the form \f (y)".</p>
      <p>We say that Sx is de ned if it conforms to one of the three above cases, and that
it is consistent if ? 62 Sx.</p>
      <p>It is easy to see that
1. If Sf(x) is not consistent, then Sx is not consistent.
2. If Sf (x) is de ned and not consistent, then Sx is not consistent.
We build a model of T in which o 2 AI for some o 2 4 as follows:
{ 4 = fx j Sx is de nedg;
{ f I = f(x; f (x)) j Sf(x) is de nedg [ f(f (x); x) j Sf (x) is de nedg; and
{ AI = fx j Sx is de ned; A 2 Sxg.</p>
      <p>Observe all de ned sets Sx must be consistent. Otherwise, A (2 S0) must be
inconsistent, implying in turn that A v ? 2 Clos(T ), a contradiction. Hence,
I = (4; :I ) is a model of T (it satis es all dependencies in Clos(T )) such that
o 2 AI . 2
Note that the model witnessing satis ability of A does not contain any identical
path agreements and hence vacuously satis es all PFDs in T .</p>
      <p>E(Pf1; Pf2) ! E(Pf2; Pf1)
E(Pf1; Pf2) ^ E(Pf2; Pf3) ! E(Pf1; Pf3)
E(Pf1; Pf2) ! E(Pf1 :f; Pf2 :f ); for fPf1 :f; Pf2 :f g
E(Pf1; Pf2) ^ CC (Pf1) ! CC (Pf2)
PF(T ; Q)
CC1uC2 (Pf) ! CC1 (Pf) and CC1uC2 (Pf) ! CC2 (Pf)
C8 Pf0 :C (Pf) ! CC (Pf : Pf0) for Pf : Pf0 2 PF(T ; Q)
C(Pf1=Pf2)(Pf) ! E(Pf : Pf1; Pf : Pf2)
CC:Pf1;:::;Pfk!Pf0 (Pf) ^ CC (Pf0) ^ (V0&lt;i k E(Pf : Pfi; Pf0 : Pfi)) ! E(Pf : Pf0; Pf0 : Pf0))
CA1 (Pf) ^ : : : ^ CAk (Pf) ! CD(Pf) for all (A1 u : : : u Ak v D) 2 T
CA(Pf :f ) ! CD(Pf) for all (8f:A v D) 2 T</p>
      <p>The above theorem can be used to check satis ability of complex
(nonPFD) concepts; e.g., satis ability of 8 Pf :B w.r.t. T can be tested by checking
satis ability of a new primitive concept A w.r.t. (the normalized version of)
T [ fA v 8 Pf :Bg.</p>
      <p>
        The theorem also provides a technique for checking satis ability of nite
conjunctions of primitive concepts with respect to T :
Logical Implication and Knowledge Base Consistency
Allowing inverse features a ects how PFDs interact with a posed question. In
particular, PFDs in which all path functions have a common pre x may apply
to (pairs of) anonymous individuals mandated by the existence of anonymous
inverse features. In general, to enforce PFDs with respect to a posed question
while avoiding any need to explicitly create anonymous predecessor objects, we
add additional logically implied PFDs to a given TBox as follows:
8
De nition 11 (PFD Enrichment for Inverses) Let T be a CF DIkc TBox
in normal form such that A v B : f: Pf1; : : : ; f: Pfk ! f: Pf 2 T (A v B :
f: Pf1; : : : ; f: Pfk ! id 2 T ) where Pfi 6= id for all 1 i k. Then we require
that A v 8f:A0, B v 8f:B0, and A0 v B0 : Pf1; : : : ; Pfk ! Pf (A0 v B0 :
Pf1; : : : ; Pfk ! id ), where A0 and B0 are fresh primitive concepts, are also in T .
(For further details on this, see [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].) 2
With these restrictions we can now show that the logical implication problem
8
for CF DIkc is in PTIME. Our proof is based on encoding a given problem as
a collection of Horn clauses. The reduction introduces terms that correspond to
path expressions, and relies on the fact that the number of required terms is
polynomial in the size of the problem itself.
      </p>
      <p>De nition 12 (Expansion Rules) Let T and Q be a partial CF D
terminology and a posed question, respectively. We write CON(T ; Q) to denote the set
of all subconcepts appearing in T and Q, de ne PF(T ; Q) to be the set
write CC to denote unary predicates for C 2 CON(T ; Q), and introduce a unary
predicate D and a binary predicate E, with all predicates ranging over the
universe PF(T ; Q). The expansion rules for a given terminology T , denoted R(T ),
are de ned in Figure 2. To deal with the possibility of inconsistency, we add the
following rule that can be applied after the rules in Figure 2 are are exhaustively
applied.2</p>
      <p>If CA1 (Pf); : : : ; CAk (Pf) 2 R(T ) for some Pf 2 PF(T ; Q) and A1 u: : :uAk
is not consistent in T then add C?(Pf) to R(T ).</p>
      <p>A goal for each concept E is a set of ground assertions de ned as follows:
for E = A;
for E = ?;
for E = (Pf1 = Pf2);
GE =
&gt;8 fCA(id )g
&gt;
&gt;
&gt;&gt;&gt; fC?(id )g
&gt;
&gt;
&lt; fE(Pf1; Pf2)g
&gt; GE1 [ GE2
&gt;
&gt;
&gt;
&gt;&gt;&gt; fCC (Pf0 : Pf) j CC (Pf) 2 GE0 g
&gt;: [ fE(Pf0 : Pf1; Pf0 : Pf2) j E(Pf1; Pf2) 2 GE0 g for E = 8 Pf0 :E0:
for E = E1 u E2; and
Given two concept descriptions E1 and E2, we say that</p>
      <p>R(T ) [ fCE1 (id )g j= GE2
if GE2 M for every minimal ground model M of R(T ) over PF(T ; Q) that
contains CE1 (id ) and D(id ). 2
Intuitively, PF(T ; Q) represents a nite graph of objects, predicates E(Pf1; Pf2)
express equality of the objects at the end of paths Pf1 and Pf2, and predicates
CC0 (Pf) express that the object at the end of path Pf is in the interpretation
of concept C0. Note that the expansion rules do not need to take inverses into
account due to De nition 11.</p>
      <p>Logical implication for CF DIk8c TBoxes T and posed questions Q can now
be solved as follows:
Theorem 13 Let T be a terminology and Q a posed question of the form
E1 v E2 in CF DIk8c . Then</p>
      <p>T j= Q i R(T ) [ fCE1 (id )g j= GE2 or</p>
      <p>R(T ) [ fCE1 (id )g j= G8 Pf :?(id ) for some Pf 2 PF(T ; Q):
Proof (sketch): If C?(Pf) for Pf 2 PF(T ; Q) appear in M , where M is the least
model of R(T ) [ fCE1 (id )g R(T ), then the concept E1 is unsatis able w.r.t. T
2 Observe that this is where we rely on the our previous PTIME result concerning the
satis ability of nite conjunctions of primitive concepts.
since only implied facts appear in M , and therefore the subsumption holds for
any E1 and T .</p>
      <p>Otherwise, if R(T ) [ fCE1 (id )g 6j= GE1 , then there must be a model M of R(T ) [
fCE1 (id )g such that G 62 M for some G 2 GE1 . We construct an interpretation
IM such that IM j= T but IM 6j= Q. The interpretation IM contains an object o
for each equivalence class de ned on the set PF(T ; Q) by the interpretation of E.
The class membership of these objects is determined by the membership of the
corresponding path in the interpretations of the CC predicates in M . Note that,
due to the syntactic restriction imposed on PFDs, this is su cient to satisfy
all PFDs in T since any precondition or a non-trivial consequence of a PFD
can only manifest on some path belonging to PF(T ; Q) and beginning at the
distinguished object o. To complete the construction of IM , we simply attach a
unique complete tree F labeled as in Theorem 9 to each leaf node (i.e., a node
that is missing successors). Nodes of these complete trees belong to all primitive
descriptions in IM and thus satisfy T . Conversely, assume R(T ) [ fCE1 (id )g j=
GE1 but that T 6j= Q. Then there must be an interpretation I and an object
o 2 4 such that I j= T and o 2 E1I E2I . Thus, there is a model MI of R(T )
such that CE1 (id ) 2 M . In this model, the element id 2 PF(T ; Q) serves as</p>
      <p>
        I
the counterpart of the object o and the interpretations of the predicates CC and
E is extracted from I by navigating all (pairs of) path functions in PF(T ; Q).
However, since o 62 E2I , it must be the case that MI is a strict subset of the least
model of R(T ) [ fCE1 (id )g; a contradiction. 2
Corollary 14 Let T be a terminology and Q a posed question in CF DIk8c .
Then the implication problem T j= Q is complete for PTIME. 2
Knowledge base consistency can now be reduced to logical implication as shown
in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>Logical Consequence in partial CF DIk8c
8
The following de nition now shows how CF DIkc is able to simulate its extension
with partial functions and existential restrictions in a straightforward manner.
8 8
De nition 15 Let T be a partial CF DIkc TBox. We de ne a CF DI(k+1 )c
TBox TCFDI(8k+1)c associated with T by initializing with the inclusion
dependency 8f:G v G and then mapping inclusion dependencies in T to TCFDI(8k+1)c
according to the following:</p>
      <p>A1 v B 7! (A1 u G) v B
(A1 u A2) v B 7! (A1 u A2) v A3; (A3 u G) v B
8f:A1 v B 7! 8f:A1 v A2; (A2 u G) v B</p>
      <p>A1 v 9f 7! A1 v 8f:G
(where A3 is fresh)
(where A2 is fresh)
2
Indeed, it is easy to verify that TCFDI(8k+1)c is a CF DI(8k+1 )c TBox and that:
8
Theorem 16 Let T be a partial CF DIkc TBox and Q a posed question. Then
T j= Q if and only if TCFDI(8k+1)c j= Q[9f 7! 8f:G; for all f 2 F ]:</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Jason</given-names>
            <surname>St. Jacques</surname>
          </string-name>
          , David Toman, and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>Object-relational queries over CF DInc knowledge bases: OBDA for the SQL-Literate</article-title>
          .
          <source>In Proc. International Joint Conference on Arti cial Intelligence, IJCAI</source>
          , pages
          <volume>1258</volume>
          {
          <fpage>1264</fpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. John W. Lloyd.
          <source>Foundations of Logic Programming</source>
          . Springer-Verlag,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>David</given-names>
            <surname>Toman</surname>
          </string-name>
          and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On the interaction between inverse features and path-functional dependencies in description logics</article-title>
          .
          <source>In Proc. Int. Joint Conf. on Arti cial Intelligence (IJCAI)</source>
          , pages
          <fpage>603</fpage>
          {
          <fpage>608</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>David</given-names>
            <surname>Toman</surname>
          </string-name>
          and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On keys and functional dependencies as rstclass citizens in description logics</article-title>
          .
          <source>J. Aut. Reasoning</source>
          ,
          <volume>40</volume>
          (
          <issue>2-3</issue>
          ):
          <volume>117</volume>
          {
          <fpage>132</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>David</given-names>
            <surname>Toman</surname>
          </string-name>
          and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>Applications and extensions of PTIME description logics with functional constraints</article-title>
          .
          <source>In Proc. Int. Joint Conf. on Arti cial Intelligence (IJCAI)</source>
          , pages
          <fpage>948</fpage>
          {
          <fpage>954</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>David</given-names>
            <surname>Toman</surname>
          </string-name>
          and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On adding inverse features to the description logic CF D8nc</article-title>
          .
          <source>In PRICAI 2014: Trends in Arti cial Intelligence - 13th Paci c Rim International Conference on Arti cial Intelligence</source>
          , Gold Coast,
          <string-name>
            <surname>QLD</surname>
          </string-name>
          , Australia, December 1-
          <issue>5</issue>
          ,
          <year>2014</year>
          ., pages
          <volume>587</volume>
          {
          <fpage>599</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>David</given-names>
            <surname>Toman</surname>
          </string-name>
          and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On partial features in the DLF family of description logics</article-title>
          . In Richard Booth and Min-Ling Zhang, editors,
          <source>PRICAI 2016: Trends in Arti cial Intelligence - 14th Paci c Rim International Conference on Arti cial Intelligence</source>
          , Phuket, Thailand,
          <source>August 22-26</source>
          ,
          <year>2016</year>
          , Proceedings, volume
          <volume>9810</volume>
          of Lecture Notes in Computer Science, pages
          <volume>529</volume>
          {
          <fpage>542</fpage>
          . Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>