Abstract
XML is rapidly emerging as the new standard for data representation and exchange on the Web. An XML document can be accompanied by a
Document Type Descriptor
(DTD) which plays the role of a schema for an XML data collection. DTDs contain valuable information on the structure of documents and thus have a crucial role in the efficient storage of XML data, as well as the effective formulation and optimization of XML queries. In this paper, we propose XTRACT, a novel system for inferring a DTD schema for a database of XML documents. Since the DTD syntax incorporates the full expressive power of
regular expressions
, naive approaches typically fail to produce concise and intuitive DTDs. Instead, the XTRACT inference algorithms employ a sequence of sophisticated steps that involve: (1) finding patterns in the input sequences and replacing them with regular expressions to generate “general” candidate DTDs, (2) factoring candidate DTDs using adaptations of algorithms from the logic optimization literature, and (3) applying the Minimum Description Length (MDL) principle to find the best DTD among the candidates. The results of our experiments with real-life and synthetic DTDs demonstrate the effectiveness of XTRACT's approach in inferring concise and semantically meaningful DTD schemas for XML databases.
Publisher
Association for Computing Machinery (ACM)
Subject
Information Systems,Software
Reference25 articles.
1. On the complexity of minimum inference of regular sets
2. T. Bray J. Paoli and C. M. Sperberg-McQueen. Extensible markup language (XML). (www.w3.org/TR/REC-xml) T. Bray J. Paoli and C. M. Sperberg-McQueen. Extensible markup language (XML). (www.w3.org/TR/REC-xml)
3. Efficient identification of regular expressions from representative examples
Cited by
40 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes;Proceedings of the VLDB Endowment;2023-10
2. Schema inference for multi-model data;Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems;2022-10-23
3. A universal approach for multi-model schema inference;Journal of Big Data;2022-08-11
4. Making data platforms smarter with MOSES;Future Generation Computer Systems;2021-12
5. An Algorithm for Extracting Shape Expression Schemas from Graphs;Proceedings of the ACM Symposium on Document Engineering 2019;2019-09-23