<!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>Happy Ever After: Temporally Attributed Description Logics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ana Ozaki</string-name>
          <email>A@X</email>
          <email>A@bafter</email>
          <email>A@btime</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Markus Krötzsch</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sebastian Rudolph</string-name>
          <email>P@X</email>
          <email>P@bafter</email>
          <email>P@btime</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Center for Advancing Electronics Dresden (cfaed)</institution>
          ,
          <addr-line>TU Dresden</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Computational Logic Group, TU Dresden</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>KRDB Research Centre, Free University of Bozen-Bolzano</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>time: X :time</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Knowledge graphs are based on graph models enriched with (sets of) attribute-value pairs, called annotations, attached to vertices and edges. Many application scenarios of knowledge graphs crucially rely on the frequent use of annotations related to time. Based on recently proposed attributed logics, we design description logics enriched with temporal annotations whose values are interpreted over discrete time. Investigating the complexity of reasoning in this new formalism, T it turns out that reasoning in our temporally attributed description logic ALCH@ is highly undecidable; thus we establish restrictions where it becomes decidable, and even tractable.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Graph-based data formats play an essential role in modern information management, since
they offer schematic flexibility, ease information re-use, and simplify data integration.
Ontological knowledge representation has been shown to offer many benefits to such
data-intensive applications, e.g., by supporting integration, querying, error detection, or
repair. However, practical knowledge graphs, such as Wikidata [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] or YAGO2 [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], are
based on enriched graphs where edges are augmented with additional annotations. To
model these enriched graphs, attributed logics have been proposed as a way of integrating
annotations with logical reasoning [
        <xref ref-type="bibr" rid="ref14 ref15 ref20">20,14,15</xref>
        ]. Other formalisms for reasoning over
