Work

Inference of concise DTDs from XML data

Year: 2006
Type: conference-paper
Abstract: We consider the problem to infer a concise Document Type \nDefinition (DTD) for a given set of XML-documents, a problem \nwhich basically reduces to learning of concise regular \nexpressions from positive example strings. We identify \ntwo such classes: single occurrence regular expressions \n(SOREs) and chain regular expressions (CHAREs). Both \nclasses capture the far majority of the regular expressions occurring \nin practical DTDs and are succinct by definition. We \npresent the algorithm iDTD (infer DTD) that learns SOREs \nfrom strings by first inferring an automaton by known techniques \nand then translating that automaton to a corresponding \nSORE, possibly by repairing the automaton when no \nequivalent SORE can be found. In the process, we introduce \na novel automaton to regular expression rewrite technique \nwhich is of independent interest. We show that iDTD \noutperforms existing systems in accuracy, conciseness and \nspeed. In a scenario where only a very small amount of \nXML data is available, for instance when generated by Web \nservice requests or by answers to queries, iDTD produces \nregular expressions which are too specific. Therefore, we introduce \na novel learning algorithm crx that directly infers \nCHAREs (which form a subclass of SOREs) without going \nthrough an automaton representation. We show that crx \nperforms very well within its target class on very small data \nsets. Finally, we discuss incremental computation, noise, \nnumerical predicates, and the generation of XML Schemas.
Language: English
Open Access status: green
OpenAlex ID: W2169131377
FWCI: 9.146
Cites: 45
Cited by: 143
Related to: 10