Demo Data from VLDB 2026 / reviewers in the wild / expert
Martín Ugarte
dblp:131/4268
· DBLP profile ↗
16ranked-venue papers
0as first author
1since 2021 · last 2021
0000-0001-9951-2310ORCID · corroborated
Domains — the database's venue-derived domains; a paper can count in several
Databases, data management, data science and information retrieval · 15 · 1 since 2021Theory of computation · 1Applied, interdisciplinary, general and emerging computing · 1
Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.
| Databases, data mining, and information retrieval
9 papers |
Data models and query languages · 36% Database theory · 22% Query processing and optimization · 18% | |
| Theoretical computer science
6 papers |
Algorithms and data structures · 45% Automata and formal languages · 27% Computational complexity · 14% | |
| Artificial intelligence
2 papers |
Information extraction and text analysis · 100% |
Topics — the 22 heaviest of 27, each with the papers that count most for it
| Topic | Weight | Papers | Last | Evidence papers |
|---|---|---|---|---|
Database theory
conjunctive query evaluation |
0.8 | 2 | 2020 | General dynamic Yannakakis: conjunctive queries with theta joins under updates · VLDB J. 2020 Conjunctive Queries with Inequalities Under Updates · Proc. VLDB Endow. 2018 |
Query processing and optimization › view maintenance
incremental view maintenance |
0.6 | 2 | 2018 | Conjunctive Queries with Inequalities Under Updates · Proc. VLDB Endow. 2018 The Dynamic Yannakakis Algorithm: Compact and Efficient Query Processing Under Updates · SIGMOD Conference 2017 |
Data stream processing
complex event processing |
0.6 | 2 | 2021 | A Formal Framework for Complex Event Recognition · ACM Trans. Database Syst. 2021 Conjunctive Queries with Inequalities Under Updates · Proc. VLDB Endow. 2018 |
Data models and query languages
RDF query language |
0.5 | 2 | 2017 | Designing a Query Language for RDF: Marrying Open and Closed Worlds · ACM Trans. Database Syst. 2017 Designing a Query Language for RDF: Marrying Open and Closed Worlds · PODS 2016 |
Algorithms and data structures › combinatorial algorithms
enumeration algorithms |
0.5 | 2 | 2020 | Efficient Enumeration Algorithms for Regular Document Spanners · ACM Trans. Database Syst. 2020 Constant Delay Algorithms for Regular Document Spanners · PODS 2018 |
Automata and formal languages
finite automata |
0.5 | 1 | 2021 | A Formal Framework for Complex Event Recognition · ACM Trans. Database Syst. 2021 |
Algorithms and data structures › combinatorial algorithms › enumeration algorithms
output-linear delay enumeration |
0.4 | 1 | 2020 | Efficient Enumeration Algorithms for Regular Document Spanners · ACM Trans. Database Syst. 2020 |
Database theory
conjunctive query |
0.4 | 2 | 2020 | The Dynamic Yannakakis Algorithm: Compact and Efficient Query Processing Under Updates · SIGMOD Conference 2017 General dynamic Yannakakis: conjunctive queries with theta joins under updates · VLDB J. 2020 |
Computational complexity › complexity of reasoning
query answering complexity |
0.3 | 2 | 2017 | Designing a Query Language for RDF: Marrying Open and Closed Worlds · PODS 2016 Designing a Query Language for RDF: Marrying Open and Closed Worlds · ACM Trans. Database Syst. 2017 |
Data models and query languages › semistructured data
JSON |
0.2 | 1 | 2016 | Foundations of JSON Schema · WWW 2016 |
Data models and query languages › schema languages
JSON Schema |
0.2 | 1 | 2016 | Foundations of JSON Schema · WWW 2016 |
Data models and query languages › query language
query language semantics |
0.2 | 1 | 2016 | Designing a Query Language for RDF: Marrying Open and Closed Worlds · PODS 2016 |
Data models and query languages › RDF query language
SPARQL |
0.2 | 1 | 2016 | Designing a Query Language for RDF: Marrying Open and Closed Worlds · PODS 2016 |
Logic in computer science
formal semantics |
0.2 | 1 | 2016 | Foundations of JSON Schema · WWW 2016 |
Data models and query languages › XML data management
XML keys |
0.2 | 2 | 2014 | Discovering XSD keys from XML data · SIGMOD Conference 2013 Discovering XSD Keys from XML Data · ACM Trans. Database Syst. 2014 |
Data integration and cleaning
dependency discovery |
0.2 | 1 | 2014 | Discovering XSD Keys from XML Data · ACM Trans. Database Syst. 2014 |
Data integration and cleaning
schema inference |
0.2 | 1 | 2014 | Discovering XSD Keys from XML Data · ACM Trans. Database Syst. 2014 |
Data models and query languages
XML |
0.2 | 1 | 2014 | Discovering XSD Keys from XML Data · ACM Trans. Database Syst. 2014 |
Algorithms and data structures › combinatorial algorithms › enumeration algorithms
constant delay enumeration |
0.1 | 1 | 2018 | Constant Delay Algorithms for Regular Document Spanners · PODS 2018 |
Automated reasoning and model checking › automated reasoning
interpolation |
0.1 | 1 | 2017 | Designing a Query Language for RDF: Marrying Open and Closed Worlds · ACM Trans. Database Syst. 2017 |
Knowledge graphs › semantic web
wikidata |
0.1 | 1 | 2016 | Foundations of JSON Schema · WWW 2016 |
Query processing and optimization
cardinality estimation |
0.1 | 1 | 2014 | Discovering XSD Keys from XML Data · ACM Trans. Database Syst. 2014 |
Methods — techniques the papers use, named apart from their topics
fine-grained complexity analysis · 0.9syntactic fragment design · 0.6semantic characterization · 0.6interpolation · 0.5formal specification · 0.5first-order logic · 0.5levelwise search · 0.4functional dependency discovery · 0.4free-connexity generalization · 0.3dynamic yannakakis · 0.3acyclicity generalization · 0.3validation · 0.2
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2021 | A Formal Framework for Complex Event RecognitionabstractComplex event recognition (CER) has emerged as the unifying field for technologies that require processing and correlating distributed data sources in real time. CER finds applications in diverse domains, which has resulted in a large number of proposals for expressing and processing complex events. Existing CER languages lack a clear semantics, however, which makes them hard to understand and generalize. Moreover, there are no general techniques for evaluating CER query languages with clear performance guarantees. In this article, we embark on the task of giving a rigorous and efficient framework to CER. We propose a formal language for specifying complex events, calledcomplex event logic(CEL), that contains the main features used in the literature and has a denotational and compositional semantics. We also formalize the so-called selection strategies, which had only been presented as by-design extensions to existing frameworks. We give insight into the language design trade-offs regarding the strict sequencing operators of CEL and selection strategies. With a well-defined semantics at hand, we discuss how to efficiently process complex events by evaluating CEL formulas with unary filters. We start by introducing a formal computational model for CER, calledcomplex event automata(CEA), and study how to compile CEL formulas with unary filters into CEA. Furthermore, we provide efficient algorithms for evaluating CEA over event streams using constant time per event followed by output-linear delay enumeration of the results. Alejandro Grez, Cristian Riveros, Martín Ugarte, Stijn Vansummeren |
ACM Trans. Database Syst. | 3 |
| 2020 | On the Expressiveness of Languages for Complex Event RecognitionabstractComplex Event Recognition (CER for short) has recently gained attention as a mechanism for detecting patterns in streams of continuously arriving event data. Numerous CER systems and languages have been proposed in the literature, commonly based on combining operations from regular expressions (sequencing, iteration, and disjunction) and relational algebra (e.g., joins and filters). While these languages are naturally first-order, meaning that variables can only bind single elements, they also provide capabilities for filtering sets of events that occur inside iterative patterns; for example requiring sequences of numbers to be increasing. Unfortunately, these type of filters usually present ad-hoc syntax and under-defined semantics, precisely because variables cannot bind sets of events. As a result, CER languages that provide filtering of sequences commonly lack rigorous semantics and their expressive power is not understood. In this paper we embark on two tasks: First, to define a denotational semantics for CER that naturally allows to bind and filter sets of events; and second, to compare the expressive power of this semantics with that of CER languages that only allow for binding single events. Concretely, we introduce Set-Oriented Complex Event Logic (SO-CEL for short), a variation of the CER language introduced in [Grez et al., 2019] in which all variables bind to sets of matched events. We then compare SO-CEL with CEL, the CER language of [Grez et al., 2019] where variables bind single events. We show that they are equivalent in expressive power when restricted to unary predicates but, surprisingly, incomparable in general. Nevertheless, we show that if we restrict to sets of binary predicates, then SO-CEL is strictly more expressive than CEL. To get a better understanding of the expressive power, computational capabilities, and limitations of SO-CEL, we also investigate the relationship between SO-CEL and Complex Event Automata (CEA), a natural computational model for CER languages. We define a property on CEA called the *-property and show that, under unary predicates, SO-CEL captures precisely the subclass of CEA that satisfy this property. Finally, we identify the operations that SO-CEL is lacking to characterize CEA and introduce a natural extension of the language that captures the complete class of CEA under unary predicates. Alejandro Grez, Cristian Riveros, Martín Ugarte, Stijn Vansummeren |
ICDT | 3 |
| 2020 | Cryptocurrency Mining Games with Economic Discount and Decreasing RewardsabstractA widespread security claim of the Bitcoin system, presented in the original Bitcoin white-paper, states that the security of the system is guaranteed as long as there is no attacker in possession of half or more of the total computational power used to maintain the system. This claim, however, is proved based on theoretically flawed assumptions. In the paper we analyze two kinds of attacks based on two theoretical flaws: the Block Discarding Attack and the Difficulty Raising Attack. We argue that the current theoretical limit of attacker's fraction of total computational power essential for the security of the system is in a sense not $\frac{1}{2}$ but a bit less than $\frac{1}{4}$, and outline proposals for protocol change that can raise this limit to be as close to $\frac{1}{2}$ as we want. The basic idea of the Block Discarding Attack has been noted as early as 2010, and lately was independently though-of and analyzed by both author of this paper and authors of a most recently pre-print published paper. We thus focus on the major differences of our analysis, and try to explain the unfortunate surprising coincidence. To the best of our knowledge, the second attack is presented here for the first time. Marcelo Arenas, Juan L. Reutter, Etienne Toussaint, Martín Ugarte, Francisco José Vial Prado, Domagoj Vrgoc |
STACS | 4 |
| 2020 | Efficient Enumeration Algorithms for Regular Document SpannersabstractRegular expressions and automata models with capture variables are core tools in rule-based information extraction. These formalisms, also called regular document spanners , use regular languages to locate the data that a user wants to extract from a text document and then store this data into variables. Since document spanners can easily generate large outputs, it is important to have efficient evaluation algorithms that can generate the extracted data in a quick succession, and with relatively little precomputation time. Toward this goal, we present a practical evaluation algorithm that allows output-linear delay enumeration of a spanner’s result after a precomputation phase that is linear in the document. Although the algorithm assumes that the spanner is specified in a syntactic variant of variable-set automata, we also study how it can be applied when the spanner is specified by general variable-set automata, regex formulas, or spanner algebras. Finally, we study the related problem of counting the number of outputs of a document spanner and provide a fine-grained analysis of the classes of document spanners that support efficient enumeration of their results. Fernando Florenzano, Cristian Riveros, Martín Ugarte, Stijn Vansummeren, Domagoj Vrgoc |
ACM Trans. Database Syst. | 3 |
| 2020 | General dynamic Yannakakis: conjunctive queries with theta joins under updates
Muhammad Idris, Martín Ugarte, Stijn Vansummeren, Hannes Voigt, Wolfgang Lehner |
VLDB J. | 2 |
| 2019 | A Simple Data Structure for Optimal Two-Sided 2D Orthogonal Range Queries
Alejandro Grez, Andrea Calì, Martín Ugarte |
FQAS | 3 |
| 2019 | A Formal Framework for Complex Event ProcessingabstractComplex Event Processing (CEP) has emerged as the unifying field for technologies that require processing and correlating distributed data sources in real-time. CEP finds applications in diverse domains, which has resulted in a large number of proposals for expressing and processing complex events. However, existing CEP languages lack from a clear semantics, making them hard to understand and generalize. Moreover, there are no general techniques for evaluating CEP query languages with clear performance guarantees. In this paper we embark on the task of giving a rigorous and efficient framework to CEP. We propose a formal language for specifying complex events, called CEL, that contains the main features used in the literature and has a denotational and compositional semantics. We also formalize the so-called selection strategies, which had only been presented as by-design extensions to existing frameworks. With a well-defined semantics at hand, we discuss how to efficiently process complex events by evaluating CEL formulas with unary filters. We start by studying the syntactical properties of CEL and propose rewriting optimization techniques for simplifying the evaluation of formulas. Then, we introduce a formal computational model for CEP, called complex event automata (CEA), and study how to compile CEL formulas with unary filters into CEA. Furthermore, we provide efficient algorithms for evaluating CEA over event streams using constant time per event followed by constant-delay enumeration of the results. Finally, we gather the main results of this work to present an efficient and declarative framework for CEP. Alejandro Grez, Cristian Riveros, Martín Ugarte |
ICDT | 3 |
| 2018 | Constant Delay Algorithms for Regular Document SpannersabstractRegular expressions and automata models with capture variables are core tools in rule-based information extraction. These formalisms, also called regular document spanners, use regular languages in order to locate the data that a user wants to extract from a text document, and then store this data into variables. Since document spanners can easily generate large outputs, it is important to have good evaluation algorithms that can generate the extracted data in a quick succession, and with relatively little precomputation time. Towards this goal, we present a practical evaluation algorithm that allows constant delay enumeration of a spanner's output after a precomputation phase that is linear in the document. While the algorithm assumes that the spanner is specified in a syntactic variant of variable set automata, we also study how it can be applied when the spanner is specified by general variable set automata, regex formulas, or spanner algebras. Finally, we study the related problem of counting the number of outputs of a document spanner, providing a fine grained analysis of the classes of document spanners that support efficient enumeration of their results. Fernando Florenzano, Cristian Riveros, Martín Ugarte, Stijn Vansummeren, Domagoj Vrgoc |
PODS | 3 |
| 2018 | Conjunctive Queries with Inequalities Under UpdatesabstractModern application domains such as Composite Event Recognition (CER) and real-time Analytics require the ability to dynamically refresh query results under high update rates. Traditional approaches to this problem are based either on the materialization of subresults (to avoid their recomputation) or on the recomputation of subresults (to avoid the space overhead of materialization). Both techniques have recently been shown suboptimal: instead of materializing results and subresults, one can maintain a data structure that supports efficient maintenance under updates and can quickly enumerate the full query output, as well as the changes produced under single updates. Unfortunately, these data structures have been developed only for aggregate-join queries composed of equi-joins, limiting their applicability in domains such as CER where temporal joins are commonplace. In this paper, we present a new approach for dynamically evaluating queries with multi-way θ -joins under updates that is effective in avoiding both materialization and recomputation of results, while supporting a wide range of applications. To do this we generalize Dynamic Yannakakis, an algorithm for dynamically processing acyclic equi-join queries. In tandem, and of independent interest, we generalize the notions of acyclicity and free-connexity to arbitrary θ -joins. We instantiate our framework to the case where θ -joins are only composed of equalities and inequalities (<, ≤, =, >, ≥) and experimentally compare this algorithm, called IEDyn, to state of the art CER systems as well as incremental view maintenance engines. IEDyn performs consistently better than the competitor systems with up to two orders of magnitude improvements in both time and memory consumption. Muhammad Idris, Martín Ugarte, Stijn Vansummeren, Hannes Voigt, Wolfgang Lehner |
Proc. VLDB Endow. | 2 |
| 2017 | The Dynamic Yannakakis Algorithm: Compact and Efficient Query Processing Under UpdatesabstractModern computing tasks such as real-time analytics require refresh of query results under high update rates. Incremental View Maintenance (IVM) approaches this problem by materializing results in order to avoid recomputation. IVM naturally induces a trade-off between the space needed to maintain the materialized results and the time used to process updates. In this paper, we show that the full materialization of results is a barrier for more general optimization strategies. In particular, we present a new approach for evaluating queries under updates. Instead of the materialization of results, we require a data structure that allows: (1) linear time maintenance under updates, (2) constant-delay enumeration of the output, (3) constant-time lookups in the output, while (4) using only linear space in the size of the database. We call such a structure a Dynamic Constant-delay Linear Representation (DCLR) for the query. We show that DYN, a dynamic version of the Yannakakis algorithm, yields DCLRs for the class of free-connex acyclic CQs. We show that this is optimal in the sense that no DCLR can exist for CQs that are not free-connex acyclic. Moreover, we identify a sub-class of queries for which DYN features constant-time update per tuple and show that this class is maximal. Finally, using the TPC-H and TPC-DS benchmarks, we experimentally compare DYN and a higher-order IVM (HIVM) engine. Our approach is not only more efficient in terms of memory consumption (as expected), but is also consistently faster in processing updates. Muhammad Idris, Martín Ugarte, Stijn Vansummeren |
SIGMOD Conference | 2 |
| 2017 | Designing a Query Language for RDF: Marrying Open and Closed WorldsabstractWhen querying an Resource Description Framework (RDF) graph, a prominent feature is the possibility of extending the answer to a query with optional information. However, the definition of this feature in SPARQL—the standard RDF query language—has raised some important issues. Most notably, the use of this feature increases the complexity of the evaluation problem, and its closed-world semantics is in conflict with the underlying open-world semantics of RDF. Many approaches for fixing such problems have been proposed, the most prominent being the introduction of the semantic notion of weakly monotone SPARQL query. Weakly monotone SPARQL queries have shaped the class of queries that conform to the open-world semantics of RDF. Unfortunately, finding an effective way of restricting SPARQL to the fragment of weakly monotone queries has proven to be an elusive problem. In practice, the most widely adopted fragment for writing SPARQL queries is based on the syntactic notion of well designedness. This notion has proven to be a good approach for writing SPARQL queries, but its expressive power has yet to be fully understood. The starting point of this article is to understand the relation between well-designed queries and the semantic notion of weak monotonicity. It is known that every well-designed SPARQL query is weakly monotone; as our first contribution we prove that the converse does not hold, even if an extension of this notion based on the use of disjunction is considered. Given this negative result, we embark on the task of defining syntactic fragments that are weakly monotone and have higher expressive power than the fragment of well-designed queries. To this end, we move to a more general scenario where infinite RDF graphs are also allowed, so interpolation techniques studied for first-order logic can be applied. With the use of these techniques, we are able to define a new operator for SPARQL that gives rise to a query language with the desired properties (over finite and infinite RDF graphs). It should be noticed that every query in this fragment is weakly monotone if we restrict the semantics to finite RDF graphs. Moreover, we use this result to provide a simple characterization of the class of monotone CONSTRUCT queries, that is, the class of SPARQL queries that produce RDF graphs as output. Finally, we pinpoint the complexity of the evaluation problem for the query languages identified in the article. Marcelo Arenas, Martín Ugarte |
ACM Trans. Database Syst. | 2 |
| 2016 | Designing a Query Language for RDF: Marrying Open and Closed WorldsabstractWhen querying an RDF graph, a prominent feature is the possibility of extending the answer to a query with optional information. However, the definition of this feature in SPARQL --the standard RDF query language-- has raised some important issues. Most notably, the use of this feature increases the complexity of the evaluation problem, and its closed-world semantics is in conflict with the underlying open-world semantics of RDF. Many approaches for fixing such problems have been proposed, being the most prominent the introduction of the semantic notion of weakly-monotone SPARQL query. Weakly-monotone SPARQL queries have shaped the class of queries that conform to the open-world semantics of RDF. Unfortunately, finding an effective way of restricting SPARQL to the fragment of weakly-monotone queries has proven to be an elusive problem. In practice, the most widely adopted fragment for writing SPARQL queries is based on the syntactic notion of well designedness. This notion has proven to be a good approach for writing SPARQL queries, but its expressive power has yet to be fully understood. The starting point of this paper is to understand the relation between well-designed queries and the semantic notion of weak monotonicity. It is known that every well-designed SPARQL query is weakly monotone; as our first contribution we prove that the converse does not hold, even if an extension of this notion based on the use of disjunction is considered. Given this negative result, we embark on the task of defining syntactic fragments that are weakly-monotone, and have higher expressive power than the fragment of well-designed queries. To this end, we move to a more general scenario where infinite RDF graphs are also allowed, so that interpolation techniques studied for first-order logic can be applied. With the use of these techniques, we are able to define a new operator for SPARQL that gives rise to a query language with the desired properties (over finite and infinite RDF graphs). It should be noticed that every query in this fragment is weakly monotone if we restrict to the case of finite RDF graphs. Moreover, we use this result to provide a simple characterization of the class of monotone CONSTRUCT queries, that is, the class of SPARQL queries that produce RDF graphs as output. Finally, we pinpoint the complexity of the evaluation problem for the query languages identified in the paper. Marcelo Arenas, Martín Ugarte |
PODS | 2 |
| 2016 | Foundations of JSON SchemaabstractJSON -- the most popular data format for sending API requests and responses -- is still lacking a standardized schema or meta-data definition that allows the developers to specify the structure of JSON documents. JSON Schema is an attempt to provide a general purpose schema language for JSON, but it is still work in progress, and the formal specification has not yet been agreed upon. Why this could be a problem becomes evident when examining the behaviour of numerous tools for validating JSON documents against this initial schema proposal: although they agree on most general cases, when presented with the greyer areas of the specification they tend to differ significantly. In this paper we provide the first formal definition of syntax and semantics for JSON Schema and use it to show that implementing this layer on top of JSON is feasible in practice. This is done both by analysing the theoretical aspects of the validation problem and by showing how to set up and validate a JSON Schema for Wikidata, the central storage for Wikimedia. Felipe Pezoa, Juan L. Reutter, Fernando Suárez, Martín Ugarte, Domagoj Vrgoc |
WWW | 4 |
| 2015 | CONSTRUCT Queries in SPARQLabstractSPARQL has become the most popular language for querying RDF datasets, the standard data model for representing information in the Web. This query language has received a good deal of attention in the last few years: two versions of W3C standards have been issued, several SPARQL query engines have been deployed, and important theoretical foundations have been laid. However, many fundamental aspects of SPARQL queries are not yet fully understood. To this end, it is crucial to understand the correspondence between SPARQL and well-developed frameworks like relational algebra or first order logic. But one of the main obstacles on the way to such understanding is the fact that the well-studied fragments of SPARQL do not produce RDF as output. In this paper we embark on the study of SPARQL CONSTRUCT queries, that is, queries which output RDF graphs. This class of queries takes rightful place in the standards and implementations, but contrary to SELECT queries, it has not yet attracted a worth-while theoretical research. Under this framework we are able to establish a strong connection between SPARQL and well-known logical and database formalisms. In particular, the fragment which does not allow for blank nodes in output templates corresponds to first order queries, its well-designed sub-fragment corresponds to positive first order queries, and the general language can be re-stated as a data exchange setting. These correspondences allow us to conclude that the general language is not composable, but the aforementioned blank-free fragments are. Finally, we enrich SPARQL with a recursion operator and establish fundamental properties of this extension. Egor V. Kostylev, Juan L. Reutter, Martín Ugarte |
ICDT | 3 |
| 2014 | Discovering XSD Keys from XML DataabstractA great deal of research into the learning of schemas from XML data has been conducted in recent years to enable the automatic discovery of XML schemas from XML documents when no schema or only a low-quality one is available. Unfortunately, and in strong contrast to, for instance, the relational model, the automatic discovery of even the simplest of XML constraints, namely XML keys, has been left largely unexplored in this context. A major obstacle here is the unavailability of a theory on reasoning about XML keys in the presence of XML schemas, which is needed to validate the quality of candidate keys. The present article embarks on a fundamental study of such a theory and classifies the complexity of several crucial properties concerning XML keys in the presence of an XSD, like, for instance, testing for consistency, boundedness, satisfiability, universality, and equivalence. Of independent interest, novel results are obtained related to cardinality estimation of XPath result sets. A mining algorithm is then developed within the framework of levelwise search. The algorithm leverages known discovery algorithms for functional dependencies in the relational model, but incorporates the properties mentioned before to assess and refine the quality of derived keys. An experimental study on an extensive body of real-world XML data evaluating the effectiveness of the proposed algorithm is provided. Marcelo Arenas, Jonny Daenen, Frank Neven, Martín Ugarte, Jan Van den Bussche, Stijn Vansummeren |
ACM Trans. Database Syst. | 4 |
| 2013 | Discovering XSD keys from XML dataabstractA great deal of research into the learning of schemas from XML data has been conducted in recent years to enable the automatic discovery of XML Schemas from XML documents when no schema, or only a low-quality one is available. Unfortunately, and in strong contrast to, for instance, the relational model, the automatic discovery of even the simplest of XML constraints, namely XML keys, has been left largely unexplored in this context. A major obstacle here is the unavailability of a theory on reasoning about XML keys in the presence of XML schemas, which is needed to validate the quality of candidate keys. The present paper embarks on a fundamental study of such a theory and classifies the complexity of several crucial properties concerning XML keys in the presence of an XSD, like, for instance, testing for consistency, boundedness, satisfiability, universality, and equivalence. Of independent interest, novel results are obtained related to cardinality estimation of XPath result sets. A mining algorithm is then developed within the framework of levelwise search. The algorithm leverages known discovery algorithms for functional dependencies in the relational model, but incorporates the above mentioned properties to assess and refine the quality of derived keys. An experimental study on an extensive body of real world XML data evaluating the effectiveness of the proposed algorithm is provided. Marcelo Arenas, Jonny Daenen, Frank Neven, Martín Ugarte, Jan Van den Bussche, Stijn Vansummeren |
SIGMOD Conference | 4 |