annotated relations have been studied in the context of data modelling [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>Annotations in practical knowledge graphs have many purposes, such as recording
provenance, specifying context, or encoding n-ary relations. One of their most important
uses, however, is to encode temporal validity of statements. In Wikidata, e.g., start/end
time and point in time are among the most frequent annotations, used in 5.4 million
statements overall.1 In YAGO2, time and space are the main types of annotations
considered.</p>
      <p>
        Reasoning with time clearly requires an adequate semantics, and many approaches
were proposed. Validity time points and intervals are a classical topic in data management
[
        <xref ref-type="bibr" rid="ref10 ref9">9,10</xref>
        ], and similar models of time have also been studied in ontologies [
        <xref ref-type="bibr" rid="ref16 ref2">2,16</xref>
        ]. However,
researchers in ontologies have most commonly focussed on abstract models of time as
1 As of October 2018, the only more common annotations are reference (provenance) and
determination method (context); see https://tools.wmflabs.org/sqid/#/browse?type=
properties&amp;sortpropertyqualifiers=fa-sort-desc
used in temporal logics [
        <xref ref-type="bibr" rid="ref19 ref25 ref5">19,25,5</xref>
        ]. Temporal reasoning in ALC with concrete domains
was proposed by Lutz et. al [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. It is known that satisfiability of ALC with a concrete
domain consisting of a dense domain and containing the predicates = and &lt; is
ExpTimecomplete [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. In the same setting but for discrete time, the complexity of the satisfiability
problem is open, a criterion which only guarantees decidability has been proposed by
Carapelle and Turhan [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. None of these approaches has been considered for attributed
logics yet, and indeed support for temporal reasoning for knowledge graphs, such as
Wikidata and YAGO2, is still missing today. In this paper, we address this shortcoming
by endowing attributed description logics with a temporal semantics for annotations.
Indeed, annotations are already well-suited for representing time-related data.
Example 1. The fact that Johannes Gutenberg died in Mainz in 1468 could be encoded
in attributed DLs as:
      </p>
      <p>
        The paper is self-contained. Details on some long proofs can be found in the appendix
of the extended online version [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Temporally Attributed DLs</title>
      <p>
        We first present the syntax and underlying intuition of temporally attributed description
logics. In DL, a true fact corresponds to the membership of an element in a class, or
of a pair of elements in a binary relation. Attributed DLs further allow each true fact
to carry a finite set of annotations [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] , given as attribute-value pairs. As suggested in
Example 1, the same relationship may be true with several different annotation sets, e.g.,
in case Gutenberg also lived elsewhere.
      </p>
      <p>We define our description logic ALCHT@ as a multi-sorted version of the attributed
DL ALCH@, thereby introducing datatypes for time points and intervals. Elements of
the different types are represented by members of mutually disjoint sets of (abstract)
individual names NI, time points NT, and time intervals N2 . We represent time points
T
by natural numbers, and assume that elements of NT (N2T) are (pairs of) numbers in
binary encoding. We write »k; `¼ for a pair of numbers k; ` in N2 . Moreover, we require
T
that there are the following seven special individual names, called temporal attributes:
time; before; after; until; since; during; between 2 NI.</p>
      <p>The intuitive meaning of temporal attributes is as one might expect: time describes
individual times at which a statement is true, while the others describe (half-open)
intervals. The meaning of before, after, and between is existential in that they require
the statement to hold only at some time in the interval, while until, since, and during are
universal and require something to be true throughout an interval.</p>
      <p>Axioms of ALCHT@ are further based on sets of concept names NC, role names NR,
and (set) variables NV. Attributes are represented by individual names, and we associate
a value type vt¹aº with each individual a 2 NI for this purpose: during and between have
value type N2 , all other temporal attributes have value type NT, and all other individuals</p>
      <p>T
have value type NI. An attribute-value pair is an expression a: v where a 2 NI and
v 2 vt¹aº. Now, concept and role assertions of ALCHT@ have the following form:</p>
      <p>C; D F &gt; j A@S j :C j ¹C u Dº j 9R:C
(1)
with A 2 NC, S 2 S and R an ALCHT@ role expression. We use abbreviations ¹C t Dº,
?, and 8R:C for :¹:C u :Dº, :&gt;, and :¹9R::Cº, respectively.</p>
      <p>ALCHT@ axioms are essentially just DL inclusions between ALCHT@ role and
concept expressions, which may, however, share variables.</p>
      <p>Example 2. In an ontology containing biographical information, we might want to make
sure that children cannot be born before their parents. This can be expressed by the axiom
Similar axioms can be used, e.g., to state that nobody has more than one birthday (“is
born before being born”).</p>
      <p>It is sometimes useful to represent annotations by variables while also specifying
some further constraints on their possible values. This can be accommodated by adding
such constraints as (optional) prefixes to axioms. Hence we define an ALCHT@ concept
inclusion as an expression of the form</p>
      <p>X1 : S1; : : : ; Xn : Sn ¹C v Dº;
(2)
where C; D are ALCHT@ concept expressions, S1; : : : ; Sn 2 S are closed or open specifiers,
and X1; : : : ; Xn 2 NV are set variables occurring in C; D or in S1; : : : ; Sn. ALCHT@ role
inclusions are defined analogously, but with role expressions instead of the concept
expressions. An ALCHT@ ontology is a set of ALCHT@ assertions, and role and concept
inclusions. To simplify notation, we sometimes omit the specifier b c (meaning “any
annotation set”) in role or concept expressions. In this sense, any ALCH axiom is also
an ALCHT@ axiom.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Formal Semantics</title>
      <p>We first recall the general semantics of attributed DLs without temporal attributes. The
semantics of ALCHT@ can then be obtained as a multi-sorted extension that imposes
additional restrictions on the interpretation of time.</p>
      <p>An interpretation I = ¹ I; I º of attributed logic consists of a non-empty domain
I and a function I . Individual names a 2 NI are interpreted as elements aI 2 I .
To interpret annotation sets, we use the set I B Pfin I I of all finite binary
relations over I . Now each concept name C 2 NC is interpreted as a set CI I I
of elements with annotations, and each role name r 2 NR is interpreted as a set
rI I I I of pairs of elements with annotations. Note that each element
(pair of elements) may appear with multiple different annotations. I satisfies a concept
assertion C¹aº@bda1 : v1; : : : ; an : vnce if ¹aI; f¹a1I; v1I º; : : : ; ¹anI; vnI ºgº 2 CI , and likewise
for role assertions. Expressions with free set variables are interpreted using variable
assignments Z : NV ! I . A specifier S 2 S is interpreted as a set SI;Z I of
matching annotation sets. We set XI;Z B fZ¹Xºg for variables X 2 NV. The semantics
of closed specifiers is defined as follows:</p>
      <p>(i) bda: bceI;Z B ff¹aI; bI ºgg
((iiiii)) bdbdaa1: :Xv:1b; ce:I:;:Z; aBn : fvfn¹ceaII;Z; Bºj f¹ÐbIin;=1ºF2i gZw¹hXeºreggfFi g = bdai : viceI;Z for all i 2 f1; : : : ; ng.
SI;Z therefore is a singleton set for variables and closed specifiers. For open specifiers,
however, we define ba1 : v1; : : : ; an : vncI;Z to be the set
fF 2</p>
      <p>I j F</p>
      <p>G for fGg = bda1 : v1; : : : ; an : vnceI;Z g:
Now given A 2 NC, r 2 NR, and S 2 S, we define:
¹A@SºI;Z B f j ¹ ; Fº 2 AI for some F 2 SI;Z g;
¹r@SºI;Z B f¹ ; º j ¹ ; ; Fº 2 rI for some F 2 SI;Z g:
Further DL expressions are defined as usual: &gt;I;Z = I , :CI;Z = I n CI;Z , ¹C u
DºI;Z = CI;Z \ DI;Z , and ¹9R:CºI;Z = f j there is ¹ ; º 2 RI;Z with 2 CI;Z g.</p>
      <p>I satisfies a concept inclusion of the form (2) if, for all variable assignments Z
that satisfy Z ¹Xi º 2 SiI;Z for all 1 i n, we have CI;Z DI;Z . Satisfaction of role
inclusions is defined analogously. I satisfies an ontology if it satisfies all of its axioms.
As usual, j= denotes both satisfaction and the induced logical entailment relation.
Adding Time Time points t 2 NT are encodings of natural numbers, which we denote
by tI . Analogously, vI denotes a pair of numbers for a time interval v 2 N2 . To
T
represent time, we consider intervals of natural numbers, which can be finite intervals
»k; `¼ = fn 2 N j k n `g or infinite intervals »k; 1º = fn 2 N j k ng. A temporal
domain TI is a finite or infinite interval such that tI 2 TI for all t 2 NT and vI 2 TI TI
for all v 2 N2T. Note that TI can be finite if NT and N2T are (which is always admissible,
since any ontology mentions only finitely many time points).</p>
      <p>A time-sorted interpretation I = ¹ I; I º has a sorted domain I that is a disjoint
union II [ TI [ 2IT , where II is the abstract domain, TI is a temporal domain, and
2IT = TI TI . We interpret individual names a 2 NI as elements aI 2 II . A pair
¹ ; º 2 II I is well-typed, if one of the following holds:
(i)
(ii)
(iii)
= aI for a temporal attribute a of value type NT and
= aI for a temporal attribute a of value type N2 and
T
, aI for all temporal attributes a and 2 II .
Then I is the set of all finite sets of well-typed pairs. The remainder of the interpretation
function is defined as in the unsorted case, based on this sorted definition of I .</p>
      <p>Time-sorted interpretations can be used to interpret ALCHT@ ontologies, but they do
not take the intended semantics of time into account yet. For example, we might find that
A¹cº@bdafter: 1993ce holds whereas A¹cº@bdtime: tce does not hold for any time t 2 NT
with tI &gt; 1993. To ensure consistency, we would like to view an interpretation with
temporal domain TI as a sequence ¹Ii ºi 2 TI of regular (unsorted) interpretations that
define the state of the world at each point in time. Such a sequence represents a local
view of time as a sequence of events, whereas the time-sorted interpretation represents
a global view that can explicitly refer to time points. Axioms of ALCHT@ refer to this
global view, but it should be based on an actual sequence of events. To simplify the
relationship between local and global views, we assume that the underlying abstract
domain II and interpretation of constants remains the same over time.
Definition 3. Consider a temporal domain TI and an abstract domain II , and let
¹Ii ºi 2 TI be a sequence of ALCH@ interpretations with domain II , such that, for all
a 2 NI, we have aIi = aIj for all i; j 2 TI .</p>
      <p>We define a global interpretation for ¹Ii ºi 2 TI as a multisorted interpretation I =
¹ I; I º as follows. Let aI = aIi for all a 2 NI. For any finite set F 2 I , let
FI B F \ ¹ II II º denote its abstract part without any temporal attributes. For any
A 2 NC, 2 I , and F 2 I with F n FI , ;, we have ¹ ; Fº 2 AI if and only if2
¹ ; FI º 2 AIi for some i 2 TI , and the following conditions hold for all ¹aI; xº 2 F:
2 ‘for some i 2 TI ’ is useful for attributes which universally quantify time points (e.g., until).
– if a = time, then ¹ ; FI º 2 AIx ,
– if a = before, then ¹ ; FI º 2 AIj for some j &lt; x,
– if a = after, then ¹ ; FI º 2 AIj for some j &gt; x,
– if a = until, then ¹ ; FI º 2 AIj for all j x,
– if a = since, then ¹ ; FI º 2 AIj for all j x,
– if a = between, then ¹ ; FI º 2 AIj for some j 2 »x¼,
– if a = during, then ¹ ; FI º 2 AIj for all j 2 »x¼,
where »x¼ for an element x 2 2IT denotes the finite interval represented by the pair of
numbers x, and j 2 TI . For roles r 2 NR, we define ¹ ; ; Fº 2 r I analogously.</p>
      <p>In words: in a global interpretation all tuples are consistent with the given sequence
of local interpretations. One can see a global interpretation as a snapshot of a local
interpretation, with timestamps encoding the information of the temporal sequence.
If a global interpretation does not contain temporal attributes the characterization of
Definition 3 holds vacuously for any temporal sequence, meaning that without temporal
attributes the semantics is essentially the same as for ALCH@.</p>
      <p>Definition 4. An interpretation of ALCHT@ is a time-sorted interpretation I that is a
global interpretation of an interpretation sequence ¹Ii ºi 2 TI as in Definition 3.</p>
      <p>A model of an ALCHT@ ontology O is an ALCHT@ interpretation that satisfies O,
and O entails an axiom , written O j= , if is satisfied by all models of O.
T</p>
      <p>By virtue of the syntax and semantics of ALCH@ we can express background
knowledge that helps to maintain integrity of the annotated knowledge and allows us to
derive new information from it.</p>
      <p>Example 5. Along the lines of Example 2, we can state, e.g., that people cannot live
after their death:</p>
      <sec id="sec-3-1">
        <title>Lived¹Gutenbergº@bdbetween:»1394;1468¼ce</title>
        <p>Some temporal attributes are closely related. Clearly, time can be captured by using
during or between with singleton intervals. Conversely, during can be expressed by
specifying all time points in the respective interval explicitly using time, but this incurs
an exponential blow-up over the binary encoding of time intervals. Similarly, between
could be expressed as a disjunction of statements with specific times. Since time can be
infinite, since and after cannot be captured using finite intervals. It may seem as if until
and before correspond to during and between using intervals starting at 0. However, it is
not certain that 0 is the first element in the temporal domain of an interpretation, and the
next example shows that this cannot be assumed in general.</p>
        <p>Example 6. The ontology with the two axioms C¹aº@bduntil: 10ce and C@bdbefore: 5ce v ?
is satisfiable in ALCHT@, but it does not have models that have times before 5. Replacing
until: 10 with during: »0; 10¼ would therefore lead to an inconsistent ontology.</p>
        <p>T
Reasoning in ALCH@
T . Our first result,
In this section, we study the expressivity and decidability in ALCH@
Theorem 7, shows that reasoning is on the first level of the analytical hierarchy and
therefore highly undecidable.</p>
        <p>Theorem 7. Satisfiability of ALCHT@ ontologies is 11-hard, and thus not recursively
enumerable. Moreover, the problem is 11-hard even with at most one set variable per
inclusion and with only the temporal attributes time and after.</p>
        <p>
          Proof. We reduce from the following tiling problem, known to be 11-hard [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]: given
a finite set of tile types T with horizontal and vertical compatibility relations H and V ,
respectively, and t0 2 T , decide whether one can tile N N with t0 appearing infinitely
often in the first row. We define an ALCHT@ ontology OT;t0 that expresses this property.
In our encoding, we use the following symbols:
– a concept name A, to mark individuals representing a grid position with a time point;
– a concept name P to keep time points associated with previous columns in the grid;
– concept names At , for each t 2 T , to mark individuals with tile types;
– an individual name a, to be connected with the first row of the grid;
– an auxiliary concept name I, to mark the individual a, and a concept name B, used
to create the vertical axis;
– role names r; s, to connect horizontally and vertically the elements of the grid,
respectively.
        </p>
        <p>We define OT;t0 as the set of the following ALCHT@ assertion and concept inclusions. We
start encoding the first row of the grid with an assertion I¹aº and the concept inclusions:
Every element in A must be marked in at most one time point (in fact, exactly one):
(3)
Every element representing a grid position can be associated with exactly one tile type at
the same time point:
Ä
to ensure that elements are in At and A at the same time point (exactly one one, see
Eq. 3). The condition that t0 appears infinitely often in the first row is expressed with:
To vertically connect subsequent rows of the grid, we have: I v B and B v 9s:B: We
add, for each t 2 T , the following inclusion to ensure compatibility between vertically
adjacent tile types:
Ä
We also have:
to ensure that the set of time points in each row is the same. We now encode compatibility
between horizontally adjacent tile types. We first state that, given a node associated with
a time point p, for every sibling node d, if d is associated with a time point after p then
we mark d with P and p:
For each node, P keeps the time points associated with previous columns in the grid
(finitely many). We also have:
to ensure that P keeps only those previous time points. Finally, for each t 2 T , we add to
OT;t0 the inclusion:
Ä
¹t;t0º2H</p>
        <p>At0º:
Intuitively, as P keeps the time points associated with previous columns in the grid, only
the node representing the horizontally adjacent grid position of a node associated with a
time point p will not be marked with P after p.</p>
        <p>
          Theorem 8 shows that even if after is only allowed in assertions reasoning is
undecidable, though, in the arithmetical hierarchy [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ].
        </p>
        <p>Theorem 8. Satisfiability of ALCHT@ ontologies with the temporal attributes time; after
and before but after only in assertions is 10-complete (recall 10 stands for RE). The
problem is 10-hard even with at most one set variable per inclusion.</p>
        <p>
          To recover decidability, we need to restrict ALCHT@ in some way. A simple approach
of doing so is to consider ground ALCHT@ where we disallow set variables altogether.
It is clear from the known complexity of ALCH that reasoning is ExpTime-hard.
We establish a matching membership result by providing a satisfiability-preserving
polynomial time translation to ALCH extended with role conjunctions and disjunctions
(denoted ALCHb), where satisfiability is known to be in ExpTime [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ].
Theorem 9. Satisfiability of ground ALCHT@ ontologies is ExpTime-complete.
Proof. Consider a ground ALCHT@ ontology O, and let k0 &lt; : : : &lt; kn be the ascending
sequence of all numbers mentioned (in binary encoding) in time points or in time intervals
in O. We define NO B fki j 0 i ng [ fki + 1 j 0 i &lt; ng, and let kmin B min¹NOº
and kmax = max¹NOº, where we assume kmin = kmax = 0 if NO = ;. For a finite interval
Tvhe Nnu, mlebteNr Ovofbienttehrevaslest ionf Nalvl fithneitne,isnopno-lyemnopmtyiailnitnertvhaelssiuze ovf Ow.ith end points in NO.
        </p>
        <p>We translate O into an AOLCHb ontology Oy as follows. First, Oy contains every
axiom from O, with each annotated concept name A@S and each annotated role name
r @S replaced by a fresh concept name AS and a fresh role name rS , respectively.</p>
        <p>Second, given a ground specifier S, we denote by S¹a : bº the result of removing
all temporal attributes from S and adding the pair a : b. Moreover, let ST be the set of
temporal attribute-value pairs in S. Then, for each AS and rS with ST , ;, Oy contains
the equivalences (as usual, refers to bidirectional v here):</p>
        <p>AS</p>
        <p>/
¹a:bº2ST
¹AS¹a:bºº
]
and rS
/
¹rS¹a:bºº</p>
        <p>]
¹a:bº2ST
(4)
where the concept/role expressions ¹HS¹a:bºº] for H 2 f A; r g are defined as follows:
– ¹HS¹during:vºº] = .u 2NOv HS¹during:uº
– ¹HS¹between:vºº] = Ãk 2¹v\NOº HS¹during:»k;k¼º
– ¹HS¹time:kºº] = ¹HS¹during:»k;k¼ºº]
– ¹HS¹since:kºº] = ¹HS¹during:»k;kmax¼ºº] u HS¹since:kmaxº
– ¹HS¹until:kºº] = ¹HS¹during:»kmin;k¼ºº] u HS¹until:kminº
– ¹HS¹after:kºº] = ¹HS¹between:»k+1;kmax¼ºº] t HS¹after:kmaxº
– ¹HS¹before:kºº] = ¹HS¹between:»kmin;k 1¼ºº] t HS¹before:kminº
where k , kmin and k , kmax. If k 2 fkmin; kmaxg then we set ¹HS¹a:kºº] = HS¹a:kº. Only
polynomially many inclusions in the size of O are introduced by (4) in Oy.</p>
        <p>Finally, given attribute-value pairs a : b and c : d for temporal attributes a and b, we
