EDBT 2026 Demo / reviewers in the wild / expert
Luc Segoufin
dblp:s/LucSegoufin
· DBLP profile ↗
78ranked-venue papers
11as first author
8since 2021 · last 2026
0000-0002-9564-7581ORCID · verified
Domains — the database's venue-derived domains; a paper can count in several
Theory of computation · 39 · 3 first-author · 4 since 2021Databases, data management, data science and information retrieval · 33 · 8 first-author · 3 since 2021Applied, interdisciplinary, general and emerging computing · 7 · 1 since 2021
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2026 | Constant-Time Dynamic Enumeration of Word Infixes in a Regular LanguageabstractFor a fixed regular language L, the enumeration of L-infixes is the following task: we are given an input word w = a₁ ⋯ a_n and we must enumerate the infixes of w that belong to L, i.e., the pairs i ≤ j such that a_i ⋯ a_j ∈ L. We are interested in dynamic enumeration of L-infixes, where we must additionally support letter substitution updates on w (e.g., "replace the i-th letter of w by a letter a"). Each update changes the set of infixes to enumerate, and resets the enumeration state. We study for which regular languages L we can perform dynamic enumeration of L-infixes in constant delay (i.e., the next infix is always produced in constant time) and constant additional memory throughout the enumeration, while supporting each update in constant time. We show that, for languages L with a neutral letter, if the language L belongs to the class ZG and is extensible (i.e., if u ∈ L and u is a factor of v then v ∈ L), then dynamic enumeration of L-infixes can be achieved with a simple algorithm that ensures constant-time updates and constant delay, but not constant additional memory. Our main contribution is then to show an algorithm that additionally uses only constant additional memory, and applies to a more general class of semi-extensible ZG languages for which we give several equivalent characterizations. We further discuss whether our results can be generalized to larger language classes and show some (conditional) lower bounds. Antoine Amarilli, Sven Dziadek, Luc Segoufin |
MFCS | 3 |
| 2025 | A Simple Algorithm for Consistent Query Answering under Primary KeysabstractWe consider the dichotomy conjecture for consistent query answering under primary key constraints. It states that, for every fixed Boolean conjunctive query q, testing whether q is certain (i.e. whether it evaluates to true over all repairs of a given inconsistent database) is either polynomial time or coNP-complete. This conjecture has been verified for self-join-free and path queries. We propose a simple inflationary fixpoint algorithm for consistent query answering which, for a given database, naively computes a set $\Delta$ of subsets of facts of the database of size at most k, where k is the size of the query q. The algorithm runs in polynomial time and can be formally defined as: (1) Initialize $\Delta$ with all sets $S$ of at most $k$ facts such that $S\models q$. (2) Add any set $S$ of at most k facts to $\Delta$ if there exists a block $B$ (i.e., a maximal set of facts sharing the same key) such that for every fact $a \in B$ there is a set $S' \subseteq S \cup \{a\}$ such that $S'\in \Delta$. For an input database $D$, the algorithm answers "q is certain" iff $\Delta$ eventually contains the empty set. The algorithm correctly computes certainty when the query q falls in the polynomial time cases of the known dichotomies for self-join-free queries and path queries. For arbitrary Boolean conjunctive queries, the algorithm is an under-approximation: the query is guaranteed to be certain if the algorithm claims so. However, there are polynomial time certain queries (with self-joins) which are not identified as such by the algorithm. Diego Figueira, Anantha Padmanabha, Luc Segoufin, Cristina Sirangelo |
Log. Methods Comput. Sci. | 3 |
| 2024 | A Dichotomy in the Complexity of Consistent Query Answering for Two Atom Queries With Self-JoinabstractWe consider the dichotomy conjecture for consistent query answering under primary key constraints. It states that, for every fixed Boolean conjunctive query q, testing whether q is certain (i.e. whether it evaluates to true over all repairs of a given inconsistent database) is either PTime or CoNP-complete. This conjecture has been verified for self-join-free and path queries. We show that it also holds for queries with two atoms. Anantha Padmanabha, Luc Segoufin, Cristina Sirangelo |
Proc. ACM Manag. Data | 2 |
| 2023 | A Simple Algorithm for Consistent Query Answering Under Primary KeysabstractWe consider the dichotomy conjecture for consistent query answering under primary key constraints. It states that, for every fixed Boolean conjunctive query q, testing whether q is certain (i.e. whether it evaluates to true over all repairs of a given inconsistent database) is either polynomial time or coNP-complete. This conjecture has been verified for self-join-free and path queries. We propose a simple inflationary fixpoint algorithm for consistent query answering which, for a given database, naively computes a set $Δ$ of subsets of facts of the database of size at most k, where k is the size of the query q. The algorithm runs in polynomial time and can be formally defined as: (1) Initialize $Δ$ with all sets $S$ of at most $k$ facts such that $S\models q$. (2) Add any set $S$ of at most k facts to $Δ$ if there exists a block $B$ (i.e., a maximal set of facts sharing the same key) such that for every fact $a \in B$ there is a set $S' \subseteq S \cup \{a\}$ such that $S'\in Δ$. For an input database $D$, the algorithm answers "q is certain" iff $Δ$ eventually contains the empty set. The algorithm correctly computes certainty when the query q falls in the polynomial time cases of the known dichotomies for self-join-free queries and path queries. For arbitrary Boolean conjunctive queries, the algorithm is an under-approximation: the query is guaranteed to be certain if the algorithm claims so. However, there are polynomial time certain queries (with self-joins) which are not identified as such by the algorithm. Diego Figueira, Anantha Padmanabha, Luc Segoufin, Cristina Sirangelo |
ICDT | 3 |
| 2023 | Conjunctive Queries With Self-Joins, Towards a Fine-Grained Enumeration Complexity AnalysisabstractEven though query evaluation is a fundamental task in databases, known classifications of conjunctive queries by their fine-grained complexity only apply to queries without self-joins. We study how self-joins affect enumeration complexity, with the aim of building upon the known results to achieve general classifications. We do this by examining the extension of two known dichotomies: one with respect to linear delay, and one with respect to constant delay after linear preprocessing. As this turns out to be an intricate investigation, this paper is structured as an example-driven discussion that initiates this analysis. We show enumeration algorithms that rely on self-joins to efficiently evaluate queries that otherwise (i.e., if the relation names were replaced to eliminate self-joins) cannot be answered with the same guarantees. Due to these additional tractable cases, the hardness proofs are more complex than the self-join-free case. We show how to harness a known tagging technique to prove hardness of queries with self-joins. Our study offers sufficient conditions and necessary conditions for tractability and settles the cases of queries of low arity and queries with cyclic cores. Nevertheless, many cases remain open. Nofar Carmeli, Luc Segoufin |
PODS | 2 |
| 2022 | Enumeration for FO Queries over Nowhere Dense GraphsabstractWe consider the evaluation of first-order queries over classes of databases that are nowhere dense . The notion of nowhere dense classes was introduced by Nešetřil and Ossona de Mendez as a formalization of classes of “sparse” graphs and generalizes many well-known classes of graphs, such as classes of bounded degree, bounded tree-width, or bounded expansion. It has recently been shown by Grohe, Kreutzer, and Siebertz that over nowhere dense classes of databases, first-order sentences can be evaluated in pseudo-linear time (pseudo-linear time means that for all \( \epsilon \) there exists an algorithm working in time \( O(n^{1+\epsilon }) \) , where \( n \) is the size of the database). For first-order queries of higher arities, we show that over any nowhere dense class of databases, the set of their solutions can be enumerated with constant delay after a pseudo-linear time preprocessing. In the same context, we also show that after a pseudo-linear time preprocessing we can, on input of a tuple, test in constant time whether it is a solution to the query. Nicole Schweikardt, Luc Segoufin, Alexandre Vigny |
J. ACM | 2 |
| 2022 | Enumerating Answers to First-Order Queries over Databases of Low DegreeabstractA class of relational databases has low degree if for all $\delta>0$, all but finitely many databases in the class have degree at most $n^{\delta}$, where $n$ is the size of the database. Typical examples are databases of bounded degree or of degree bounded by $\log n$. It is known that over a class of databases having low degree, first-order boolean queries can be checked in pseudo-linear time, i.e.\ for all $\epsilon>0$ in time bounded by $n^{1+\epsilon}$. We generalize this result by considering query evaluation. We show that counting the number of answers to a query can be done in pseudo-linear time and that after a pseudo-linear time preprocessing we can test in constant time whether a given tuple is a solution to a query or enumerate the answers to a query with constant delay. Arnaud Durand 0001, Nicole Schweikardt, Luc Segoufin |
Log. Methods Comput. Sci. | 3 |
| 2022 | Tameness and the power of programs over monoids in DAabstractThe program-over-monoid model of computation originates with Barrington's proof that the model captures the complexity class $\mathsf{NC^1}$. Here we make progress in understanding the subtleties of the model. First, we identify a new tameness condition on a class of monoids that entails a natural characterization of the regular languages recognizable by programs over monoids from the class. Second, we prove that the class known as $\mathbf{DA}$ satisfies tameness and hence that the regular languages recognized by programs over monoids in $\mathbf{DA}$ are precisely those recognizable in the classical sense by morphisms from $\mathbf{QDA}$. Third, we show by contrast that the well studied class of monoids called $\mathbf{J}$ is not tame. Finally, we exhibit a program-length-based hierarchy within the class of languages recognized by programs over monoids from $\mathbf{DA}$. Nathan Grosshans, Pierre McKenzie, Luc Segoufin |
Log. Methods Comput. Sci. | 3 |
| 2020 | Order-Invariant First-Order Logic over Hollow TreesabstractWe show that the expressive power of order-invariant first-order logic collapses to first-order logic over hollow trees. A hollow tree is an unranked ordered tree where every non leaf node has at most four adjacent nodes: two siblings (left and right) and its first and last children. In particular there is no predicate for the linear order among siblings nor for the descendant relation. Moreover only the first and last nodes of a siblinghood are linked to their parent node, and the parent-child relation cannot be completely reconstructed in first-order. Julien Grange, Luc Segoufin |
CSL | 2 |
| 2020 | Projection Views of Register AutomataabstractRegister automata have been used as a convenient model for specifying and verifying database driven systems. An important problem in such systems is to provide views that hide or restructure certain information about the data or process, extending classical notions of database views. In this paper we carry out a formal investigation of views of register automata by considering simple views that project away some of the registers. We show that classical register automata are not able to describe such projections and introduce more powerful register automata that are able to do so. We also show useful properties of these automata such as closure under projection and decidability of verifying temporal properties of their runs. Luc Segoufin, Victor Vianu |
PODS | 1 |
| 2020 | First-order queries on classes of structures with bounded expansionabstractWe consider the evaluation of first-order queries over classes of databases with bounded expansion. The notion of bounded expansion is fairly broad and generalizes bounded degree, bounded treewidth and exclusion of at least one minor. It was known that over a class of databases with bounded expansion, first-order sentences could be evaluated in time linear in the size of the database. We give a different proof of this result. Moreover, we show that answers to first-order queries can be enumerated with constant delay after a linear time preprocessing. We also show that counting the number of answers to a query can be done in time linear in the size of the database. Wojciech Kazana, Luc Segoufin |
Log. Methods Comput. Sci. | 2 |
| 2018 | Enumeration of MSO Queries on Strings with Constant Delay and Logarithmic UpdatesabstractWe consider the enumeration of MSO queries over strings under updates. For each MSO query we build an index structure enjoying the following properties: The index structure can be constructed in linear time, it can be updated in logarithmic time and it allows for constant delay time enumeration. This improves from the previous known index structures allowing for constant delay enumeration that would need to be reconstructed from scratch, hence in linear time, in the presence of updates. We allow relabeling updates, insertion of individual labels and removal of individual labels. Matthias Niewerth, Luc Segoufin |
PODS | 2 |
| 2018 | Enumeration for FO Queries over Nowhere Dense GraphsabstractWe consider the evaluation of first-order queries over classes of databases that are nowhere dense. The notion of nowhere dense classes was introduced by Nesetril and Ossona de Mendez as a formalization of classes of "sparse" graphs and generalizes many well-known classes of graphs, such as classes of bounded degree, bounded tree-width, or bounded expansion. It has recently been shown by Grohe, Kreutzer, and Siebertz that over nowhere dense classes of databases, first-order sentences can be evaluated in pseudo-linear time (pseudo-linear time means that for all ε there exists an algorithm working in time O(n1+ε), where n is the size of the database). For first-order queries of higher arities, we show that over any nowhere dense class of databases, the set of their solutions can be enumerated with constant delay after a pseudo-linear time preprocessing. In the same context, we also show that after a pseudo-linear time preprocessing we can, on input of a tuple, test in constant time whether it is a solution to the query. Nicole Schweikardt, Luc Segoufin, Alexandre Vigny |
PODS | 2 |
| 2017 | Constant Delay Enumeration for FO Queries over Databases with Local Bounded ExpansionabstractWe consider the evaluation of first-order queries over classes of databases with local bounded expansion. This class was introduced by Nesetril and Ossona de Mendez and generalizes many well known classes of databases, such as bounded degree, bounded tree width or bounded expansion. It is known that over classes of databases with local bounded expansion, first-order sentences can be evaluated in pseudo-linear time (pseudo-linear time means that for all \epsilon there exists an algorithm working in time O(n^{1+\epsilon})). Here, we investigate other scenarios, where queries are not sentences. We show that first-order queries can be enumerated with constant delay after a pseudo-linear preprocessing over any class of databases having locally bounded expansion. We also show that, in this context, counting the number of solutions can be done in pseudo-linear time. Luc Segoufin, Alexandre Vigny |
ICDT | 1 |
| 2017 | The Power of Programs over Monoids in DAabstractThe program-over-monoid model of computation originates with Barrington's proof that it captures the complexity class NC^1. Here we make progress in understanding the subtleties of the model. First, we identify a new tameness condition on a class of monoids that entails a natural characterization of the regular languages recognizable by programs over monoids from the class. Second, we prove that the class known as DA satisfies tameness and hence that the regular languages recognized by programs over monoids in DA are precisely those recognizable in the classical sense by morphisms from QDA. Third, we show by contrast that the well studied class of monoids called J is not tame and we exhibit a regular language, recognized by a program over a monoid from J, yet not recognizable classically by morphisms from the class QJ. Finally, we exhibit a program-length-based hierarchy within the class of languages recognized by programs over monoids from DA. Nathan Grosshans, Pierre McKenzie, Luc Segoufin |
MFCS | 3 |
| 2017 | Bottom-up automata on data trees and vertical XPathabstractA data tree is a finite tree whose every node carries a label from a finite alphabet and a datum from some infinite domain. We introduce a new model of automata over unranked data trees with a decidable emptiness problem. It is essentially a bottom-up alternating automaton with one register that can store one data value and can be used to perform equality tests with the data values occurring within the subtree of the current node. We show that it captures the expressive power of the vertical fragment of XPath - containing the child, descendant, parent and ancestor axes - obtaining thus a decision procedure for its satisfiability problem. Diego Figueira, Luc Segoufin |
Log. Methods Comput. Sci. | 2 |
| 2015 | Guarded NegationabstractWe consider restrictions of first-order logic and of fixpoint logic in which all occurrences of negation are required to be guarded by an atomic predicate. In terms of expressive power, the logics in question, called GNFO and GNFP, extend the guarded fragment of first-order logic and the guarded least fixpoint logic, respectively. They also extend the recently introduced unary negation fragments of first-order logic and of least fixpoint logic. We show that the satisfiability problem for GNFO and for GNFP is 2ExpTime-complete, both on arbitrary structures and on finite structures. We also study the complexity of the associated model checking problems. Finally, we show that GNFO and GNFP are not only computationally well behaved, but also model theoretically: we show that GNFO and GNFP have the tree-like model property and that GNFO has the finite model property, and we characterize the expressive power of GNFO in terms of invariance for an appropriate notion of bisimulation. Our complexity upper bounds for GNFO and GNFP hold true even for their “clique-guarded” extensions CGNFO and CGNFP, in which clique guards are allowed in the place of guards. Vince Bárány, Balder ten Cate, Luc Segoufin |
J. ACM | 3 |
| 2014 | Datalog Rewritings of Regular Path Queries using ViewsabstractWe consider query answering using views on graph databases, i.e. databases structured as edge-labeled graphs. We mainly consider views and queries specified by Regular Path Queries (RPQ). These are queries selecting pairs of nodes in a graph database that are connected via a path whose sequence of edge labels belongs to some regular language. We say that a view V determines a query Q if for all graph databases D, the view image V(D) always contains enough information to answer Q on D. In other words, there is a well defined function from V(D) to Q(D). Our main result shows that when this function is monotone, there exists a rewriting of Q as a Datalog query over the view instance V(D). In particular the rewriting query can be evaluated in time polynomial in the size of V(D). Moreover this implies that it is decidable whether an RPQ query can be rewritten in Datalog using RPQ views. Nadime Francis, Luc Segoufin, Cristina Sirangelo |
ICDT | 2 |
| 2014 | Enumerating answers to first-order queries over databases of low degreeabstractA class of relational databases has low degree if for all δ, all but finitely many databases in the class have degree at most nδ, where n is the size of the database. Typical examples are databases of bounded degree or of degree bounded by log n. It is known that over a class of databases having low degree, first-order boolean queries can be checked in pseudo-linear time, i.e. in time bounded by n1+ε, for all ε. We generalise this result by considering query evaluation. Arnaud Durand 0001, Nicole Schweikardt, Luc Segoufin |
PODS | 3 |
| 2014 | A glimpse on constant delay enumeration (Invited Talk)abstractWe survey some of the recent results about enumerating the answers to queries over a database. We focus on the case where the enumeration is performed with a constant delay between any two consecutive solutions, after a linear time preprocessing. This cannot be always achieved. It requires restricting either the class of queries or the class of databases. We describe here several scenarios when this is possible. Luc Segoufin |
STACS | 1 |
| 2013 | Enumerating with constant delay the answers to a queryabstractWe survey recent results about enumerating with constant delay the answers to a query over a database. More precisely, we focus on the case when enumeration can be achieved with a preprocessing running in time linear in the size of the database, followed by an enumeration process outputting the answers one by one with constant time between any consecutive outputs. We survey classes of databases and classes of queries for which this is possible. We also mention related problems such as computing the number of answers or sampling the set of answers. Luc Segoufin |
ICDT | 1 |
| 2013 | Verification of database-driven systems via amalgamationabstractWe describe a general framework for static verification of systems that base their decisions upon queries to databases. The database is specified using constraints, typically a schema, and is not modified during a run of the system. The system is equipped with a finite number of registers for storing intermediate information from the database and the specification consists of a transition table described using quantifier-free formulas that can query either the database or the registers. Mikolaj Bojanczyk, Luc Segoufin, Szymon Torunczyk |
PODS | 2 |
| 2013 | Enumeration of first-order queries on classes of structures with bounded expansionabstractWe consider the evaluation of first-order queries over classes of databases with bounded expansion. The notion of bounded expansion is fairly broad and generalizes bounded degree, bounded treewidth and exclusion of at least one minor. It was known that over a class of databases with bounded expansion, first-order sentences could be evaluated in time linear in the size of the database. We first give a different proof of this result. Moreover, we show that answers to first-order queries can be enumerated with constant delay after a linear time preprocessing. We also show that counting the number of answers to a query can be done in time linear in the size of the database. Wojciech Kazana, Luc Segoufin |
PODS | 2 |
| 2013 | Enumeration of monadic second-order queries on treesabstractWe consider the enumeration problem of Monadic Second-Order (MSO) queries with first-order free variables over trees. In Bagan [2006] it was shown that this problem is in CONSTANT-DELAY lin . An enumeration problem belongs to CONSTANT-DELAY lin if for an input structure of size n it can be solved by: —an O ( n ) precomputation phase building an index structure, —followed by a phase enumerating the answers with no repetition and a constant delay between two consecutive outputs. In this article we give a different proof of this result based on the deterministic factorization forest decomposition theorem of Colcombet [2007]. Wojciech Kazana, Luc Segoufin |
ACM Trans. Comput. Log. | 2 |
| 2012 | Locality from Circuit Lower BoundsabstractWe study the locality of an extension of first-order logic that captures graph queries computable in ${AC}^0}$, i.e., by families of polynomial-size constant-depth circuits. The extension considers first-order formulas over relational structures which may use arbitrary numerical predicates in such a way that their truth value is independent of the particular interpretation of the numerical predicates. We refer to such formulas as Arb-invariant first-order. We consider the two standard notions of locality, Gaifman and Hanf locality. Our main result gives a Gaifman locality theorem: An Arb-invariant first-order formula cannot distinguish between two tuples that have the same neighborhood up to distance $(\log n)^c$, where $n$ represents the number of elements in the structure and $c$ is a constant depending on the formula. When restricting attention to string structures, we achieve the same quantitative strength for Hanf locality. In both cases we show that our bounds are tight. We also present an application of our results to the study of regular languages. Our proof exploits the close connection between first-order formulas and the complexity class ${AC}^0}$ and hinges on the tight lower bounds for parity on constant-depth circuits. Dieter van Melkebeek, Nicole Schweikardt, Luc Segoufin |
SIAM J. Comput. | 4 |
| 2011 | Locality of Queries Definable in Invariant First-Order Logic with Arbitrary Built-in Predicates
Dieter van Melkebeek, Nicole Schweikardt, Luc Segoufin |
ICALP (2) | 4 |
| 2011 | Guarded Negation
Vince Bárány, Balder ten Cate, Luc Segoufin |
ICALP (2) | 3 |
| 2011 | Unary negation
Balder ten Cate, Luc Segoufin |
STACS | 2 |
| 2011 | Bottom-up automata on data trees and vertical XPath
Diego Figueira, Luc Segoufin |
STACS | 2 |
| 2011 | Automata based verification over linearly ordered data domainsabstractIn this paper we work over linearly ordered data domains equipped with finitely many unary predicates and constants. We consider nondeterministic automata processing words and storing finitely many variables ranging over the domain. During a transition, these automata can compare the data values of the current configuration with those of the previous configuration using the linear order, the unary predicates and the constants. We show that emptiness for such automata is decidable, both over finite and infinite words, under reasonable computability assumptions on the linear order. Finally, we show how our automata model can be used for verifying properties of workflow specifications in the presence of an underlying database. Luc Segoufin, Szymon Torunczyk |
STACS | 1 |
| 2011 | Two-variable logic on data wordsabstractIn a data word each position carries a label from a finite alphabet and a data value from some infinite domain. This model has been already considered in the realm of semistructured data, timed automata, and extended temporal logics. This article shows that satisfiability for the two-variable fragment FO 2 (∼,<,+1) of first-order logic with data equality test ∼ is decidable over finite and infinite data words. Here +1 and < are the usual successor and order predicates, respectively. The satisfiability problem is shown to be at least as hard as reachability in Petri nets. Several extensions of the logic are considered; some remain decidable while some are undecidable. Mikolaj Bojanczyk, Claire David, Anca Muscholl, Thomas Schwentick, Luc Segoufin |
ACM Trans. Comput. Log. | 5 |
| 2010 | Deciding Definability in FO2(<) (or XPath) on TreesabstractWe prove that it is decidable whether a regular unranked tree language is definable in FO2(h,v). By FO2(h,v) we refer to the two variable fragment of first order logic built from the descendant and following sibling predicates. In terms of expressive power it corresponds to a fragment of the navigational core of XPath that contains modalities for going up to some ancestor, down to some descendant, left to some preceding sibling, and right to some following sibling. We also investigate definability in some other fragments of XPath. Thomas Place, Luc Segoufin |
LICS | 2 |
| 2010 | Addition-Invariant FO and RegularityabstractWe consider formulas which, in addition to the symbols in the vocabulary, may use two designated symbols -<; and + that must be interpreted as a linear order and its associated addition. Such a formula is called addition-invariant if, for each fixed interpretation of the initial vocabulary, its result is independent of the particular interpretation of -<; and +. This paper studies the expressive power of addition invariant first-order logic, +-inv-FO, on the class of finite strings. Our first main result gives a characterization of the regular languages definable in +-inv-FO: we show that these are exactly the languages definable in FO with extra predicates, denoted by “lm” for short, for testing the length of the string modulo some fixed number. Our second main result shows that every language definable in +-inv-FO, that is bounded or commutative or deterministic context-free, is regular. As an immediate consequence of these two main results, we obtain that +-inv-FO is equivalent to FO(lm) on the class of finite colored sets. Our proof methods involve Ehrenfeucht-Fraïssé games, tools from algebraic automata theory, and reasoning about semi-linear sets. Nicole Schweikardt, Luc Segoufin |
LICS | 2 |
| 2010 | Transitive closure logic, nested tree walking automata, and XPathabstractWe study FO(MTC), first-order logic with monadic transitive closure, a logical formalism in between FO and MSO on trees. We characterize the expressive power of FO(MTC) in terms of nested tree-walking automata. Using the latter, we show that FO(MTC) is strictly less expressive than MSO, solving an open problem. We also present a temporal logic on trees that is expressively complete for FO(MTC), in the form of an extension of the XML document navigation language XPath with two operators: the Kleene star for taking the transitive closure of path expressions, and a subtree relativisation operator, allowing one to restrict attention to a specific subtree while evaluating a subexpression. We show that the expressive power of this XPath dialect equals that of FO(MTC) for Boolean, unary and binary queries. We also investigate the complexity of the automata model as well as the XPath dialect. We show that query evaluation be done in polynomial time (combined complexity), but that emptiness (or, satisfiability) is 2ExpTime-complete. Balder ten Cate, Luc Segoufin |
J. ACM | 2 |
| 2010 | Views and queries: Determinacy and rewritingabstractWe investigate the question of whether a query Q can be answered using a set V of views. We first define the problem in information-theoretic terms: we say that V determines Q if V provides enough information to uniquely determine the answer to Q . Next, we look at the problem of rewriting Q in terms of V using a specific language. Given a view language V and query language Q , we say that a rewriting language R is complete for V -to- Q rewritings if every Q ∈ Q can be rewritten in terms of V ∈ V using a query in R , whenever V determines Q . While query rewriting using views has been extensively investigated for some specific languages, the connection to the information-theoretic notion of determinacy, and the question of completeness of a rewriting language have received little attention. In this article we investigate systematically the notion of determinacy and its connection to rewriting. The results concern decidability of determinacy for various view and query languages, as well as the power required of complete rewriting languages. We consider languages ranging from first-order to conjunctive queries. Alan Nash, Luc Segoufin, Victor Vianu |
ACM Trans. Database Syst. | 2 |
| 2009 | A Decidable Characterization of Locally Testable Tree Languages
Thomas Place, Luc Segoufin |
ICALP (2) | 2 |
| 2009 | Future-Looking Logics on Data Words and Trees
Diego Figueira, Luc Segoufin |
MFCS | 2 |
| 2009 | Two-variable logic on data trees and XML reasoningabstractMotivated by reasoning tasks for XML languages, the satisfiability problem of logics on data trees is investigated. The nodes of a data tree have a label from a finite set and a data value from a possibly infinite set. It is shown that satisfiability for two-variable first-order logic is decidable if the tree structure can be accessed only through the child and the next sibling predicates and the access to data values is restricted to equality tests. From this main result, decidability of satisfiability and containment for a data-aware fragment of XPath and of the implication problem for unary key and inclusion constraints is concluded. Mikolaj Bojanczyk, Anca Muscholl, Thomas Schwentick, Luc Segoufin |
J. ACM | 4 |
| 2009 | Towards a characterization of order-invariant queries over tame graphsabstractAbstract This work deals with the expressive power of logics on finite graphs with access to an additional “arbitrary” linear order. The queries that can be expressed this way are the order-invariant queries for the logic. For the standard logics used in computer science, such as first-order logic, it is known that access to an arbitrary linear order increases the expressiveness of the logic. However, when we look at the separating examples, we find that they have satisfying models whose Gaifman Graph is complex – unbounded in valence and in treewidth. We thus explore the expressiveness of order-invariant queries over well-behaved graphs. We prove that first-order order-invariant queries over strings and trees have no additional expressiveness over first-order logic in the original signature. We also prove new upper bounds on order-invariant queries over bounded treewidth and bounded valence graphs. Our results make use of a new technique of independent interest: the application of algebraic characterizations of definability to show collapse results. Michael Benedikt, Luc Segoufin |
J. Symb. Log. | 2 |
| 2009 | Regular tree languages definable in FO and in FOmodabstractWe consider regular languages of labeled trees. We give an effective characterization of the regular languages over such trees that are definable in first-order logic in the language of labeled graphs. These languages are the analog on trees of the “locally threshold testable” languages on strings. We show that this characterization yields a decision procedure for determining whether a regular tree language is first-order definable: The procedure is polynomial time in the minimal automaton presenting the regular language. We also provide an algorithm for deciding whether a regular language is definable in first-order logic supplemented with modular quantifiers. Michael Benedikt, Luc Segoufin |
ACM Trans. Comput. Log. | 2 |
| 2009 | Static analysis of active XML systemsabstractActive XML is a high-level specification language tailored to data-intensive, distributed, dynamic Web services. Active XML is based on XML documents with embedded function calls. The state of a document evolves depending on the result of internal function calls (local computations) or external ones (interactions with users or other services). Function calls return documents that may be active, and so may activate new subtasks. The focus of this article is on the verification of temporal properties of runs of Active XML systems, specified in a tree-pattern-based temporal logic, Tree-LTL, which allows expressing a rich class of semantic properties of the application. The main results establish the boundary of decidability and the complexity of automatic verification of Tree-LTL properties. Serge Abiteboul, Luc Segoufin, Victor Vianu |
ACM Trans. Database Syst. | 2 |
| 2008 | Tree Languages Defined in First-Order Logic with One Quantifier Alternation
Mikolaj Bojanczyk, Luc Segoufin |
ICALP (2) | 2 |
| 2008 | Piecewise Testable Tree LanguagesabstractThis paper presents a decidable characterization of tree languages that can be defined by a boolean combination of Sigma1formulas. This is a tree extension of the Simon theorem, which says that a string language can be defined by a boolean combination of Sigma1formulas if and only if its syntactic monoid is J-trivial. Mikolaj Bojanczyk, Luc Segoufin, Howard Straubing |
LICS | 2 |
| 2008 | Static analysis of active XML systemsabstractActive XML is a high-level specification language tailored to data-intensive, distributed, dynamic Web services. Active XML is based on XML documents with embedded function calls. The state of a document evolves depending on the result of internal function calls (local computations) or external ones (interactions with users or other services). Function calls return documents that may be active, so may activate new sub-tasks. The focus of the paper is on the verification of temporal properties of runs of Active XML systems, specified in a tree-pattern based temporal logic, Tree-LTL, that allows expressing a rich class of semantic properties of the application. The main results establish the boundary of decidability and the complexity of automatic verification of Tree-LTL properties. 1 Serge Abiteboul, Luc Segoufin, Victor Vianu |
PODS | 2 |
| 2008 | XPath, transitive closure logic, and nested tree walking automataabstractWe consider the navigational core of XPath, extended with two operators: the Kleene star for taking the transitive closure of path expressions, and a subtree relativisation operator, allowing one to restrict attention to a specific subtree while evaluating a subexpression. We show that the expressive power of this XPath dialect equals that of FO(MTC), first order logic extended with monadic transitive closure. We also give a characterization in terms of nested tree-walking automata. Using the latter we then proceed to show that the language is strictly less expressive than MSO. This solves an open question about the relative expressive power of FO(MTC) and MSO on trees. We also investigate the complexity for our XPath dialect. We show that query evaluation be done in polynomial time (combined complexity), but that satisfiability and query containment (as well as emptiness for our automaton model) are 2ExpTime-complete (it is ExpTime-complete for Core XPath). Balder ten Cate, Luc Segoufin |
PODS | 2 |
| 2007 | Complexity of Pebble Tree-Walking Automata
Mathias Samuelides, Luc Segoufin |
FCT | 2 |
| 2007 | Determinacy and Rewriting of Conjunctive Queries Using Views: A Progress Report
Alan Nash, Luc Segoufin, Victor Vianu |
ICDT | 2 |
| 2007 | Constant-Memory Validation of Streaming XML Documents Against DTDs
Luc Segoufin, Cristina Sirangelo |
ICDT | 1 |
| 2006 | Expressive Power of Pebble Automata
Mikolaj Bojanczyk, Mathias Samuelides, Thomas Schwentick, Luc Segoufin |
ICALP (1) | 4 |
| 2006 | Two-Variable Logic on Words with DataabstractIn a data word each position carries a label from a finite alphabet and a data value from some infinite domain. These models have been already considered in the realm of semistructured data, timed automata and extended temporal logics. It is shown that satisfiability for the two-variable first-order logic FO^2(~,\le,+1) is decidable over finite and over infinite data words, where ¡« is a binary predicate testing the data value equality and +1,\le are the usual successor and order predicates. The complexity of the problem is at least as hard as Petri net reachability. Several extensions of the logic are considered, some remain decidable while some are undecidable. Mikolaj Bojanczyk, Anca Muscholl, Thomas Schwentick, Luc Segoufin, Claire David |
LICS | 4 |
| 2006 | Two-variable logic on data trees and XML reasoningabstractMotivated by reasoning tasks in the context of XML languages, the satisfiability problem of logics on data trees is investigated. The nodes of a data tree have a label from a finite set and a data value from a possibly infinite set. It is shown that satisfiability for two-variable first-order logic is decidable if the tree structure can be accessed only through the child and the next sibling predicates and the access to data values is restricted to equality tests. From this main result decidability of satisfiability and containment for a data-aware fragment of XPath and of the implication problem for unary key and inclusion constraints is concluded. Mikolaj Bojanczyk, Claire David, Anca Muscholl, Thomas Schwentick, Luc Segoufin |
PODS | 5 |
| 2006 | Complementing deterministic tree-walking automata
Anca Muscholl, Mathias Samuelides, Luc Segoufin |
Inf. Process. Lett. | 3 |
| 2006 | Active Context-Free Games
Anca Muscholl, Thomas Schwentick, Luc Segoufin |
Theory Comput. Syst. | 3 |
| 2006 | Representing and querying XML with incomplete informationabstractWe study the representation and querying of XML with incomplete information. We consider a simple model for XML data and their DTDs, a very simple query language, and a representation system for incomplete information in the spirit of the representations systems developed by Imielinski and Lipski [1984] for relational databases. In the scenario we consider, the incomplete information about an XML document is continuously enriched by successive queries to the document. We show that our representation system can represent partial information about the source document acquired by successive queries, and that it can be used to intelligently answer new queries. We also consider the impact on complexity of enriching our representation system or query language with additional features. The results suggest that our approach achieves a practically appealing balance between expressiveness and tractability. Serge Abiteboul, Luc Segoufin, Victor Vianu |
ACM Trans. Database Syst. | 2 |
| 2005 | Views and queries: determinacy and rewritingabstractWe investigate the question of whether a query Q can be answered using a set V of views. We first define the problem in information-theoretic terms: we say that V determines Q if V provides enough information to uniquely determine the answer to Q. Next, we look at the problem of rewriting Q in terms of V using a specific language. Given a view language V and query language Q, we say that a rewriting language R is complete for Vto-Q rewritings if every Q ε Q can be rewritten in terms of V ε v using a query in R, whenever V determines Q. While query rewriting using views has been extensively investigated for some specific languages, the connection to the information-theoretic notion of determinacy, and the question of completeness of a rewriting language, have received little attention. In this paper we investigate systematically the notion of determinacy and its connection to rewriting. The results concern decidability of determinacy for various view and query languages, as well as the power required of complete rewriting languages. We consider languages ranging from first-order to conjunctive queries. Luc Segoufin, Victor Vianu |
PODS | 1 |
| 2005 | Regular Tree Languages Definable in FO
Michael Benedikt, Luc Segoufin |
STACS | 2 |
| 2005 | The complexity of XPath query evaluation and XML typingabstractWe study the complexity of two central XML processing problems. The first is XPath 1.0 query processing, which has been shown to be in PTIME in previous work. We prove that both the data complexity and the query complexity of XPath 1.0 fall into lower (highly parallelizable) complexity classes, while the combined complexity is PTIME-hard. Subsequently, we study the sources of this hardness and identify a large and practically important fragment of XPath 1.0 for which the combined complexity is LOGCFL-complete and, therefore, in the highly parallelizable complexity class NC 2 . The second problem is the complexity of validating XML documents against various typing schemes like Document Type Definitions (DTDs), XML Schema Definitions (XSDs), and tree automata, both with respect to data and to combined complexity. For data complexity, we prove that validation is in LOGSPACE and depends crucially on how XML data is represented. For the combined complexity, we show that the complexity ranges from LOGSPACE to LOGCFL, depending on the typing scheme. Georg Gottlob, Christoph Koch 0001, Reinhard Pichler, Luc Segoufin |
J. ACM | 4 |
| 2004 | Active Context-Free Games
Anca Muscholl, Thomas Schwentick, Luc Segoufin |
STACS | 3 |
| 2004 | Order Independent Temporal PropertiesabstractThe paper investigates temporal properties that are invariant with respect to the temporal ordering and that are expressible by temporal query languages either explicit like FO(≤) or implicit like TL. In the case of an explicit time representation, these ‘order invariant’ temporal properties are simply those expressible in the language FO(=). In the case of an implicit time representation, we introduce a new language, TL(Ei) that captures exactly these properties. The expressive power of the language TL(Ei) is characterized via a game à la Ehrenfeucht-Fraïssé. This provides another proof, using a more classical technique, that the implicit temporal language TL is strictly less expressive than the explicit temporal language FO(≤). This alternative proof is interesting by itself and opens new perspectives in the investigation of results of the same kind for more expressive implicit temporal languages than TL. Nicole Bidoit, Sandra de Amo, Luc Segoufin |
J. Log. Comput. | 3 |
| 2003 | Typing and querying XML documents: some complexity boundsabstractWe study the complexity bound of validating XML documents, viewed as labeled unranked ordered trees, against various typing systems like DTDs, XML schemas, tree automata ... We also consider query evaluation complexities for various fragments of XPath. For both problems, validation and query evaluation, we consider data and combined complexity bounds. Luc Segoufin |
PODS | 1 |
| 2003 | Handling Interpolated DataabstractThis paper addresses fundamental issues related to the modeling of geometric data embedded in high-dimensional spaces. This covers several application fields, including moving objects where trajectories are described in a three- or four-dimensional space, and digital elevation models (DEMs). We show that moving objects and DEMs are specific instances of a broader class of complex spatial data that require the interpolation of values from collections of samples. We propose to model such data conceptually using infinite relations (e.g. the trajectory of a moving point yields an infinite ternary relation) which can be manipulated through standard relational query languages (e.g. SQL), with no mention of the interpolated definition. This approach is simple and establishes a clear separation between logical and physical levels. It permits the expression of queries on spatio-temporal databases in a purely declarative way. Next, we investigate algorithms for evaluating queries on interpolated data. In the general cases, the cost of manipulating $d$-dimensional data is exponential in $d$. We describe how to use rewriting and optimization techniques in order to evaluate queries with a small set of algorithms running in dimension 2, thus making the complexity independent from the global dimension. Stéphane Grumbach, Philippe Rigaux, Luc Segoufin |
Comput. J. | 3 |
| 2003 | Building a constraint-based spatial database system: model, languages, and implementation
Philippe Rigaux, Michel Scholl, Luc Segoufin, Stéphane Grumbach |
Inf. Syst. | 3 |
| 2003 | Definable relations and first-order query languages over stringsabstractWe study analogs of classical relational calculus in the context of strings. We start by studying string logics. Taking a classical model-theoretic approach, we fix a set of string operations and look at the resulting collection of definable relations. These form an algebra---a class ofn-ary relations for everyn, closed under projection and Boolean operations. We show that by choosing the string vocabulary carefully, we get string logics that have desirable properties: computable evaluation and normal forms. We identify five distinct models and study the differences in their model-theory and complexity of evaluation. We identify a subset of these models that have additional attractive properties, such as finite VC dimension and quantifier elimination.Once you have a logic, the addition of free predicate symbols gives you a string query language. The resulting languages have attractive closure properties from a database point of view: while SQL does not allow the full composition of string pattern-matching expressions with relational operators, these logics yield compositional query languages that can capture common string-matching queries while remaining tractable. For each of the logics studied in the first part of the article, we study properties of the corresponding query languages. We give bounds on the data complexity of queries, extend the normal form results from logics to queries, and show that the languages have corresponding algebras expressing safe queries. Michael Benedikt, Leonid Libkin, Thomas Schwentick, Luc Segoufin |
J. ACM | 4 |
| 2003 | Reachability and connectivity queries in constraint databases
Michael Benedikt, Martin Grohe, Leonid Libkin, Luc Segoufin |
J. Comput. Syst. Sci. | 4 |
| 2002 | Validating Streaming XML DocumentsabstractThis paper investigates the on-line validation of streaming XML documents with respect to a DTD, under memory constraints. We first consider validation using constant memory, formalized by a finite-state automaton (FSA). We examine two flavors of the problem, depending on whether or not the XML document is assumed to be well-formed. The main results of the paper provide conditions on the DTDs under which validation of either flavor can be done using an FSA. For DTDs that cannot be validated by an FSA, we investigate two alternatives. The first relaxes the constant memory requirement by allowing a stack bounded in the depth of the XML document, while maintaining the deterministic, one-pass requirement. The second approach consists in refining the DTD to provide additional information that allows validation by an FSA. Luc Segoufin, Victor Vianu |
PODS | 1 |
| 2002 | On first-order topological queriesabstractOne important class of spatial database queries is the class of topological queries , that is, queries invariant under homeomorphisms. We study topological queries expressible in the standard query language on spatial databases, first-order logic with various amounts of arithmetic. Our main technical result is a combinatorial characterization of the expressive power of topological first-order logic on regular spatial databases. Martin Grohe, Luc Segoufin |
ACM Trans. Comput. Log. | 2 |
| 2001 | A Model-Theoretic Approach to Regular String RelationsabstractWe study algebras of definable string relations, classes of regular n-ary relations that arise as the definable sets within a model whose carrier is the set of all strings. We show that the largest such algebra-the collection of regular relations-has some quite undesirable computational and model-theoretic properties. In contrast, we exhibit several definable relation algebras that have much tamer behavior: for example, they admit quantifier elimination, and have finite VC dimension. We show that the properties of a definable relation algebra are not at all determined by the one-dimensional definable sets. We give models whose definable sets are all star-free, but whose binary relations are quite complex, as well as models whose definable sets include all regular sets, but which are much more restricted and tractable than the full algebra of regular relations. Michael Benedikt, Leonid Libkin, Thomas Schwentick, Luc Segoufin |
LICS | 4 |
| 2001 | Representing and Querying XML with Incomplete InformationabstractWe study the representation and querying of XML with incomplete information. We consider a simple model for XML data and their DTDs, a very simple query language, and a representation system for incomplete information in the spirit of the representations systems developed by Imielinski and Lipski for relational databases. In the scenario we consider, the incomplete information about an XML document is continuously enriched by successive queries to the document. We show that our representation system can represent partial information about the source document acquired by successive queries, and that it can be used to intelligently answer new queries. We also consider the impact on complexity of enriching our representation system or query language with additional features. The results suggest that our approach achieves a practically appealing balance between expressiveness and tractability. The research presented here was motivated by the Xyleme project at INRIA, whose objective it to develop a data warehouse for Web XML documents. Serge Abiteboul, Luc Segoufin, Victor Vianu |
PODS | 2 |
| 2001 | String Operations in Query LanguagesabstractWe study relational calculi with support for string operations. While SQL restricts the ability to mix string pattern-matching and relational operations, prior proposals for embedding SQL in a compositional calculus were based on adding the operation of concatenation to first-order logic. These latter proposals yield compositional query languages extending SQL, but are unfortunately computationally complete. The unbounded expressive power in turn implies strong limits on the ability to perform optimization and static analysis of properties such as query safety in these languages. Michael Benedikt, Leonid Libkin, Thomas Schwentick, Luc Segoufin |
PODS | 4 |
| 2001 | When is the evaluation of conjunctive queries tractable?abstractThe evaluation of conjunctive queries is hard both with respect to its combined complexity (NP-complete) and its parameterized complexity (W[1]-complete). It becomes tractable (PTIME for combined complexity, FPT for parameterized complexity), when the underlying graphs of the conjunctive queries have bounded tree-width [2]. We show that, in some sense, this is optimal both with respect to combined and parameterized complexity: For every class C of graphs, the evaluation of all conjunctive queries whose underlying graph is in C is tractable if, and only if, C has bounded tree-width. Martin Grohe, Thomas Schwentick, Luc Segoufin |
STOC | 3 |
| 2001 | Spatio-Temporal Data Handling with Constraints
Stéphane Grumbach, Philippe Rigaux, Luc Segoufin |
GeoInformatica | 3 |
| 2000 | On First-Order Topological QueriesabstractOne important class of spatial database queries is the class of topological queries, i.e. queries invariant under homeomorphisms. We study topological queries expressible in the standard query language on spatial databases, first-order logic with various amounts of arithmetic. Our main technical result is a combinatorial characterization of the expressive power of topological first-order logic on regular spatial databases. Martin Grohe, Luc Segoufin |
LICS | 2 |
| 2000 | Reachability and Connectivity Queries in Constraint DatabasesabstractIt is known that standard query languages for constraint databases lack the power to express connectivity properties. Such properties are important in the context of geographical databases, where one naturally wishes to ask queries about connectivity (what are the connected components of a given set?) or reachability (is there a path from A to B that lies entirely in a given region?). No existing constraint query languages that allow closed form evaluation can express these properties. Michael Benedikt, Martin Grohe, Leonid Libkin, Luc Segoufin |
PODS | 4 |
| 2000 | Manipulating Interpolated Data is Easier than You Thought
Stéphane Grumbach, Philippe Rigaux, Luc Segoufin |
VLDB | 3 |
| 2000 | Querying Spatial Databases via Topological Invariants
Luc Segoufin, Victor Vianu |
J. Comput. Syst. Sci. | 1 |
| 1999 | On the Orthographic Dimension of Constraint Databases
Stéphane Grumbach, Philippe Rigaux, Luc Segoufin |
ICDT | 3 |
| 1998 | Querying Spatial Databases via Topological InvariantsabstractThe paper investigates the use of topological annotations (called topological invariants) to answer topological queries in spatial databases, The focus is on the translation of topological queries against the spatial database into queries against the topological invariant.The languages considered nre first-order on the spatial database side, and j%point and first-order on the topological invariant side.In particular, it is shown that jixpoint expresses precisely the PTIME queries on topological invariants, Luc Segoufin, Victor Vianu |
PODS | 1 |
| 1998 | The DEDALE System for Complex Spatial QueriesabstractThis paper presents DEDALE, a spatial database system intended to overcome some limitations of current systems by providing an abstract and non-specialized data model and query language for the representation and manipulation of spatial objects. DEDALE relies on a logical model based on linear constraints, which generalizes the constraint database model of [KKR90]. While in the classical constraint model, spatial data is always decomposed into its convex components, in DEDALE holes are allowed to fit the need of practical applications. The logical representation of spatial data although slightly more costly in memory, has the advantage of simplifying the algorithms. DEDALE relies on nested relations, in which all sorts of data (thematic, spatial, etc.) are stored in a uniform fashion. This new data model supports declarative query languages, which allow an intuitive and efficient manipulation of spatial objects. Their formal foundation constitutes a basis for practical query optimization. We describe several evaluation rules tailored for geometric data and give the specification of an optimizer module for spatial queries. Except for the latter module, the system has been fully implemented upon the O2 DBMS, thus proving the effectiveness of a constraint-based approach for the design of spatial database systems. Stéphane Grumbach, Philippe Rigaux, Luc Segoufin |
SIGMOD Conference | 3 |