ComputingComputer ScienceData ManagementDatabasesNatural Language ProcessingConsistency ModelsData ModelingDatabase ManagementQuery ProcessingRelational Data ModelXml DatabasesConsistencyData Exchange SpecificationsQuery AnsweringSchema MappingSource-target MappingSource-target RelationsSource-to-target MappingXml Data Models
Data exchange is the problem of finding an instance of a target schema, given an instance of a source schema and a specification of the relationship between the source and the target. Theoretical foundations of data exchange have recently been investigated for relational data.In this paper, we start looking into the basic properties of XML data exchange, that is, restructuring of XML documents that conform to a source DTD under a target DTD, and answering queries written over the target schema. We define XML data exchange settings in which source-to-target dependencies refer to the hierarchical structure of the data. Combining DTDs and dependencies makes some XML data exchange settings inconsistent. We investigate the consistency problem and determine its exact complexity.We then move to query answering, and prove a dichotomy theorem that classifies data exchange settings into those over which query answering is tractable, and those over which it is coNP-complete, depending on classes of regular expressions used in DTDs. Furthermore, for all tractable cases we give polynomial-time algorithms that compute target XML documents over which queries can be answered.
25
Maurizio Lenzerini · 2002 · 2.5K citations
Data exchange: semantics and query answering
Ronald Fagin, Phokion G. Kolaitis, Renée J. Miller et al. · Theoretical Computer Science · 2004 · 1.2K citations
Tree automata techniques and applications
Hubert Comon, Max Dauchet, Florent Jacquemard et al. · 1997 · 1.2K citations · Full text
Incomplete Information in Relational Databases
Tomasz Imieliński, Witold Lipski · Journal of the ACM · 1984 · 1K citations · Full text