say that a : b implies c : d if A¹eº@bda : bce j= A¹eº@bdc : dce for some arbitrary A 2 NC and
e 2 NI. Based on a given NI, this implication relationship is computable in polynomial
time. We then extend Oy with all inclusions AS v AT and rS v rT , where AS; AT and
rS; rT are concept and role names occurring in Oy, including those introduced in (4), such
that for each temporal attribute-value pair c : d in T there is a temporal attribute-value
pair a : b in S such that a : b implies c : d and:
– T is an open specifier and the set of non-temporal attribute-value pairs in S is a
superset of the set of non-temporal attribute-value pairs in T ; or
– S; T are closed specifiers and the set of non-temporal attribute-value pairs in S is
equal to the set of non-temporal attribute-value pairs in T .</p>
        <p>This finishes the construction of Oy. As shown in the appendix, O is satisfiable iff Oy is
satisfiable.</p>
        <p>
          While ground ALCHT@ can already be used for some interesting conclusions, it
is still rather limited. However, satisfiability of (non-ground) ALCH@ ontologies is
also decidable [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], and indeed we can regain decidability in ALCHT@ by disallowing
expressions of the form X :a to be used with temporal attributes a. Indeed, using a similar
reasoning as in the case of ALCH@, we obtain a 2ExpTime upper bound by constructing
an equisatisfiable (exponentially larger) ground ALCHT@ ontology.
        </p>
        <p>Theorem 10. Satisfiability of ALCHT@ ontologies without expressions of the form X :a
