Solutions in XML data exchange
作者:
Highlights:
•
摘要
The task of XML data exchange is to restructure a document conforming to a source schema under a target schema according to certain mapping rules. The rules are typically expressed as source-to-target dependencies using various kinds of patterns, involving horizontal and vertical navigation, as well as data comparisons. The target schema imposes complex conditions on the structure of solutions, possibly inconsistent with the mapping rules. In consequence, for some source documents there may be no solutions. We investigate three problems: deciding if all documents of the source schema can be mapped to a document of the target schema (absolute consistency), deciding if a given document of the source schema can be mapped (solution existence), and constructing a solution for a given source document (solution building). We show that the complexity of absolute consistency is rather high in general, but within the polynomial hierarchy for bounded depth schemas. The combined complexity of solution existence and solution building behaves similarly, but the data complexity turns out to be very low. In addition to this we show that even for much more expressive mapping rules, based on MSO definable queries, absolute consistency is decidable and data complexity of solution existence is polynomial.
论文关键词:XML data exchange,Regular queries,Patterns,Absolute consistency,Solution building,Solution existence
论文评审过程:Received 17 October 2011, Revised 15 June 2012, Accepted 16 January 2013, Available online 21 January 2013.
论文官网地址:https://doi.org/10.1016/j.jcss.2013.01.004