<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Deciding FO-rewritability of Ontology-Mediated Queries in Linear Temporal Logic</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Vladislav</forename><surname>Ryzhikov</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution" key="instit1">Birkbeck</orgName>
								<orgName type="institution" key="instit2">University of London</orgName>
								<address>
									<country key="GB">U.K</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Yury</forename><surname>Savateev</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution" key="instit1">Birkbeck</orgName>
								<orgName type="institution" key="instit2">University of London</orgName>
								<address>
									<country key="GB">U.K</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="institution">National Research University Higher School of Economics</orgName>
								<address>
									<settlement>Moscow</settlement>
									<country key="RU">Russia</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Michael</forename><surname>Zakharyaschev</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution" key="instit1">Birkbeck</orgName>
								<orgName type="institution" key="instit2">University of London</orgName>
								<address>
									<country key="GB">U.K</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Deciding FO-rewritability of Ontology-Mediated Queries in Linear Temporal Logic</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">BF9537BF1471AEC4235E2D9E351F67B6</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-23T21:44+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Aiming at ontology-based data access to temporal data, we investigate the problems of determining the data complexity of answering an ontology-mediated query (OMQ) given in linear temporal logic LTL and deciding whether it is rewritable to an FO(&lt;)-formula, possibly with extra built-in predicates. Using known facts about the complexity of regular languages, we show that OMQ answering in AC 0 coincides with FO(&lt;, ≡ N )-rewritiability, which admits unary predicates x ≡ 0 (mod n), and that deciding FO(&lt;)-and FO(&lt;, ≡ N )-rewritiability of LTL OMQs is ExpSpace-complete. We further observe that answering any OMQ is either in ACC 0 , in which case it is FO(&lt;, MOD)-rewritable, or NC 1complete, and prove that distinguishing between these two cases can be done in ExpSpace. Finally, we identify fragments of LTL for which some of these decision problems become PSpace-, Π p 2 -and coNP-complete.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Classical ontology-based data access (OBDA) <ref type="bibr" target="#b7">[8,</ref><ref type="bibr" target="#b19">20]</ref> was launched by identifying ontology and query languages that uniformly guarantee FO-rewritability of all ontology-mediated queries (OMQs) given in those languages. Thus, by design, OBDA ontologies are rather inexpressive. An alternative, non-uniform approach to OBDA would be-at least in theory-to develop algorithms that, given any OMQ in some expressive languages, could recognise the data complexity of answering that OMQ and construct its rewriting of optimal type. The datalog community has been investigating FO-and linear-datalog-rewritability (aka boundedness and linearisability) of datalog programs since the 1980s <ref type="bibr" target="#b25">[26,</ref><ref type="bibr" target="#b24">25,</ref><ref type="bibr" target="#b10">11,</ref><ref type="bibr" target="#b18">19]</ref>. The data complexity and rewritability of individual OMQs in various description logics have become an active research area in the past decade <ref type="bibr" target="#b16">[17,</ref><ref type="bibr" target="#b6">7,</ref><ref type="bibr" target="#b15">16,</ref><ref type="bibr" target="#b17">18,</ref><ref type="bibr" target="#b14">15]</ref>.</p><p>Here we take first steps towards extending the non-uniform analysis to OBDA over temporal data (see <ref type="bibr" target="#b2">[3]</ref> for a survey of results in uniform temporal OBDA). We consider OMQs given in linear temporal logic LTL, which were uniformly classified in <ref type="bibr" target="#b1">[2,</ref><ref type="bibr" target="#b3">4]</ref> according to their data complexity and rewritability type.</p><p>Example 1. Let O be an LTL ontology with the following axioms containing the temporal operators 3 F (eventually) and F / P (next/previous minute):</p><formula xml:id="formula_0">Malfunction → 3 F Fixed,<label>(1)</label></formula><formula xml:id="formula_1">Fixed → F InOperation,<label>(2)</label></formula><p>Malfunction ∧ P Malfunction ∧<ref type="foot" target="#foot_0">2</ref> P Malfunction → ¬ F InOperation. (3) We query temporal data, say the ABox A = {Malfunction(2), Malfunction <ref type="bibr" target="#b4">(5)</ref>, Malfunction <ref type="bibr" target="#b5">(6)</ref>, Fixed <ref type="bibr" target="#b5">(6)</ref>, Malfunction(7)} using LTL-formulas such as</p><formula xml:id="formula_2">κ = Malfunction ∧ 1≤i≤5 i F Fixed ∧ 1≤j≤5 ¬ j F InOperation ,</formula><p>which can be understood as a Boolean query asking whether there was a malfunction that was fixed in ≤ 5m but within the next 5m the equipment went out of operation again. The certain answer to the OMQ (O, κ) over A is yes.</p><p>Our aim in this paper is to understand the complexity of deciding whether a given LTL OMQ is rewritable to an FO(&lt;)-formula with the order relation &lt; over timestamps and possibly other built-in predicates. As shown in <ref type="bibr" target="#b3">[4]</ref>, every LTL OMQ is rewritable to an FO(&lt;)-formula extended with relational primitive recursion (or to a monadic second-order formula), whose evaluation over data instances is in the complexity class NC 1 . Here, we first establish a connection between LTL OMQs and regular languages, and then use it to prove that deciding FO(&lt;)-rewritability of such OMQs is ExpSpace-complete, with the lower bound shown for Horn LTL ontologies with the next-time operator F and atomic queries, and also for Krom ontologies with positive LTL queries. For atomic OMQs (OMAQs, for short) with linear Horn LTL ontologies that contain P only, deciding FO(&lt;)-rewritability turns out to be PSpace-complete; the complexity goes down to coNP for OMAQs with Krom ontologies and the nextand previous-time operators. On the other hand, deciding FO(&lt;)-rewritability becomes Π p 2 -complete for core (that is, both Horn and Krom) ontologies and positive existential temporal queries, which do not contain negation and the operators always in the future/past, since and until. OMQs with such queries are referred to as OMPEQs.</p><p>Using the connection with regular languages and the seminal results of <ref type="bibr" target="#b4">[5]</ref>, we show that OMQ answering in AC 0 coincides with rewritability to FO(&lt;, ≡ N )formulas, which admit unary predicates x ≡ 0 (mod n), and that deciding FO(&lt; , ≡ N )-rewritiability of LTL OMQs is ExpSpace-complete. We further observe that answering any OMQ is either in ACC 0 , in which case it is FO(&lt;, MOD)rewritable, or NC 1 -complete, and prove that distinguishing between these two cases can be done in ExpSpace. For OMAQs with linear Horn LTL ontologies with P only, these problems become decidable in PSpace. All our complexity results for circuit complexity and rewritability of OMQs are summarised below: </p><formula xml:id="formula_3">class of OMQs in AC 0 in ACC 0 / NC 1 -comp. FO(&lt;) FO(&lt;, ≡ N ) FO(&lt;,</formula></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head><p>In our setting, the alphabet of linear temporal logic LTL comprises a set of atomic concepts A i , i &lt; ω. Basic temporal concepts, C, are defined by the grammar</p><formula xml:id="formula_4">C ::= A i | 2 F C | 2 P C | F C | P C</formula><p>with the operators 2 F /2 P (always in the future/past) and F / P (at the next/ previous moment). A temporal ontology, O, is a finite set of axioms of the form</p><formula xml:id="formula_5">C 1 ∧ • • • ∧ C k → C k+1 ∨ • • • ∨ C k+m ,<label>(4)</label></formula><p>where k, m ≥ 0, the C i are basic temporal concepts, the empty ∧ is , and the empty ∨ is ⊥. Following the DL-Lite convention <ref type="bibr" target="#b0">[1,</ref><ref type="bibr" target="#b1">2]</ref>, we classify ontologies by the shape of their axioms and the temporal operators that can occur in them. Suppose c ∈ {horn, krom, core, bool} and o ∈ {2, , 2 }. The axioms of an LTL o c -ontology may only contain occurrences of the (future and past) temporal operators in o and satisfy the following restrictions on k and m in (4) indicated by c: horn requires m ≤ 1, krom requires k + m ≤ 2, core both k + m ≤ 2 and m ≤ 1, while bool imposes no restrictions. For example, axiom (2) from Example 1 is allowed in all of these fragments, (3) is equivalent to a horn axiom (with ⊥ on the right-hand side), and (1) can be expressed in krom as explained in Remark 1. A basic concept is called an IDB (intensional database) concept in an ontology O if its atomic concept occurs on the right-hand side of an axiom in O. The set of IDB atomic concepts in O is denoted by idb(O). An LTL o hornontology is called linear if each of its axioms</p><formula xml:id="formula_6">C 1 ∧ • • • ∧ C k → B is such that B is either ⊥ or atomic and at most one C i , 1 ≤ i ≤ k, is an IDB concept.</formula><p>An ABox is a finite set A of atoms A i ( ), for ∈ Z, together with a finite interval tem(A) = [min A, max A] of integers such that min A &lt; max A and whenever A i ( ) ∈ A then min A ≤ ≤ max A. Without loss of generality, we always assume that min A = 0. The interval tem(A) is called the active domain of A. If tem(A) is not specified explicitly, it is assumed to be [0, m], where m is the maximal timestamp in A. By a signature, Ξ, we mean any finite set of atomic concepts. An ABox A is said to be a</p><formula xml:id="formula_7">Ξ-ABox if A i ( ) ∈ A implies A i ∈ Ξ.</formula><p>We query ABoxes by means of temporal concepts, κ, which are LTL-formulas built from the atoms A i , Booleans ∧, ∨, ¬, temporal operators F , 2 F , 3 F (eventually), U (until), and their past-time counterparts P , 2 P , 3 P (some time in the past) and S (since). If κ does not contain ¬, 2 F , 2 P , U and S, we call it a positive existential temporal concept.</p><p>A (temporal) interpretation is a structure I = (Z, A I 0 , A I 1 , . . . ) with A I i ⊆ Z, for every i &lt; ω. The extension κ I of a temporal concept κ in I is defined inductively as usual in LTL under the 'strict semantics' <ref type="bibr" target="#b13">[14,</ref><ref type="bibr" target="#b11">12]</ref>:</p><formula xml:id="formula_8">( F κ) I = n ∈ Z | n + 1 ∈ κ I , (2 F κ) I = n ∈ Z | k ∈ κ I , for all k &gt; n , (3 F κ) I = n ∈ Z | there is k &gt; n with k ∈ κ I , (κ 1 U κ 2 ) I = n ∈ Z | there is k &gt; n with k ∈ κ I 2 and m ∈ κ I 1 for n &lt; m &lt; k ,</formula><p>and symmetrically for the past operators. An axiom ( <ref type="formula" target="#formula_5">4</ref>) is true in I if we have</p><formula xml:id="formula_9">C I 1 ∩ • • • ∩ C I k ⊆ C I k+1 ∪ • • • ∪ C I k+m . An interpretation I is a model of O if all axioms of O are true in I; it is a model of A if A i ( ) ∈ A implies ∈ A I</formula><p>i . An LTL o c ontology-mediated query (OMQ) is a pair of the form q = (O, κ), where O is an LTL o c ontology and κ a temporal concept. If κ is a positive existential temporal concept, we call q a positive existential OMQ (OMPEQ), and if κ is an atomic concept, we call q atomic (OMAQ). The set of atomic concepts occurring in an OMQ q is denoted by sig(q). We can treat q as a Boolean OMQ, which returns yes/no as an answer, or as a specific OMQ, which returns timestamps from the ABox in question assigned to the free variable, say x, in the standard FO-translation of κ. In the latter case, we write q(x) = (O, κ(x)).</p><p>More precisely, a certain answer to a Boolean OMQ q = (O, κ) over an ABox A is yes if, for every model</p><formula xml:id="formula_10">I of O and A, there is k ∈ Z such that k ∈ κ I , in which case we write (O, A) |= ∃xκ(x). If (O, A) |= ∃xκ(x), the certain answer to q over A is no. We write (O, A) |= κ(k), for k ∈ Z, if k ∈ κ I in all models I of O and A. A certain answer to a specific OMQ q(x) = (O, κ(x)) over A is any k ∈ tem(A) with (O, A) |= κ(k)</formula><p>. By the evaluation (or answering) problems for q and q(x) we understand the decision problems '(O, A) |= ? ∃xκ(x)' and '(O, A) |= ? κ(k)' with input A and, resp., A and k ∈ tem(A). We say that q or q(x) is in a complexity class C if the corresponding evaluation problem is in C.</p><formula xml:id="formula_11">Example 2. (i) Let q 1 = (O 1 , C ∧ D) with O 1 = {3 P A → B, 2 F B → C}. The certain answer to q 1 over A 1 = {D(0), B(1), A(1)} is yes, but over A 2 = {D(0), A(1)} it is no. The only answer to q 1 (x) = O 1 , (C ∧ D)(x) over A 1 is 0. (ii) Let O 2 = { P A → B, P B → A, A∧B → ⊥ }. The answer to q 2 = (O 2 , C) over A 1 = {A(0)} is no, but over A 2 = {A(0), A(1)</formula><p>} it is yes. There are no answers to q 2 (x) = (O 1 , C(x)) over A 1 , while over A 2 there are two of them: 0 and 1. (iii</p><formula xml:id="formula_12">) Let O 3 = { P B k ∧A 0 → B k , P B 1−k ∧A 1 → B k | k = 0, 1}. For any word e = e 1 . . . e n ∈ {0, 1} n , let A e = {B 0 (0)} ∪ {A ei (i) | 0 &lt; i ≤ n} ∪ {E(n)}.</formula><p>The answer to q 3 = (O 3 , B 0 ∧ E) over A e is yes iff the number of 1s in e is even. (iv) Let O 4 = {A → F B} and q 4 = (O 4 , B). Then, the answer to q 4 over A = {A(0)} is yes; however, there are no certain answers to q 4 (x) = (O 4 , B(x)) over A. (v) Let O 5 = {A → B ∨ F B}. The certain answer to q 5 = (O 5 , B) over A = {A(0), C(1)} is yes; however, there are no certain answers to q 5 (x) over A.</p><p>Remark 1. Let O be as in Example 1 and let O be the result of replacing <ref type="bibr" target="#b0">(1)</ref> in O by Malfunction ∧ 2 F X → ⊥ and → X ∨ Fixed, for a fresh concept name X. Then the OMQ q = (O, κ) in Example 1 is 'equivalent' to q = (O , κ) in the sense that q and q have the same certain answers over any sig(q)-ABox A.</p><p>Let L be a class of FO-formulas that can be interpreted over finite linear orders. A Boolean OMQ q is L-rewritable over Ξ-ABoxes if there is an L-sentence Q such that, for any Ξ-ABox A, the certain answer to q over A is yes iff S A |= Q. Here, S A is a structure with domain tem(A) ordered by &lt;, in which</p><formula xml:id="formula_13">S A |= A i ( ) iff A i ( ) ∈ A. A specific OMQ q(x) is L-rewritable over Ξ-ABoxes if there is an L-formula Q(x)</formula><p>with one free variable x such that, for any Ξ-ABox A, k is a certain answer to q over A iff S A |= Q(k). The sentence Q and the formula Q(x) are called L-rewritings of the Boolean and specific OMQ q, respectively.</p><p>We require four languages L for rewriting LTL OMQs: FO(&lt;) (monadic) first-order formulas with the built-in predicate &lt; for order; Example 3. (i) An FO(&lt;)-rewriting of q 1 (x) is</p><formula xml:id="formula_14">ϕ 1 (x) = D(x) ∧ [C(x) ∨ ∃y(A(y) ∧ ∀z ((x &lt; z ≤ y) → B(z)))], ∃xϕ 1 (x) is an FO(&lt;)-rewriting of q 1 . (ii) An FO(&lt;, ≡ N )-rewriting of q 2 (x) is ϕ 2 (x) = C(x) ∨ ∃x, y [(A(x) ∧ A(y) ∧ odd(x, y)) ∨ (B(x) ∧ B(y) ∧ odd(x, y)) ∨ (A(x) ∧ B(y) ∧ ¬odd(x, y))],</formula><p>where odd(x, y) = x ≡ 0 (mod 2) ↔ y ≡ 0 (mod 2) implies that the distance between x and y is odd, and an FO(&lt;, ≡ N )-rewriting of q 2 is ∃xϕ 2 (x). (iii) The OMQ q 3 is not rewritable to an FO-formula with any numeric predicates as PARITY is not in AC 0 <ref type="bibr" target="#b12">[13]</ref>; the following is an FO(&lt;, MOD)-rewriting of q 3 :</p><formula xml:id="formula_15">ϕ 3 = ∃x, y E(x) ∧ (x ≤ y) ∧ ∀z((y &lt; z ≤ x) → (A 0 (z) ∨ A 1 (z))) ∧ ((B 0 (y) ∧ ∃ 2 z ((y &lt; z ≤ x) ∧ A 1 (z))) ∨ (B 1 (y) ∧ ¬∃ 2 z ((y &lt; z ≤ x) ∧ A 1 (z)))).</formula><p>(iv) An FO(&lt;)-rewriting of q 4 (x) is ϕ 4 (x) = B(x)∨A(x−1); an FO(&lt;)-rewriting of q 4 is ϕ 4 = ∃x(A(x) ∨ B(x)). (v) The same ϕ 4 is an FO(&lt;)-rewriting of q 5 , and B(x) is a rewriting of q 5 (x).</p><p>A uniform classification of specific LTL OMQs by their rewritability type has been obtained in <ref type="bibr" target="#b3">[4]</ref>. Here, we only mention in passing that all (Boolean and specific) LTL OMQs are FO(RPR)-rewritable and can be answered in NC 1 . In this paper, we take a non-uniform approach to rewritability, aiming to understand how (complex it is) to decide the optimal type of FO-rewritability for a given LTL OMQ q over Ξ-ABoxes. Clearly, we can always assume that Ξ ⊆ sig(q).</p><p>For any q and Ξ ⊆ sig(q), we regard the set Σ Ξ = 2 Ξ as an alphabet. A Ξ-ABox A can be given as a Σ Ξ -word w A = a 0 . . . a n with a i = {A | A(i) ∈ A}. Conversely, any Σ Ξ -word w = a 0 . . . a n can be understood as an ABox A w with tem(A w ) = [0, n] and A(i) ∈ A w iff A ∈ a i . The language L Ξ (q) of the Boolean OMQ q is the set of Σ Ξ -words w A such that the certain answer to q over A is yes. For a specific q(x), we take Γ Ξ = Σ Ξ ∪ Σ Ξ , for a disjoint copy Σ Ξ of Σ Ξ , and represent a pair (A, i) with a Ξ-ABox A and i ∈ tem(A) as a Γ Ξword w A,i = a 0 . . . a i . . . a n , where a j = {A | A(j) ∈ A} ∈ Σ Ξ for j = i, and a i = {A | A(i) ∈ A} ∈ Σ Ξ . The language L Ξ (q(x)) is the set of Γ Ξ -words w A,i such that i is a certain answer to q(x) over A.</p><p>Proposition 1. Let L be one of the classes of FO-formulas introduced above.</p><formula xml:id="formula_16">(i) A Boolean OMQ q = (O, κ) is L-rewritable over Ξ-ABoxes iff L Ξ (q) is L- definable. (ii) A specific OMQ q(x) = (O, κ(x)) is L-rewritable over Ξ-ABoxes iff L Ξ (q(x)</formula><p>) is L-definable. Both L Ξ (q) and L Ξ (q(x)) are regular for any Ξ.</p><p>Proof. We only show that L Ξ (q) is regular. Let sub q be the set of temporal concepts in q and their negations. A type is any maximal subset τ of sub q that is consistent with O. The set of all types is denoted by T . We define an NFA A over Σ Ξ whose language is Σ * Ξ \ L Ξ (q). The states in A comprise the set</p><formula xml:id="formula_17">Q ¬κ = {τ ∈ T | ¬κ ∈ τ }.</formula><p>The transition relation → a , for a ∈ Σ Ξ , is defined by setting τ 1 → a τ 2 if the following conditions hold (assuming that the temporal operators are expressed via U and S): The following table summarises known results connecting definability of regular languages L with properties of their syntactic monoids M (L) and syntactic morphisms η L (see <ref type="bibr">Section 3 and [5]</ref> for details) and with their circuit complexity (under a reasonable binary encoding of L's alphabet):</p><formula xml:id="formula_18">a ⊆ τ 2 , C 1 U C 2 ∈ τ 1 iff C 2 ∈ τ 2 or C 1 U C 2 ∈ τ 2 and C 1 ∈ τ 2 ,</formula><formula xml:id="formula_19">definability of L algebraic characterisation of L circuit complexity FO(&lt;) M (L) is aperiodic FO(&lt;, ≡ N ) η L is quasi-aperiodic in AC 0 FO(&lt;, MOD)</formula><p>all groups in M (L) are solvable in ACC 0 FO(RPR)</p><p>arbitrary</p><formula xml:id="formula_20">M (L) in NC 1 - M (L) contains unsolvable group NC 1 -hard</formula><p>The statement in the table that all groups in M (L) are solvable iff L is in ACC 0 holds unless ACC 0 = NC 1 . Using Proposition 1, these results can be extended to rewritability and data complexity of Boolean and specific LTL OMQs: (a) an OMQ is FO(&lt;, ≡ N )-rewritable iff it can be answered in AC 0 , (b) an OMQ is FO(&lt;, MOD)-rewritable iff it can be answered in ACC 0 (unless ACC 0 = NC 1 ), (c) an OMQ is FO(&lt;, RPR)-rewritable iff it can be answered in NC 1 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Deciding FO-Rewritability: Upper Bounds</head><p>Since deciding FO(&lt;)-definability of regular languages given by NFAs is PSpacecomplete <ref type="bibr" target="#b8">[9,</ref><ref type="bibr" target="#b5">6]</ref>, we obtain by Proposition 1:</p><formula xml:id="formula_21">Theorem 1. Deciding FO(&lt;)-rewritability of LTL 2 bool OMQs over Ξ-ABoxes is in ExpSpace.</formula><p>The exact complexity of deciding FO(&lt;, ≡ N )-definability and NC 1 -hardness of regular languages seems to be open (their decidability was shown in <ref type="bibr" target="#b4">[5]</ref>.) So our first aim is to settle these issues. Given an NFA A = (Q, Σ, δ, Q 0 , F ), states q, q ∈ Q, and w = a 0 . . . a n ∈ Σ * , we write q → w q if there is a run of A on w that starts with (q 0 , 0) and ends with (q , n + 1). We say that a state q ∈ Q is accessible if q → w q, for some q ∈ Q 0 and w ∈ Σ * . Two states q 1 , q 2 ∈ Q are equivalent if, for each w ∈ Σ * , we have q 1 → w q for some q ∈ F iff q 2 → w q for some q ∈ F . A DFA is minimal if each of its states is accessible and it has no distinct equivalent states. Every DFA A = (Q, Σ, δ, q 0 , F ) can be converted to a minimal DFA A = (Q , Σ, δ , q 0 , F ) with L(A) = L(A ) in the following way <ref type="bibr" target="#b22">[23]</ref>. Let R = {q ∈ Q | q is accessible in A} and let ∼ be a relation on R defined by taking q ∼ q iff q and q are equivalent. Clearly, ∼ is an equivalence relation; we denote by q/ ∼ the equivalence class of q ∈ R. Now, we set Q = {q/ ∼ | q ∈ R} and define δ by taking q/ ∼ → a q / ∼ , where {q } = δ(a, q), for all q ∈ R and a ∈ Σ (which is obviously well-defined). Finally, we set q 0 = q 0 / ∼ and F = {q/ ∼ | q ∈ R ∩ F }. It is known that, for any regular language L, all minimal DFAs A with L(A ) = L are isomorphic; we call each such A a minimal DFA of L.</p><p>A monoid M = (B, •, e) has an associative binary operation • and an identity e with a • e = e • a = a, for all a ∈ B. We shorten a • b to ab. Given a DFA A = (Q, Σ, δ, q 0 , F ) and w ∈ Σ * , define a map</p><formula xml:id="formula_22">f A w : Q → Q by setting f A w (q) = q iff q → w q . The transition monoid of A takes the form M = ({f A w | w ∈ Σ * }, •, f A ε )</formula><p>, where ε is the empty word and</p><formula xml:id="formula_23">f A w f A v = f A wv , for any f A w , f A v .</formula><p>The syntactic monoid M (L) of a regular language L is isomorphic to the transition monoid of a minimal DFA accepting L [23, Chaprter V.1]. A monoid is aperiodic if it does not contain non-trivial groups (with the monoid operation). Let A be a minimal automaton of L and B the domain of M (L). The map η L : Σ * → B defined by η L (w) = f A w is called a syntactic morphism of L. Given a set W ⊆ Σ * , we set η L (W ) = {η L (w) | w ∈ W }. The syntactic morphism η L is quasi-aperiodic if, for any t &gt; 0, the set η L (Σ t ) does not contain non-trivial groups.</p><p>Theorem 2. Deciding FO(&lt;, ≡ N )-definability of L(A), A an NFA, is in PSpace.</p><p>Proof. First, we show the theorem for a minimal DFA A, then extend it to an arbitrary DFA and, finally, to an NFA. Let A = (Q, Σ, δ, q 0 , F ) be minimal. We use the following criterion: L(A) is not FO(&lt;, ≡ N )-definable iff there are w and</p><formula xml:id="formula_24">n ∈ N such that f A w = f A w 2 , f A w = f A w n , and f A w = f A v , f A w 2 = f A u ,</formula><p>for some u and v with |v| = |u|. Indeed, let L = L(A). (⇒) In this case, η L is quasi-aperiodic, and so there is t such that η L (Σ t ) contains a non-trivial group G. Let e be the identity element of G and let a = e, a ∈ G. We have a |G| = e, a |G|+1 = ae = a and, since a, e ∈ η L (Σ t ), there are w, u ∈ Σ t such that a = f A w and e</p><formula xml:id="formula_25">= f A w |G| = f A u . (⇐) Observe that f A w i = f A w i w n(n−i) = f A u i v n−i , for 1 ≤ i ≤ n. Therefore, f A w , . . . , f A w n</formula><p>form a group in η L (Σ |u|•n ), and so L is not FO(&lt;, ≡ N )-definable.</p><p>To check this criterion, we can use the known PSpace algorithms <ref type="bibr" target="#b8">[9,</ref><ref type="bibr" target="#b5">6]</ref> for checking FO(&lt;)-definability of L(A). We now show how to extend this result to any DFA A. Let Q r be the set of accessible states in A. We call words w, v ∈ Σ * equivalent in A and write w ≡ A v if whenever q → w q then there is q ∈ Q r such that q ∼ q and q → v q , and the other way round. Let A * be a minimal</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>DFA of L(A). One can show that w ≡</head><formula xml:id="formula_26">A v iff f A * w = f A * v .</formula><p>This implies that, in the criterion above, we can replace every f A x = f A y by x ≡ A y and obtain the same criterion for an arbitrary DFA, which is checkable in PSpace. We can finally obtain a criterion of FO(&lt;, ≡ N )-definability of a language given by an NFA by replacing every f A x = f A y by x ≡ A y, where A is the powerset automaton of A. To show that the latter criterion can be checked in PSpace, we observe that each state of A can be stored using polynomial space and then adjust the algorithm for DFAs without increasing its complexity.</p><p>Theorem 3. NC 1 -hardness of L(A), for an NFA A, can be decided in PSpace.</p><p>Proof. We follows that steps of the proof above, using the following criterion. The language L(A), for a minimal DFA A, is NC 1 -hard iff there are u, v, w ∈ Σ * such that, for x ∈ {u, v, w}, f</p><formula xml:id="formula_27">A x = f A x f A uvw , f A x = f A x 2 and f A uvw = f A x ix</formula><p>, for some i u , i v , i w ∈ N that are pairwise coprime. Indeed, L(A) is NC 1 -hard iff there is a non-solvable group in M (L(A)). By [24, Corollary 3], a group is non-solvable iff there are 3 elements with pairwise coprime orders whose product is the identity.</p><p>In the PSpace algorithm checking this criterion, we need to compute i u , i v , i w and check that they are pairwise coprime. It is readily seen that those numbers (if exist) are ≤ |Q| |Q| and can be dealt with in PSpace.</p><p>Using Theorems 2, 3 and Proposition 1, we obtain: Proof. The idea of the proof is as follows. Given a Turing machine M with exponential tape and an input word x, we construct-in a way similar to <ref type="bibr" target="#b8">[9]</ref>two DFAs A and A of exponential size whose language is FO(&lt;)-definable (starfree) and, respectively, FO(&lt;, ≡ N )-definable (in AC 0 ) iff M rejects x. Then we simulate those DFAs by LTL horn ontologies of polynomial size. Let x be a word and M a Turing machine requiring N = 2 n c tape cells on an input of size n. Let N be the first prime after N + 1. We construct a family {A i } 0≤i&lt;N of simple star-free minimal DFAs whose intersection represents accepting computations of M on x. We encode computations as words over Σ ∪ { , } of the form c 1 c 2 . . . c k−1 c k , where the c i are configurations.</p><p>The DFA A 0 checks that an input starts with an initial and ends with an accepting configuration of M on x. The A i , for 0 &lt; i ≤ N , check that the ith symbol in a configuration 'follows' from the (i − 1)th, ith, and (i + 1)th symbols in the previous configuration (if A 1 is constructed, A i can skip the first i − 1 symbols and run A 1 ). The rest of the family just accept all the words with the only at the very end. We then have N i=0 L(A i ) = ∅ iff M rejects x. We next construct minimal DFAs A and A with the languages (L(A 0 ) . . . L(A N −1 )) * and ((L(A 0 ) ∪ { }) . . . (L(A N −1 ) ∪ { })) * . Thus, we obtain:</p><formula xml:id="formula_28">(i) L(A) is star-free iff N i=0 L(A i ) = ∅ (iff M rejects x); (ii) L(A ) is in AC 0 iff N i=0 L(A i ) = ∅.</formula><p>Now we define LTL horn ontologies O and O simulating A and A . We name the states in A by triples (i, t, j), where i indicates A i the state 'came from', t is a 'type' of the state (say, where the DFA skips the first i − 1 symbols), and j is a counter in t (e.g., saying how many symbols still are to be skipped). The number of types is constant, while i, j ≤ 2 k , for k = log 2 N .</p><p>The ontology O uses the concepts A i j and L i j , where i = 0, 1 and j = 1, . . . , k, the symbols in Σ ∪ { , }, Q t , for a type t, X, Y and F . Let Σ = Σ ∪ { , , X, Y }. </p><formula xml:id="formula_29">A c = A b1 1 ∧ • • • ∧ A b k k , A &lt;c = bi=1 A 0 i ∧ j&gt;i A bj j , A &gt;c = bi=0 A 1 i ∧ j&gt;i A bj j</formula><p>and let L c , L &lt;c , and L &gt;c be similar concepts for L i j . We represent each triple (i, t, j) as the conjunction A i ∧ Q t ∧ L j . We define O so that, having read a prefix w 1 . . . w l of w, the DFA A is in state (i, t, j) iff O, A w |= (A i ∧ Q t ∧ L j )(l + 1). To achieve this, for every transition (i 1 , t 1 , j 1 ) → a (i 2 , t 2 , j 2 ) of A, we need</p><formula xml:id="formula_30">O |= A i1 ∧ Q t1 ∧ L j1 ∧ a → F A i2 ∧ F Q t2 ∧ F L j2 .</formula><p>As the structure of A is repetitive, we can ensure this without writing axioms for all transitions. For example, consider the fragment of A corresponding to the part of A 0 that, after reading x, checks that the rest of the tape is blank b. All the states in this part have the same type t with a counter j. So, for n + 1 &lt; j &lt; N + 1, there is a transition (0, t, j) → b (0, t, j + 1). We capture all these transitions by one formula</p><formula xml:id="formula_31">A 0 ∧ Q 0 ∧ L &gt;n ∧ L &lt;N +1 ∧ b → F A 0 ∧ F Q 0 ∧ i L , where i L = k l=1 L 0 l ∧ L 1 l−1 ∧ . . . ∧ L 1 1 → F L 1 l ∧ F L 0 l−1 ∧ . . . ∧ F L 0 1 ∧ l1&lt;l2 (L 0 l1 ∧ L 0 l2 → F L 0 l2 ) ∧ (L 0 l1 ∧ L 1 l2 → F L 1 l2 ) .</formula><p>As a result, O |= (i L ∧ L i ) → F L i+1 . Similarly, we define i A , d L , h A , and</p><formula xml:id="formula_32">L A so that O |= (d L ∧ L i ) → F L i−1 , O |= (h A ∧ A i ) → F A i , O |= (L A ∧ A i ) → F L i .</formula><p>This gives us polynomially many horn axioms in O, to which we add</p><formula xml:id="formula_33">a ∧ b → ⊥, for a, b ∈ Σ , X → F A 0 ∧ F Q 0 ∧ F L 0 , A 0 ∧ Q 0 ∧ L 0 ∧ Y → F.</formula><p>The ontology O is defined in the same way for the DFA A . It follows that the certain answer to (O, F ) over A w is yes iff w ∈ L(A), and similarly for (O , F ).</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head></head><label></label><figDesc>FO(&lt;, ≡ N ) FO(&lt;)-formulas with predicates x ≡ 0 (mod N ), for any N &gt; 1;FO(&lt;, MOD) FO(&lt;)-formulas with quantifiers ∃ N , for N &gt; 1, defined by taking S A |= ∃ N x ψ(x) iff the cardinality of the set {n ∈ tem(A) | S A |= ψ(n)} is divisible by N (x ≡ 0 (mod N ) can obviously be defined as ∃ N y (y &lt; x));FO(RPR) FO(&lt;) with relational primitive recursion<ref type="bibr" target="#b9">[10]</ref>.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Theorem 4 .</head><label>4</label><figDesc>Both FO(&lt;, ≡ N )-rewritability and NC 1 -completeness (in data complexity) of LTL 2 bool OMQs over Ξ-ABoxes are decidable in ExpSpace. 4 Deciding FO-Rewritability: Lower Bounds Theorem 5. Deciding FO(&lt;)-and FO(&lt;, ≡ N )-rewritability of LTL horn OMAQs over Ξ-ABoxes is ExpSpace-hard.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head></head><label></label><figDesc>For any w = w 1 . . . w m ∈ (Σ∪{ , }) * , let A w = {X(0), w 1 (1), . . . w m (m), Y (m+ 1)}. For a binary word c = b k . . . b 1 , set</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head></head><label></label><figDesc>and symmetrically for S. The set of initial states comprises τ ∈ Q ¬κ with τ ∪ {2 P ¬κ} is consistent with O; the set of accepting states comprises those τ ∈ Q ¬κ for which τ ∪ {2 F ¬κ} is consistent with O. It is readily seen that, for every a ∈ Σ The number of states in A does not exceed O(2 |q| ). Since LTL-satisfiability is in PSpace, the NFA A can be constructed in exponential time in |q|.</figDesc><table /><note>* Ξ we have a ∈ L(A) iff (O, A a ) |= ∃xκ(x).</note></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_0"> [Th. 9]    all in AC 0<ref type="bibr" target="#b3">[4]</ref> -</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Acknowledgements This work was supported by EPSRC U.K. EP/S032282.</p></div>
			</div>

			<div type="annex">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Lemma 1. The LTL horn OMAQs (O, F ) and (O, F (x)) are FO(&lt;)-rewritable over Σ -ABoxes iff L(A) is star-free; (O , F ) and (O , F (x)) are FO(&lt;, ≡ N )rewritable over Σ -ABoxes iff L(A ) is in AC 0 .</p><p>Proof. We only sketch the proof of the former claim, where (⇒) is clear. (⇐) Suppose L(A) is star-free and A is a Σ -ABox. Then O, A |= F (k) only if (O, A) is inconsistent, and so there are a(i), b(i) ∈ A for some a = b, or A contains a subset of the form {X(i − 1), a 1 (i), a 2 (i + 1), a 3 (i + 2), . . . , a k−i (k − 1), Y (k)} such that a 1 a 2 . . . a k−i ∈ L(A). As L(A) is star-free, it is definable by an FO(&lt;)sentence <ref type="bibr" target="#b22">[23,</ref><ref type="bibr">Ch. VI]</ref>, and so (O, F ) and (O, F (x)) are FO(&lt;)-rewritable. Theorem 6. Deciding FO(&lt;)-or FO(&lt;, ≡ N )-rewritability of LTL krom OMPEQs over Ξ-ABoxes is ExpSpace-hard.</p><p>Proof. Take an LTL horn OMAQ q = (O, A) and Ξ ⊆ sig(q), assuming that the axioms in O are of the form</p><p>For any Ξ-ABox A, the certain answers to q and q (and to q(x) and q (x)) over A coincide. It follows that q and q (x) are FO(&lt;)-or FO(&lt;, ≡ N )-rewritable over Ξ-ABoxes iff q and q(x) are FO(&lt;)-or FO(&lt;, ≡ N )-rewritable, respectively.</p><p>5 Linear, Krom and core OMAQs and OMPEQs Theorem 7. Deciding FO(&lt;)-or FO(&lt;, ≡ N )-rewritability of linear LTL P horn OMAQs over Ξ-ABoxes is PSpace-complete; NC 1 -completeness is in PSpace.</p><p>Proof. One can reduce L-rewritability of linear specific OMAQs to L-rewritability of linear Boolean OMAQs. Let q = (O, A 1 ) be a linear OMAQ. We transform q to q = (O , A 1 ) such that q is L-rewritable over Ξ-ABoxes iff q is and A ∈ idb(O ) only occurs in axioms of the form</p><p>is transformed to an ontology O with the following axioms:</p><p>and let ext(O) be the set of (maximal) basic concepts P A with A ∈ edb(O) that occur on the left-hand side of an axiom in O. Thus,</p><p>, which we illustrate below for the OMAQ q = (O , A 1 ) in our example, assuming that Ξ = {X, Y, Z, W, V, A 1 , A 2 , A 3 } and S → e S implies S → e S for all e ⊇ e:</p><p>The proof uses an FO(&lt;)-reduction maping a ∈ Ξ * to e ∈ Γ * q with a ∈ L(q ) iff e ∈ L(B q ), and the other way round. To show that deciding FO(&lt;)-, FO(&lt; , ≡ N )-definability, or NC 1 -completeness of L(B q ) can be done in PSpace is not immediate as neither q nor B q is polynomial in |q|. However, the number of states in B q is polynomial in q and one can check whether q → e q by a PSpace algorithm, which allows us to use Theorems 2 and 3 for B q without explicitly constructing it. The lower bounds are proved by reduction of FO(&lt;)and FO(&lt;, ≡ N )-definability for regular languages. As O is krom, A is inconsistent with O iff (i) there are</p><p>are FO(&lt;)-definable for any B, C ∈ Ξ, then L Ξ (q) is FO(&lt;)-definable and q is FO(&lt;)-rewritable over Ξ-ABoxes. For any B, C, we construct an NFA A BC over the alphabet {∅} of size O(|q|) that accepts L BC <ref type="bibr" target="#b3">[4]</ref>. Using [22, Theorem 6.1], we show that deciding FO(&lt;)-rewritability of the language of a unary NFA is coNP-complete, obtaining the required upper bound. To show the matching lower bound, for any unary NFA A = (Q, {a}, δ, I, F ), we define an LTL core ontology O A with the axioms X → I, q ∧ Y → ⊥ and p → F r, for all q ∈ F and transitions p → a r in δ. The OMAQ (O A , A) is FO(&lt;)-rewritable over {X, Y }-ABoxes iff L(A) is FO(&lt;)-definable, as the answer to the OMAQ over an {X, Y }-ABox A can only be yes iff there are X(i), Y (j) ∈ A with a j−i−1 ∈ L(A). Theorem 9. Deciding FO(&lt;)-rewritability of LTL core OMPEQs q = (O, κ) over Ξ-ABoxes is Π p 2 -complete.</p><p>Proof. We assume that O does not contain disjointness axioms B ∧ C → ⊥ as they can be removed from O and κ replaced by κ ∨ O|=B∧C→⊥ 3 F 3 P (B ∧ C), giving an equivalent OMQ. We further assume that all of the other rules have the following forms: A → B, A → F B, or A → P B. As in the proof of Theorem 7, rewritability of specific OMQs can be reduced to rewritability of Boolean OMQs. Given O, A, B and k, one can check in polytime whether O, A |= B(k), which, by structural induction, implies that checking O, A |= ∃xκ(x) is in NP.</p><p>Ξ -words v and v , we write v ≤ v if they are of the same length and v i ⊆ v i , for all i.</p><p>As q is an LTL core OMPEQ, we have O, A |= q iff O, A |= q, for some A ⊆ A, |A | ≤ |κ|. Then, for every v ∈ Σ * Ξ , we have v ∈ L Ξ (q) iff there is v ≤ v such that v ∈ L w for some w ∈ B. It follows that the language L Ξ (q) is FO(&lt;)definable iff L w is FO(&lt;)-definable, for every w ∈ B. For w = w 1 . . . w k ∈ B and I = (i 0 , . . . , i k ), let v w,I = ∅ i0 w 1 ∅ i1 . . . w k ∅ i k . For c ∈ N, let I ≤c be I with all i j &gt; c replaced with c. If L w is FO(&lt;)-definable, there is c with v w,I ∈ L w iff v w,I&lt;c ∈ L w . By the properties of the canonical models <ref type="bibr" target="#b3">[4]</ref>, there is a suitable c with c &lt; 2 |sig(q)|+|κ| + 1. Now, q is not FO(&lt;)-rewritable iff we can guess w ∈ B and I such that max(I) &lt; 2c and only one of v w,I and v w,I&lt;c is in L w . We can check membership in L w using an NP-oracle, so FO(&lt;)-rewritability is in coNP NP = Π p 2 . The matching lower bound is shown by reduction of ∀∃3CNF <ref type="bibr" target="#b20">[21]</ref>. Given a QBF ∀X∃Y ϕ with a 3CNF ϕ, X = {x 1 , . . . , x n } and Y = {y 1 , . . . , y m }, we construct an LTL core OMPEQ q ϕ = (O ϕ , κ ϕ ) that is FO(&lt;)-rewritable iff ∀X∃Y ϕ(X, Y ) is true. We use atomic concepts x 0 i and x 1 i for x i ∈ X, y j i for y i ∈ Y and 0 ≤ j &lt; p i , where p i is the i-th prime number, A and B. O ϕ has the axioms</p><p>Let ϕ result from ϕ by replacing all x i with x 1 i , all ¬x i with x 0 i , and similarly for the y j . We set κ</p><p>, and so, for every i, there is x 0 i (s) or x 1 i (s) in A, for some s ≤ t. There is an assignment a 1 ∈ 2 X such that O ϕ , A |= x a1(i) i (s) for all s &gt; t. Take a corresponding assignment a 2 ∈ 2 Y that makes ϕ true. There exists a number r such that r mod p i = a 2 (i) for all i ≤ m. Therefore O ϕ , A |= ϕ (t + r), and so O ϕ , A |= 3 F ϕ (t). Thus, the sentence</p><p>is a rewriting of q ϕ . If ∀X∃Y ϕ(X, Y ) is false, then there is a ∈ 2 X such that ϕ is false for any assignment to Y . For w = {B}X a , X a = {A, x a(0) 1 , . . . , x a(n) n }, the language L w is L(∅ * {B}(∅∅) * X a ∅ * ), and so q ϕ cannot be FO(&lt;)-rewritable.</p></div>			</div>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">The DL-Lite family and relations</title>
		<author>
			<persName><forename type="first">A</forename><surname>Artale</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Calvanese</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Kontchakov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Artificial Intelligence Research (JAIR)</title>
		<imprint>
			<biblScope unit="volume">36</biblScope>
			<biblScope unit="page" from="1" to="69" />
			<date type="published" when="2009">2009</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">First-order rewritability of temporal ontology-mediated queries</title>
		<author>
			<persName><forename type="first">A</forename><surname>Artale</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Kontchakov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kovtunova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Ryzhikov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
		<ptr target="http://ijcai.org/Abstract/15/383" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI 2015</title>
				<editor>
			<persName><forename type="first">Q</forename><surname>Yang</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><surname>Wooldridge</surname></persName>
		</editor>
		<meeting>the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI 2015<address><addrLine>Buenos Aires, Argentina</addrLine></address></meeting>
		<imprint>
			<publisher>AAAI Press</publisher>
			<date type="published" when="2015">July 25-31, 2015. 2015</date>
			<biblScope unit="page" from="2706" to="2712" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Ontology-mediated query answering over temporal data: A survey (invited talk)</title>
		<author>
			<persName><forename type="first">A</forename><surname>Artale</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Kontchakov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kovtunova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Ryzhikov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
		<idno type="DOI">10.4230/LIPIcs.TIME.2017.1</idno>
		<ptr target="https://doi.org/10.4230/LIPIcs.TIME.2017.1" />
	</analytic>
	<monogr>
		<title level="m">24th International Symposium on Temporal Representation and Reasoning, TIME 2017</title>
				<editor>
			<persName><forename type="first">S</forename><surname>Schewe</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">T</forename><surname>Schneider</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">J</forename><surname>Wijsen</surname></persName>
		</editor>
		<meeting><address><addrLine>Mons, Belgium</addrLine></address></meeting>
		<imprint>
			<publisher>Schloss Dagstuhl -Leibniz-Zentrum für Informatik</publisher>
			<date type="published" when="2017">October 16-18, 2017. 2017</date>
			<biblScope unit="volume">90</biblScope>
			<biblScope unit="page">37</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title level="m" type="main">First-order rewritability of ontology-mediated queries in linear temporal logic</title>
		<author>
			<persName><forename type="first">A</forename><surname>Artale</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Kontchakov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kovtunova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Ryzhikov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
		<idno>CoRR abs/2004.07221</idno>
		<ptr target="https://arxiv.org/abs/2004.07221" />
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Regular languages in NC 1</title>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">A M</forename><surname>Barrington</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">J</forename><surname>Compton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Straubing</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Thérien</surname></persName>
		</author>
		<idno type="DOI">10.1016/0022-0000(92)90014-A</idno>
		<idno>-0000(92)90014-A</idno>
		<ptr target="https://doi.org/10.1016/0022" />
	</analytic>
	<monogr>
		<title level="j">J. Comput. Syst. Sci</title>
		<imprint>
			<biblScope unit="volume">44</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="478" to="499" />
			<date type="published" when="1992">1992</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Regular expression star-freeness is PSPACE-complete</title>
		<author>
			<persName><forename type="first">L</forename><surname>Bernátsky</surname></persName>
		</author>
		<ptr target="http://www.inf.u-szeged.hu/actacybernetica/edb/vol13n1/Bernatsky_1997_ActaCybernetica.xml" />
	</analytic>
	<monogr>
		<title level="j">Acta Cybern</title>
		<imprint>
			<biblScope unit="volume">13</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="1" to="21" />
			<date type="published" when="1997">1997</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Ontology-based data access: A study through disjunctive datalog, CSP, and MMSNP</title>
		<author>
			<persName><forename type="first">M</forename><surname>Bienvenu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Cate</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">ACM Transactions on Database Systems</title>
		<imprint>
			<biblScope unit="volume">39</biblScope>
			<biblScope unit="issue">4</biblScope>
			<biblScope unit="page" from="1" to="44" />
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Tractable reasoning and efficient query answering in description logics: the DL-Lite family</title>
		<author>
			<persName><forename type="first">D</forename><surname>Calvanese</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>De Giacomo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Lembo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Lenzerini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Rosati</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Automated Reasoning</title>
		<imprint>
			<biblScope unit="volume">39</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="385" to="429" />
			<date type="published" when="2007">2007</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Finite-automaton aperiodicity is PSPACE-complete</title>
		<author>
			<persName><forename type="first">S</forename><surname>Cho</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">T</forename><surname>Huynh</surname></persName>
		</author>
		<ptr target="https://core.ac.uk/download/pdf/82662203.pdf" />
	</analytic>
	<monogr>
		<title level="j">Theor. Comp. Sci</title>
		<imprint>
			<biblScope unit="volume">88</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="99" to="116" />
			<date type="published" when="1991">1991</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">An algebra and a logic for NC 1</title>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">J</forename><surname>Compton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Laflamme</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Inf. Comput</title>
		<imprint>
			<biblScope unit="volume">87</biblScope>
			<biblScope unit="issue">1/2</biblScope>
			<biblScope unit="page" from="240" to="262" />
			<date type="published" when="1990">1990</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">Decidable optimization problems for database logic programs (preliminary report)</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">S</forename><surname>Cosmadakis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Gaifman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">C</forename><surname>Kanellakis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">Y</forename><surname>Vardi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">STOC</title>
		<imprint>
			<biblScope unit="page" from="477" to="490" />
			<date type="published" when="1988">1988</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Temporal Logics in Computer Science</title>
		<author>
			<persName><forename type="first">S</forename><surname>Demri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Goranko</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Lange</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="s">Cambridge Tracts in Theoretical Computer Science</title>
		<imprint>
			<date type="published" when="2016">2016</date>
			<publisher>Cambridge University Press</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Parity, circuits, and the polynomial-time hierarchy</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">L</forename><surname>Furst</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">B</forename><surname>Saxe</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Sipser</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Mathematical Systems Theory</title>
		<imprint>
			<biblScope unit="volume">17</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="13" to="27" />
			<date type="published" when="1984">1984</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Many-Dimensional Modal Logics: Theory and Applications</title>
		<author>
			<persName><forename type="first">D</forename><surname>Gabbay</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kurucz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Studies in Logic</title>
		<imprint>
			<biblScope unit="volume">148</biblScope>
			<date type="published" when="2003">2003</date>
			<publisher>Elsevier</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">A data complexity and rewritability tetrachotomy of ontology-mediated queries with a covering axiom</title>
		<author>
			<persName><forename type="first">O</forename><surname>Gerasimova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Kikot</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kurucz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Podolskii</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of KR</title>
				<meeting>KR</meeting>
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Schema.org as a description logic</title>
		<author>
			<persName><forename type="first">A</forename><surname>Hernich</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Ozaki</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
		<ptr target="http://ijcai.org/Abstract/15/430" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI 2015</title>
				<editor>
			<persName><forename type="first">Q</forename><surname>Yang</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><forename type="middle">J</forename><surname>Wooldridge</surname></persName>
		</editor>
		<meeting>the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI 2015<address><addrLine>Buenos Aires, Argentina</addrLine></address></meeting>
		<imprint>
			<publisher>AAAI Press</publisher>
			<date type="published" when="2015">July 25-31, 2015. 2015</date>
			<biblScope unit="page" from="3048" to="3054" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">Non-uniform data complexity of query answering in description logics</title>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Wolter</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proc. of the 13th Int. Conference on Principles of Knowledge Representation and Reasoning</title>
				<meeting>of the 13th Int. Conference on Principles of Knowledge Representation and Reasoning<address><addrLine>KR</addrLine></address></meeting>
		<imprint>
			<publisher>AAAI</publisher>
			<date type="published" when="2012">2012. 2012</date>
			<biblScope unit="page" from="297" to="307" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Ontology-mediated querying with the description logic EL: trichotomy and linear datalog rewritability</title>
		<author>
			<persName><forename type="first">C</forename><surname>Lutz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Sabellek</surname></persName>
		</author>
		<idno type="DOI">10.24963/ijcai.2017/164</idno>
		<idno>ijcai.org</idno>
		<ptr target="https://doi.org/10.24963/ijcai.2017/164" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI 2017</title>
				<editor>
			<persName><forename type="first">C</forename><surname>Sierra</surname></persName>
		</editor>
		<meeting>the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI 2017<address><addrLine>Melbourne, Australia</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2017">August 19-25, 2017. 2017</date>
			<biblScope unit="page" from="1181" to="1187" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">DATALOG sirups uniform boundedness is undecidable</title>
		<author>
			<persName><forename type="first">J</forename><surname>Marcinkowski</surname></persName>
		</author>
		<idno type="DOI">10.1109/LICS.1996.561299</idno>
		<ptr target="https://doi.org/10.1109/LICS.1996.561299" />
	</analytic>
	<monogr>
		<title level="m">Proceedings, 11th Annual IEEE Symposium on Logic in Computer Science</title>
				<meeting>11th Annual IEEE Symposium on Logic in Computer Science<address><addrLine>New Brunswick, New Jersey, USA</addrLine></address></meeting>
		<imprint>
			<publisher>IEEE Computer Society</publisher>
			<date type="published" when="1996">July 27-30, 1996. 1996</date>
			<biblScope unit="page" from="13" to="24" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">Linking data to ontologies</title>
		<author>
			<persName><forename type="first">A</forename><surname>Poggi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Lembo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Calvanese</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>De Giacomo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Lenzerini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Rosati</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal on Data Semantics X</title>
		<imprint>
			<biblScope unit="page" from="133" to="173" />
			<date type="published" when="2008">2008</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b20">
	<analytic>
		<title level="a" type="main">The polynomial-time hierarchy</title>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">J</forename><surname>Stockmeyer</surname></persName>
		</author>
		<idno type="DOI">10.1016/0304-3975(76)90061-X</idno>
		<idno>(76)90061-X</idno>
		<ptr target="https://doi.org/10.1016/0304-3975" />
	</analytic>
	<monogr>
		<title level="j">Theor. Comput. Sci</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="1" to="22" />
			<date type="published" when="1976">1976</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b21">
	<analytic>
		<title level="a" type="main">Word problems requiring exponential time: Preliminary report</title>
		<author>
			<persName><forename type="first">L</forename><forename type="middle">J</forename><surname>Stockmeyer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">R</forename><surname>Meyer</surname></persName>
		</author>
		<idno type="DOI">10.1145/800125.804029</idno>
		<ptr target="https://doi.org/10.1145/800125.804029" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 5th Annual ACM Symposium on Theory of Computing</title>
				<editor>
			<persName><forename type="first">A</forename><forename type="middle">V</forename><surname>Aho</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Borodin</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">R</forename><forename type="middle">L</forename><surname>Constable</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">R</forename><forename type="middle">W</forename><surname>Floyd</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><forename type="middle">A</forename><surname>Harrison</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">R</forename><forename type="middle">M</forename><surname>Karp</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">H</forename><forename type="middle">R</forename><surname>Strong</surname></persName>
		</editor>
		<meeting>the 5th Annual ACM Symposium on Theory of Computing<address><addrLine>Austin, Texas, USA</addrLine></address></meeting>
		<imprint>
			<publisher>ACM</publisher>
			<date type="published" when="1973-05-02">April 30 -May 2, 1973. 1973</date>
			<biblScope unit="page" from="1" to="9" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b22">
	<monogr>
		<title level="m" type="main">Finite Automata, Formal Logic, and Circuit Complexity</title>
		<author>
			<persName><forename type="first">H</forename><surname>Straubing</surname></persName>
		</author>
		<imprint>
			<date type="published" when="1994">1994</date>
			<publisher>Birkhauser Verlag</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b23">
	<analytic>
		<title level="a" type="main">Nonsolvable finite groups all of whose local subgroups are solvable</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">G</forename><surname>Thompson</surname></persName>
		</author>
		<ptr target="https://projecteuclid.org:443/euclid.bams/1183529612" />
	</analytic>
	<monogr>
		<title level="j">Bull. Amer. Math. Soc</title>
		<imprint>
			<biblScope unit="volume">74</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page" from="383" to="437" />
			<date type="published" when="1968-05">05 1968</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b24">
	<analytic>
		<title level="a" type="main">Parallel complexity of logical query programs</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">D</forename><surname>Ullman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">V</forename><surname>Gelder</surname></persName>
		</author>
		<idno type="DOI">10.1007/BF01762108</idno>
		<ptr target="https://doi.org/10.1007/BF01762108" />
	</analytic>
	<monogr>
		<title level="j">Algorithmica</title>
		<imprint>
			<biblScope unit="volume">3</biblScope>
			<biblScope unit="page" from="5" to="42" />
			<date type="published" when="1988">1988</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b25">
	<analytic>
		<title level="a" type="main">Decidability and undecidability results for boundedness of linear recursive queries</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">Y</forename><surname>Vardi</surname></persName>
		</author>
		<idno type="DOI">10.1145/308386.308470</idno>
		<ptr target="http://doi.acm.org/10.1145/308386.308470" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Seventh ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems</title>
				<editor>
			<persName><forename type="first">C</forename><surname>Edmondson-Yurkanan</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">M</forename><surname>Yannakakis</surname></persName>
		</editor>
		<meeting>the Seventh ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems<address><addrLine>Austin, Texas, USA</addrLine></address></meeting>
		<imprint>
			<publisher>ACM</publisher>
			<date type="published" when="1988">March 21-23, 1988. 1988</date>
			<biblScope unit="page" from="341" to="351" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