for temporal attributes a is 2ExpTime-complete.</p>
        <p>Another way for regaining decidability is by limiting the temporal attributes that
make reference to time points in the future. Using this assumption, we can translate any
ALCHT@ ontology into a ground ALCHT@ ontology. In this case, however, the resulting
ground ontology is double-exponentially larger if we assume that the size of the temporal
domain has been encoded in binary. We therefore obtain a 3ExpTime upper bound (using
Theorem 9).</p>
        <p>Theorem 11. Satisfiability of ALCHT@ ontologies with only the temporal attributes
during; time; before and until is in 3ExpTime.</p>
        <p>
          Our result in our next Theorem 12 below is that this upper bound is tight. The proof is
by reduction from the word problem for double-exponentially space-bounded alternating
Turing machines (ATMs) [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] to the entailment problem for ALCHT@ ontologies. The
main challenge in this reduction is that we need a mechanism that allows us to transfer
the information of a double-exponentially space bounded tape, so that each configuration
following a given configuration is actually a successor configuration (i.e., tape cells are
changed according to the transition relation). We encode our tape using time: we can
have exponentially many time points in an interval with end points encoded in binary. So
considering each time point as a bit position, we construct a counter with exponentially
many bits, encoding the position of double-exponentially many tape cells.
Theorem 12. Satisfiability of ALCHT@ ontologies with only time and before is
3ExpTimehard.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Lightweight Temporal Attributed DLs</title>
      <p>Theorem 13. Satisfiability of ground E LHT@ ontologies is ExpTime-complete.
