query containment is fundamental to … query optimization, determining independence of queries from updates, and rewriting queries using views … not sufficient in data integration
relative containment, which formalizes the notion of query containment relative to the sources available to the data-integration system.
we show that relative containment for conjunctive queries is still decidable in this case, even though it is known that finding all answers to such queries may require are cursive datalog program over the sources.
A data-integration system frees its users from having to locate the sources relevant to their queries, interact with each source in isolation, and manually combine the data from the different sources.
(common approaches to specifying source description)
The local-as-view approach allows new sources to be added and removed modularly, while the global-as-view approach requires source descriptions to be modified when such changes occur. On the other hand, query answering is straightforward in the global-as-view approach, where the answers can be obtained by simply composing the query with the views, while the local-as-view approach requires a more sophisticated form of query rewriting
[1] S. Abiteboul, O.Duschka, Complexity of answering queries using materialized views, in: Proceedings of PODS, Seattle, WA, 1998,pp.254–263.
[26] A.Gupta, Y.Sagiv, J.D.Ullman, J.Widom, Constraint checking with partial information, in:Proceedings of PODS, Minneapolis, MN, 1994, 45–55.