<!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>
      <journal-title-group>
        <journal-title>DL</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>On Deciding the Data Complexity of Answering Linear Monadic Datalog Queries with LTL Operators (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alessandro Artale</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anton Gnatenko</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vladislav Ryzhikov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael Zakharyaschev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Birkbeck, University of London</institution>
          ,
          <addr-line>Malet Street, London WC1E 7HX</addr-line>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Faculty of Engineering, Free University of Bozen-Bolzano</institution>
          ,
          <addr-line>piazza Domenicani 3, Bozen-Bolzano 39100</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>37</volume>
      <fpage>18</fpage>
      <lpage>21</lpage>
      <abstract>
        <p>We study the data complexity of connected linear monadic datalog queries equipped with operators of linear temporal logic LTL in the rule bodies. We establish that answering a query with the operators ○ /○ − 1 (at the next/previous moment) is either in AC 0, or in ACC 0 ∖ AC 0, or NC 1-complete, or L-hard and in NL for data complexity, and show that checking L-hardness of answering a given query is in ExpSpace, while checking whether it lies in AC 0, ACC 0, or is NC 1-complete is in 2ExpSpace, and that these problems become, respectively, PSpace-complete and in ExpSpace for queries with just one operator ○ (or ○ − 1). We prove further that these problems are undecidable for queries with the operators ♢ /♢ − 1 (sometime in the future/past).</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Linear monadic datalog</kwd>
        <kwd>linear temporal logic</kwd>
        <kwd>ontology mediated query</kwd>
        <kwd>data complexity</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Goal( ) ←</p>
      <p>Flight(,  ) ∧ ♢ Flight(,  ).</p>
      <p>The following query is recursive. It looks for cities, from which we can travel to a place that is sunny for
at least two consecutive days with the requirement that, on our way, we pass through sunny cities only:
Goal( ) ← ReachSun( ),
ReachSun( ) ← Sunny( ) ∧ ○ Sunny( ),</p>
      <p>ReachSun( ) ← Flight(,  ) ∧ Sunny( ) ∧ ○ ReachSun( ).</p>
      <p>
        The temporal datalog queries above have only monadic predicates on the left-hand side of each
rule, which are known as IDB predicates, and at most one IDB predicate on the right-hand side (body)
together with any number of other (EDB) predicates of arbitrary arity. We refer to such queries as
temporal monadic linear datalog queries. Here, we only consider connected queries, in which each rule
body gives rise to a connected variable graph.
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
      </p>
      <p>
        We are interested in the data complexity of answering temporal linear monadic datalog queries, that
is, in the complexity of the following decision problem (instance checking), for any fixed query : given
a temporal data instance , an object  in its domain and a timestamp ℓ, decide whether Goal() is
true at time ℓ in every model of  and . It is not hard to see that the upper bound on the complexity
of this problem is NL, but for diferent queries it may vary significantly. For example, answering query
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) lies in AC 0, while answering query (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) is NL-complete. Note that, if we drop ○ from (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ), it can also
be answered in AC 0.
      </p>
      <p>In fact, it is well-known that a pure linear monadic datalog query  (without temporal operators) can
either lie in the complexity class AC 0, or in L, or in NL, being at least L-hard in the last two cases. On
the other hand, any pure LTL query  (with 0-ary predicates, i.e., propositional variables) lies either in
AC 0 or in ACC 0 ∖ AC 0, or is NC 1-complete [2].</p>
      <p>
        Temporal datalog queries are two-dimensional, being interpreted over the object domain for the