Proof. The upper bound follows from Theorem 9. For the lower bound, we show how
one can encode disjunctions (i.e., inclusions of the form &gt; v B t C), which allow us
to reduce satisfiability of ground ALCHT@ to satisfiability of ground E LHT@ ontologies.
In fact, several combinations of the temporal attributes time, between, before and after
suffice to encode &gt; v B t C. As an example, see the following inclusions using the
temporal attributes time and between: &gt; v A@bbetween : »1; 2¼c; A@btime : 1c v
B; A@btime : 2c v C: One can also obtain the same type of encoding with before and
after: &gt; v A@b c; A@bbefore : 1c v B; A@bafter : 0c v C:</p>
      <p>
        It is known that the entailment problem for E L ontologies with concept and role
names annotated with time intervals over finite models is in PTime [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. Indeed, our
temporal attribute during can be seen as a syntactic variant of the time intervals in the
mentioned work and, if we restrict to the temporal attributes time, during, since and until,
the complexity of the satisfiability problem for ground E LHT@ ontologies is in PTime.
Our proof here (for ground E LHT@ over N or over a finite interval in N) is based on a
polynomial translation to E LH extended with role conjunction, where satisfiability is
PTime-complete [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ].
      </p>
      <p>Theorem 14. Satisfiability of ground E LHT@ ontologies without the temporal attributes
between, before and after is PTime-complete.</p>
      <p>
        Proof. Hardness follows from the PTime-hardness of E L [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. For membership, note
that the translation in Theorem 9 for the temporal attributes during, since and until does
T
not introduce disjunctions or negations. So the result of translating a ground E LH@
ontology belongs to E LH extended with role conjunction.
6
      </p>
    </sec>
    <sec id="sec-5">
      <title>Discussion and Conclusion</title>
      <p>
        We investigated decidability and complexities of attributed description logics enriched
with special attributes whose values are interpreted over a temporal dimension. We
discussed several ways of restricting the general, undecidable setting in order to regain
decidability. Our complexity results range from PTime to 3ExpTime. Some of the
statements used in our examples can also be naturally expressed in temporal DLs. For
instance, the first statement of Example 5 is expressible by ALC extended with Linear
Temporal Logic [
        <xref ref-type="bibr" rid="ref19 ref25">19,25</xref>
        ] with:
      </p>
      <sec id="sec-5-1">
        <title>Lived u 9bornIn:&gt; v ?:</title>
        <p>
          Other authors have also considered extending ALC with Metric Temporal Logic
(MTL) [
          <xref ref-type="bibr" rid="ref11 ref3">11,3</xref>
          ], where the last statement of Example 1 can be expressed with:
»1394;1404¼bornIn¹Gutenberg; Mainzº:
However, the statement in Example 2 cannot be naturally expressed by temporal DLs. The
complexity results can also be very different, for instance, the complexity of propositional
MTL is already undecidable over the reals and ExpSpace-complete over the naturals [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ],
whereas in Theorem 9 of this paper we show that we can enhance ALC with many types
of time related annotations with time points encoded in binary while keeping the same
ExpTime complexity of ALC. As future work, we plan to study forms of generalising
our logic to capture the semantics of other standard types of annotations in knowledge
graphs, such as provenance and spatial information.
        </p>
        <p>Acknowledgements This work was partially supported by the DFG within the cfaed
Cluster of Excellence, CRC 912 (HAEC), and Emmy Noether grant KR 4381/1-1, and
by the ERC in Consolidator Grant DeciGUT.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>R.</given-names>
            <surname>Alur</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.A.</given-names>
            <surname>Henzinger</surname>
          </string-name>
          .
          <article-title>Real-time logics: Complexity and expressiveness</article-title>
          .
          <source>Information and Computation</source>
          ,
          <volume>104</volume>
          (
          <issue>1</issue>
          ):
          <fpage>35</fpage>
          -
          <lpage>77</lpage>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Alessandro</given-names>
            <surname>Artale</surname>
          </string-name>
          , Roman Kontchakov, Frank Wolter, and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>Temporal description logic for ontology-based data access</article-title>
          .
          <source>In IJCAI 2013, Proceedings of the 23rd International Joint Conference on Artificial Intelligence</source>
          , pages
          <fpage>711</fpage>
          -
          <lpage>717</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Stefan Borgwardt, Patrick Koopmann, Ana Ozaki, and
          <string-name>
            <given-names>Veronika</given-names>
            <surname>Thost</surname>
          </string-name>
          .
          <article-title>Metric temporal description logics with interval-rigid names</article-title>
          .
          <source>In Frontiers of Combining Systems - 11th International Symposium, FroCoS</source>
          , pages
          <fpage>60</fpage>
          -
          <lpage>76</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Sebastian</given-names>
            <surname>Brandt</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Carsten</given-names>
            <surname>Lutz</surname>
          </string-name>
          .
          <article-title>Pushing the E L envelope</article-title>
          . In Leslie Pack Kaelbling and Alessandro Saffiotti, editors,
          <source>Proc. 19th Int. Joint Conf. on Artificial Intelligence (IJCAI'05)</source>
          , pages
          <fpage>364</fpage>
          -
          <lpage>369</lpage>
          . Professional Book Center,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Silvio Ghilardi, and
          <string-name>
            <given-names>Carsten</given-names>
            <surname>Lutz</surname>
          </string-name>
          .
          <article-title>LTL over description logic axioms</article-title>
          .
          <source>ACM Trans. Comput. Log.</source>
          ,
          <volume>13</volume>
          (
          <issue>3</issue>
          ),
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Daniela</given-names>
            <surname>Berardi</surname>
          </string-name>
          , Diego Calvanese, and Giuseppe De Giacomo.
          <article-title>Reasoning on UML class diagrams</article-title>
          .
          <source>Artif</source>
          . Intell.,
          <volume>168</volume>
          (
          <issue>1-2</issue>
          ):
          <fpage>70</fpage>
          -
          <lpage>118</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Claudia</given-names>
            <surname>Carapelle</surname>
          </string-name>
          and
          <string-name>
            <surname>Anni-Yasmin Turhan</surname>
          </string-name>
          .
          <article-title>Description logics reasoning w</article-title>
          .r.t. general
          <article-title>Tboxes is decidable for concrete domains with the EHD-property</article-title>
          .
          <source>In ECAI 2016 - 22nd European Conference on Artificial Intelligence</source>
          , pages
          <fpage>1440</fpage>
          -
          <lpage>1448</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Ashok</surname>
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Chandra</surname>
          </string-name>
          ,
          <string-name>
            <surname>Dexter C. Kozen</surname>
            , and
            <given-names>Larry J.</given-names>
          </string-name>
          <string-name>
            <surname>Stockmeyer</surname>
          </string-name>
          . Alternation.
          <source>J. of the ACM</source>
          ,
          <volume>28</volume>
          (
          <issue>1</issue>
          ):
          <fpage>114</fpage>
          -
          <lpage>133</lpage>
          ,
          <year>1981</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Jan</given-names>
            <surname>Chomicki</surname>
          </string-name>
          .
          <article-title>Temporal query languages: A survey</article-title>
          . In Dov M.
          <article-title>Gabbay</article-title>
          and Hans Jürgen Ohlbach, editors,
          <source>Proc. 1st Int. Conf. on Database Theory (ICDT'94)</source>
          , volume
          <volume>827</volume>
          <source>of LNCS</source>
          , pages
          <fpage>506</fpage>
          -
          <lpage>534</lpage>
          . Springer,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Michael David Fisher,
          <string-name>
            <surname>Dov M. Gabbay</surname>
          </string-name>
          , and Lluis Vila, editors.
          <source>Handbook of Temporal Reasoning in Artificial Intelligence. Elsevier</source>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Víctor</surname>
            Gutiérrez-Basulto, Jean Christoph Jung, and
            <given-names>Ana</given-names>
          </string-name>
          <string-name>
            <surname>Ozaki</surname>
          </string-name>
          .
          <article-title>On metric temporal description logics</article-title>
          .
          <source>In Proc. of the 22nd Eur. Conf. on Artificial Intelligence (ECAI'16)</source>
          , pages
          <fpage>837</fpage>
          -
          <lpage>845</lpage>
          . IOS Press,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>David</given-names>
            <surname>Harel</surname>
          </string-name>
          .
          <article-title>Effective transformations on infinite trees, with applications to high undecidability, dominoes, and fairness</article-title>
          .
          <source>J. ACM</source>
          ,
          <volume>33</volume>
          (
          <issue>1</issue>
          ):
          <fpage>224</fpage>
          -
          <lpage>248</lpage>
          ,
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Johannes</surname>
            <given-names>Hoffart</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fabian M. Suchanek</surname>
          </string-name>
          , Klaus Berberich, and Gerhard Weikum.
          <article-title>YAGO2: A spatially and temporally enhanced knowledge base from Wikipedia</article-title>
          .
          <source>J. of Artif</source>
          . Intell.,
          <volume>194</volume>
          :
          <fpage>28</fpage>
          -
          <lpage>61</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Markus</surname>
            <given-names>Krötzsch</given-names>
          </string-name>
          , Maximilian Marx, Ana Ozaki, and
          <string-name>
            <given-names>Veronika</given-names>
            <surname>Thost</surname>
          </string-name>
          .
          <article-title>Attributed description logics: Ontologies for knowledge graphs</article-title>
          .
          <source>In The Semantic Web - ISWC - 16th International Semantic Web Conference</source>
          , pages
          <fpage>418</fpage>
          -
          <lpage>435</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Markus</surname>
            <given-names>Krötzsch</given-names>
          </string-name>
          , Maximilian Marx, Ana Ozaki, and
          <string-name>
            <given-names>Veronika</given-names>
            <surname>Thost</surname>
          </string-name>
          .
          <article-title>Attributed description logics: Reasoning on knowledge graphs</article-title>
          .
          <source>In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, IJCAI</source>
          , pages
          <fpage>5309</fpage>
          -
          <lpage>5313</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Jared</surname>
            <given-names>Leo</given-names>
          </string-name>
          , Ulrike Sattler, and
          <string-name>
            <given-names>Bijan</given-names>
            <surname>Parsia</surname>
          </string-name>
          .
          <article-title>Temporalising EL concepts with time intervals</article-title>
          .
          <source>In Proc. 27th Int. Workshop on Description Logics (DL'14)</source>
          , volume
          <volume>1193</volume>
          <source>of CEUR Workshop Proceedings</source>
          , pages
          <fpage>620</fpage>
          -
          <lpage>632</lpage>
          . CEUR-WS.org,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>Carsten</given-names>
            <surname>Lutz</surname>
          </string-name>
          .
          <article-title>Combining interval-based temporal reasoning with general tboxes</article-title>
          .
          <source>Artificial Intelligence</source>
          ,
          <volume>152</volume>
          (
          <issue>2</issue>
          ):
          <fpage>235</fpage>
          -
          <lpage>274</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Carsten</surname>
            <given-names>Lutz</given-names>
          </string-name>
          , Volker Haarslev, and
          <string-name>
            <given-names>Ralf</given-names>
            <surname>Möller</surname>
          </string-name>
          .
          <article-title>A concept language with role-forming predicate restrictions</article-title>
          .
          <source>Technical report</source>
          , University of Hamburg,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Carsten</surname>
            <given-names>Lutz</given-names>
          </string-name>
          , Frank Wolter, and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>Temporal description logics: A survey</article-title>
          .
          <source>In 15th International Symposium on Temporal Representation and Reasoning</source>
          , TIME, pages
          <fpage>3</fpage>
          -
          <lpage>14</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Maximilian</surname>
            <given-names>Marx</given-names>
          </string-name>
          , Markus Krötzsch, and
          <string-name>
            <given-names>Veronika</given-names>
            <surname>Thost</surname>
          </string-name>
          . Logic on MARS:
          <article-title>Ontologies for generalised property graphs</article-title>
          . In Carles Sierra, editor,
          <source>Proc. 26th Int. Joint Conf. on Artificial Intelligence (IJCAI'17)</source>
          , pages
          <fpage>1188</fpage>
          -
          <lpage>1194</lpage>
          . IJCAI,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Ana</surname>
            <given-names>Ozaki</given-names>
          </string-name>
          , Markus Krötzsch, and
          <string-name>
            <given-names>Sebastian</given-names>
            <surname>Rudolph</surname>
          </string-name>
          .
          <article-title>Happy ever after: Temporally attributed description logics (extended technical report</article-title>
          ). Available online at https://iccl.inf. tu-dresden.de/web/Inproceedings3101,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Hartley</surname>
            <given-names>Rogers</given-names>
          </string-name>
          , Jr.
          <source>Theory of Recursive Functions and Effective Computability</source>
          . MIT Press,
          <source>paperback edition edition</source>
          ,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Sebastian</surname>
            <given-names>Rudolph</given-names>
          </string-name>
          , Markus Krötzsch, and
          <string-name>
            <given-names>Pascal</given-names>
            <surname>Hitzler</surname>
          </string-name>
          .
          <article-title>Cheap Boolean role constructors for description logics</article-title>
          .
          <source>In Steffen Hölldobler</source>
          , Carsten Lutz, and Heinrich Wansing, editors,
          <source>Proc. 11th European Conf. on Logics in Artificial Intelligence (JELIA'08)</source>
          , volume
          <volume>5293</volume>
          <source>of LNAI</source>
          , pages
          <fpage>362</fpage>
          -
          <lpage>374</lpage>
          . Springer,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <given-names>Denny</given-names>
            <surname>Vrandečić</surname>
          </string-name>
          and
          <string-name>
            <given-names>Markus</given-names>
            <surname>Krötzsch</surname>
          </string-name>
          .
          <article-title>Wikidata: A free collaborative knowledgebase</article-title>
          .
          <source>Commun. ACM</source>
          ,
          <volume>57</volume>
          (
          <issue>10</issue>
          ),
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>Temporalizing description logics</article-title>
          .
          <source>Frontiers of Combining Systems</source>
          ,
          <volume>2</volume>
          :
          <fpage>379</fpage>
          -
          <lpage>402</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>