individual variables and the implicit temporal domain (Z, &lt;) for the LTL operators. Our first observation
is that the temporal operators ○ /○ − 1 and ♢ /♢ − 1 provide diferent levels of interaction between the
two dimensions. Consider, for example, the following program:
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
(
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
Goal() ←
      </p>
      <p>() ∧ ○ (,  ) ∧ ○ ( ),
() ← ○ (),
() ←</p>
      <p>().</p>
      <p>
        Suppose a data instance contains () at time 0, (, ) at time 1, and () at time 5. We can infer
Goal() at 0 by first applying rule (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) to infer () at 5, then rule (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) to infer () at 4, 3, 2, and 1,
and finally rule (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) to infer Goal() at 0. Rules (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) and (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) work along the timeline of a single object,
, while the final application passes from one object, , to another, . To do so, it checks whether a
certain condition holds for the joint timeline of  and , namely, that they are connected by  at the
next moment of time. The operators ○ /○ − 1 can query the joint timeline of several objects by a number
of steps bounded by the size of the query. Therefore, there is a limited interaction between the two
‘phases’ of inference—exploring the object and the temporal domain. On the other hand, a rule that
features the operators ♢ /♢ − 1 can navigate the whole temporal line in addition to the object domain:
() ← ♢ (,  ) ∧ ( ).
      </p>
      <p>In this case, inferring () at time 0 requires checking the existence of an object  that is connected to
 by  at some (arbitrarily distant) moment in the future, and then passing to that object and trying to
infer ().</p>
      <p>This distinction between ○ /○ − 1 and ♢ /♢ − 1 is crucial for the analysis of the behaviour of the respective
queries. A query  that only features ○ /○ − 1 is decomposable into a pure datalog part  and a pure
LTL part , which are, however, exponentially larger than . These two ‘one-dimensional’ queries can
be analysed separately using the methods of Cosmadakis et al. [3] and Kurucz et al. [4], respectively.
Recall that evaluation of  is either in AC 0 or L-hard for data complexity. In the latter case, answering
the original  is also L-hard. Otherwise, it is in NC 1, and its data complexity coincides with that of .
This gives us the following classification:
Theorem 1. Answering any temporal linear monadic datalog query is in NL for data complexity. Answering
a connected linear query with the operators ○ /○ − 1 only is either in AC 0 for data complexity, or in
ACC 0 ∖ AC 0, or NC 1-complete, or L-hard.</p>
      <p>In terms of descriptive complexity, this theorem means that every temporal linear monadic datalog
query can be rewritten to five types of first-order queries over data instances given as two-sorted
structures (one sort for the object domain and the other for the temporal one): FO(&lt;, ≡ )-queries with unary
predicates  ≡ 0 (mod ), FO(&lt;, MOD)-queries with quantifiers ∃  () checking whether the number
of moments of time satisfying  is divisible by , FO(RPR)-queries with relational primitive recursion,
FO(DTC)-queries with deterministic transitive closure, and FO(TC)-queries with non-deterministic
transitive closure. These extra predicates, quantifiers and operators complement FO(&lt;) with various
types of recursion.</p>
      <p>The ultimate question we would like to understand is how hard it is to extablish the exact data
complexity of—and so the type of recursion required for—answering a given temporal linear (or arbitrary)
monadic datalog query. In this paper, we provide partial answers to this question for connected linear
queries. The decomposition of  into  and  mentioned above suggests a straightforward approach of
utilising the respective algorithms for pure monadic datalog and pure LTL. For  we use the method of
Kurucz et al. [4] as a black-box. For , we modify the method of Cosmadakis et al. [3] that employs an
automata-theoretic criterion for boundedness. We use automata that work over a two-sorted alphabet
distinguishing between the object domain and the temporal domain. The following theorem summarises
our results.</p>
      <p>Theorem 2. () The problem of recognising whether answering a given connected linear temporal monadic
datalog query  can be done in NC 1 or is L-hard is
• PSpace-complete, if  contains occurrences of ○ (or ○ − 1 ) only;
• in ExpSpace, if  contains occurrences of both ○ and ○ − 1.</p>
      <p>Recognising whether answering  can be done in AC 0 or in ACC 0 ∖ AC 0 or is NC 1-complete is in ExpSpace
for  containing ○ (or ○ − 1 ) only, and in 2ExpSpace for  containing both ○ and ○ − 1.
() For  with ♢ /♢ − 1, the problems in () are all undecidable.</p>
      <p>Our lower bound, PSpace-hardness, is obtained using the properties of LTL and contrasts with the
only known lower bound for the case of connected queries in pure linear monadic datalog, which is
coNP-hardness [5, 3].</p>
      <p>Related Work
The first wave of research related to deciding the data complexity of datalog queries started in the
mid 1980s, when the database community was working on optimisation and parallelisation of datalog
programs; see [6, 7] and references therein. One of the fundamental problems considered was to decide
FO-rewritability aka boundedness of any given datalog query. Boundedness was shown to be
NPcomplete for linear monadic single rule programs [8], PSpace-complete for linear monadic programs [9,
10], and 2ExpTime-complete for arbitrary monadic (single rule) programs [11, 12]. Boundedness of
linear datalog queries with binary predicates and of ternary linear datalog queries with a single recursive
rule was proved to be undecidable [13, 14].</p>
      <p>The second wave in the 2000s was caused by the Web Ontology Language OWL and the idea of
ontology-based data access, which brought large families of DLs that guarantee FO-rewritability [15, 16]
(the DL-Lite family) and datalog-rewritability [17, 18] (the ℰ ℒ family) and [19] (the Horn-DL family).
Other types of rule-based languages with FO-rewritability have also been identified, e.g., [ 20, 21, 22].
The problem of deciding the data complexity and rewritability type of large classes of ontology-mediated
queries (OMQs) has been investigated since the 2010s. For instance, a complete characterisation of
OMQs with an ℰ ℒ-ontology was obtained in [23], establishing an AC 0/NL/P data complexity trichotomy,
deciding which is ExpTime-complete. A crucial step in understanding this problem for non-Horn DLs
was the discovery in [24, 25] of a connection between OMQs and non-uniform constraint satisfaction
problems (CSPs) with a fixed template via MMSNP of [26]. It was used to show that deciding FO- and
datalog-rewritability of OMQs with an ontology in any DL between ℒ and ℋℐ and an atomic
query is NExpTime-complete. The Feder-Vardi dichotomy of CSPs [27, 28] implies a P/coNP dichotomy
of such OMQs, which is decidable in NExpTime. For monadic disjunctive datalog and OMQs with an
ℒℐ ontology (that is, ℒ with inverse roles) and a CQ, deciding FO-rewritability rises and becomes
2NExpTime-complete; deciding whether such an OMQ is rewritable to monadic datalog is between
2NExpTime and 3NExpTime [29, 25].</p>
      <p>The survey [30] provides an overview of OMQ answering for various temporal logics and their
combinations with DLs. It considers various fragments obtained by restricting Boolean and temporal
operators used in ontologies and (uniform) complexity of OMQ answering for them. Any LTL-OMQ
(without an object domain) is in NC 1 in data complexity and can be rewritten into FO(RPR) or MSO(&lt;),
monadic second-order logic with &lt;. Such queries can also be rewritable into FO(&lt;), FO(&lt;, ≡ ), or
FO(&lt;, MOD); see [4]. Checking for each of the latter classes if a given query is rewritable into it is
ExpSpace-complete. The complexity remains the same even if the class of LTL ontologies is restricted
to temporal Horn formulas and the queries are atomic. However, for a further restricted class with
linear Horn ontologies checking rewritability into FO(&lt;) and FO(&lt;, ≡ ) becomes PSpace-complete for
negation-free queries (for atomic queries also FO(&lt;, MOD)-rewritability checking is PSpace-complete).</p>
      <p>Finally, [31] studied the data complexity of queries mediated by a non-Horn temporal DL ontology
with temporal operators on both concept and roles. For this logic, checking if the evaluation of an
atomic ontology-mediated query is below coNP-hard is undecidable [32]. As shown in this paper,
monadicity restores decidability when we only have the operators ○ /○ − 1. However, the possibility to
use arbitrary conjunctive queries as rule bodies still keeps the problem undecidable in the presence of
♢ /♢ − .
[11] M. Benedikt, B. ten Cate, T. Colcombet, M. Vanden Boom, The complexity of boundedness
for guarded logics, in: 30th Annual ACM/IEEE Symposium on Logic in Computer Science,
LICS 2015, Kyoto, Japan, July 6-10, 2015, IEEE Computer Society, 2015, pp. 293–304. URL: https:
//doi.org/10.1109/LICS.2015.36. doi:10.1109/LICS.2015.36.
[12] S. Kikot, A. Kurucz, V. V. Podolskii, M. Zakharyaschev, Deciding boundedness of monadic
sirups, in: L. Libkin, R. Pichler, P. Guagliardo (Eds.), PODS’21: Proceedings of the 40th ACM
SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, Virtual Event, China,
June 20-25, 2021, ACM, 2021, pp. 370–387. URL: https://doi.org/10.1145/3452021.3458332. doi:10.
1145/3452021.3458332.
[13] G. G. Hillebrand, P. C. Kanellakis, H. G. Mairson, M. Y. Vardi, Undecidable boundedness
problems for datalog programs, J. Log. Program. 25 (1995) 163–190. URL: https://doi.org/10.1016/
0743-1066(95)00051-K. doi:10.1016/0743-1066(95)00051-K.
[14] J. Marcinkowski, Achilles, turtle, and undecidable boundedness problems for small DATALOG
programs, SIAM J. Comput. 29 (1999) 231–257. URL: https://doi.org/10.1137/S0097539797322140.
doi:10.1137/S0097539797322140.
[15] D. Calvanese, G. De Giacomo, D. Lembo, M. Lenzerini, R. Rosati, Tractable reasoning and eficient
query answering in description logics: The DL-Lite family, J. Autom. Reasoning 39 (2007) 385–429.
[16] A. Artale, D. Calvanese, R. Kontchakov, M. Zakharyaschev, The DL-Lite family and relations, J.</p>
      <p>Artif. Intell. Res. (JAIR) 36 (2009) 1–69.
[17] F. Baader, S. Brandt, C. Lutz, Pushing the EL envelope, in: L. P. Kaelbling, A. Safiotti (Eds.),
Proceedings of the 19th Int. Joint Conf. on Artificial Intelligence, IJCAI-05, Professional Book
Center, 2005, pp. 364–369.
[18] F. Baader, S. Brandt, C. Lutz, Pushing the EL envelope further, in: K. Clark, P. F. Patel-Schneider
(Eds.), Proceedings of the OWLED 2008 DC Workshop on OWL: Experiences and Directions, 2008.
[19] U. Hustadt, B. Motik, U. Sattler, Data complexity of reasoning in very expressive description
logics, in: L. P. Kaelbling, A. Safiotti (Eds.), IJCAI-05, Proceedings of the Nineteenth International
Joint Conference on Artificial Intelligence, Edinburgh, Scotland, UK, July 30 - August 5, 2005,
Professional Book Center, 2005, pp. 466–471. URL: http://ijcai.org/Proceedings/05/Papers/0326.pdf.
[20] A. Calì, G. Gottlob, A. Pieris, Towards more expressive ontology languages: The query answering
problem, Artificial Intelligence 193 (2012) 87–128.
[21] J.-F. Baget, M. Leclère, M.-L. Mugnier, E. Salvat, On rules with existential variables: Walking the
decidability line, Artificial Intelligence 175 (2011) 1620–1654.
[22] M. König, M. Leclère, M.-L. Mugnier, M. Thomazo, Sound, complete and minimal UCQ-rewriting
for existential rules, Semantic Web 6 (2015) 451–475.
[23] C. Lutz, L. Sabellek, A complete classification of the complexity and rewritability of
ontologymediated queries based on the description logic EL, Artif. Intell. 308 (2022) 103709. URL: https:
//doi.org/10.1016/j.artint.2022.103709. doi:10.1016/J.ARTINT.2022.103709.
[24] M. Bienvenu, B. ten Cate, C. Lutz, F. Wolter, Ontology-based data access: A study through
disjunctive datalog, CSP, and MMSNP, ACM Transactions on Database Systems 39 (2014) 33:1–44.
[25] C. Feier, A. Kuusisto, C. Lutz, Rewritability in monadic disjunctive datalog, MMSNP, and expressive
description logics, Logical Methods in Computer Science 15 (2019). URL: https://doi.org/10.23638/
LMCS-15(2:15)2019. doi:10.23638/LMCS-15(2:15)2019.
[26] T. Feder, M. Y. Vardi, The computational structure of monotone monadic SNP and constraint
satisfaction: A study through datalog and group theory, SIAM J. Comput. 28 (1998) 57–104. URL:
https://doi.org/10.1137/S0097539794266766. doi:10.1137/S0097539794266766.
[27] A. A. Bulatov, A dichotomy theorem for nonuniform CSPs, in: C. Umans (Ed.), 58th IEEE Annual
Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October
1517, 2017, IEEE Computer Society, 2017, pp. 319–330. URL: https://doi.org/10.1109/FOCS.2017.37.
doi:10.1109/FOCS.2017.37.
[28] D. Zhuk, A proof of CSP dichotomy conjecture, in: C. Umans (Ed.), 58th IEEE Annual Symposium
on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, IEEE
Computer Society, 2017, pp. 331–342. URL: https://doi.org/10.1109/FOCS.2017.38. doi:10.1109/
FOCS.2017.38.
[29] P. Bourhis, C. Lutz, Containment in monadic disjunctive datalog, MMSNP, and expressive
description logics, in: C. Baral, J. P. Delgrande, F. Wolter (Eds.), Principles of Knowledge
Representation and Reasoning: Proceedings of the Fifteenth International Conference, KR
2016, Cape Town, South Africa, April 25-29, 2016, AAAI Press, 2016, pp. 207–216. URL: http:
//www.aaai.org/ocs/index.php/KR/KR16/paper/view/12847.
[30] A. Artale, R. Kontchakov, A. Kovtunova, V. Ryzhikov, F. Wolter, M. Zakharyaschev,
Ontologymediated query answering over temporal data: A survey (invited talk), in: S. Schewe, T. Schneider,
J. Wijsen (Eds.), 24th International Symposium on Temporal Representation and Reasoning, TIME
2017, October 16-18, 2017, Mons, Belgium, volume 90 of LIPIcs, Schloss Dagstuhl - Leibniz-Zentrum
für Informatik, 2017, pp. 1:1–1:37. URL: https://doi.org/10.4230/LIPIcs.TIME.2017.1. doi:10.4230/
LIPIcs.TIME.2017.1.
[31] A. Artale, R. Kontchakov, A. Kovtunova, V. Ryzhikov, F. Wolter, M. Zakharyaschev, First-order
rewritability and complexity of two-dimensional temporal ontology-mediated queries, Journal of
Artificial Intelligence Research 75 (2022) 1223–1291. doi: https://doi.org/10.1613/jair.1.
13511.
[32] A. Artale, A. R. Gnatenko, V. Ryzhikov, M. Zakharyaschev, A decidable temporal DL-Lite logic with
undecidable first-order and datalog-rewritability of ontology-mediated atomic queries (extended
abstract), in: O. Kutz, C. Lutz, A. Ozaki (Eds.), Proceedings of the 36th International Workshop on
Description Logics (DL 2023) co-located with the 20th International Conference on Principles of
Knowledge Representation and Reasoning and the 21st International Workshop on Non-Monotonic
Reasoning (KR 2023 and NMR 2023)., Rhodes, Greece, September 2-4, 2023, volume 3515 of CEUR
Workshop Proceedings, CEUR-WS.org, 2023. URL: https://ceur-ws.org/Vol-3515/abstract-3.pdf.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Demri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Goranko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lange</surname>
          </string-name>
          , Temporal Logics in Computer Science, Cambridge Tracts in Theoretical Computer Science, Cambridge University Press,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Artale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kontchakov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kovtunova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ryzhikov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Wolter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          ,
          <article-title>First-order rewritability of ontology-mediated queries in linear temporal logic</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>299</volume>
          (
          <year>2021</year>
          )
          <article-title>103536</article-title>
          . doi:https://doi.org/10.1016/j.artint.
          <year>2021</year>
          .
          <volume>103536</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Cosmadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Gaifman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Kanellakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Decidable optimization problems for database logic programs</article-title>
          ,
          <source>in: Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing</source>
          , STOC '88,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>1988</year>
          , p.
          <fpage>477</fpage>
          -
          <lpage>490</lpage>
          . doi:
          <volume>10</volume>
          .1145/62212.62259.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kurucz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ryzhikov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Savateev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          ,
          <article-title>Deciding fo-rewritability of regular languages and ontology-mediated queries in linear temporal logic</article-title>
          ,
          <source>J. Artif. Int. Res</source>
          .
          <volume>76</volume>
          (
          <year>2023</year>
          ). doi:
          <volume>10</volume>
          .1613/jair.1.14061.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Decidability and undecidability results for boundedness of linear recursive queries</article-title>
          ,
          <source>in: Proceedings of the Seventh ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems</source>
          , PODS '88,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>1988</year>
          , p.
          <fpage>341</fpage>
          -
          <lpage>351</lpage>
          . doi:
          <volume>10</volume>
          .1145/308386.308470.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P. C.</given-names>
            <surname>Kanellakis</surname>
          </string-name>
          ,
          <article-title>Elements of relational database theory</article-title>
          , in: J. van Leeuwen (Ed.),
          <source>Handbook of Theoretical Computer Science</source>
          , Volume B:
          <article-title>Formal Models and Semantics, Elsevier and</article-title>
          MIT Press,
          <year>1990</year>
          , pp.
          <fpage>1073</fpage>
          -
          <lpage>1156</lpage>
          . URL: https://doi.org/10.1016/b978-0
          <source>-444-88074-1</source>
          .
          <fpage>50022</fpage>
          -
          <lpage>6</lpage>
          . doi:
          <volume>10</volume>
          .1016/ b978-0
          <source>-444-88074-1</source>
          .
          <fpage>50022</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>E.</given-names>
            <surname>Dantsin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Eiter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Voronkov</surname>
          </string-name>
          ,
          <article-title>Complexity and expressive power of logic programming</article-title>
          ,
          <source>ACM Computing Surveys</source>
          <volume>33</volume>
          (
          <year>2001</year>
          )
          <fpage>374</fpage>
          -
          <lpage>425</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Decidability and undecidability results for boundedness of linear recursive queries</article-title>
          , in: C.
          <string-name>
            <surname>Edmondson-Yurkanan</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          Yannakakis (Eds.),
          <source>Proceedings of the Seventh ACM SIGACTSIGMOD-SIGART Symposium on Principles of Database Systems, March 21-23</source>
          ,
          <year>1988</year>
          , Austin, Texas, USA, ACM,
          <year>1988</year>
          , pp.
          <fpage>341</fpage>
          -
          <lpage>351</lpage>
          . URL: http://doi.acm.
          <source>org/10</source>
          .1145/308386.308470. doi:
          <volume>10</volume>
          . 1145/308386.308470.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Cosmadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Gaifman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. C.</given-names>
            <surname>Kanellakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Decidable optimization problems for database logic programs (preliminary report)</article-title>
          ,
          <source>in: STOC</source>
          ,
          <year>1988</year>
          , pp.
          <fpage>477</fpage>
          -
          <lpage>490</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>R. van der Meyden</surname>
          </string-name>
          ,
          <article-title>Predicate boundedness of linear monadic datalog is in PSPACE, Int</article-title>
          .
          <source>J. Found. Comput. Sci</source>
          .
          <volume>11</volume>
          (
          <year>2000</year>
          )
          <fpage>591</fpage>
          -
          <lpage>612</lpage>
          . URL: https://doi.org/10.1142/S0129054100000351. doi:
          <volume>10</volume>
          .1142/ S0129054100000351.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>