Abstract
Bounded bag and set terms are complex terms in which every element can be a constant or a variable. These types of complex terms have been introduced in several logic languages, such as LDL, Coral and Godel, in order to increase their expressive power, and they have been recently used to define logic languages for database integration. The paper addresses the problem of computing the set of matchers of two bag (or set) terms, by providing a general complexity analysis and a closed formula for determining the number of matchers for tractable cases. An algorithm for the general problem and optimal algorithms for tractable cases are also provided.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
N. Arni, S. Greco and D. Saccà, Matching of Bounded Set Terms in the Logic Language LDL++, J. of Logic Programming 27(1): 73–87, 1996.
C. Beeri, S. Naqvi, O. Shmueli and S. Tsur, Set Constructors in a Logic Database Language, J. of Logic Programming, Vol. 10, No 3 & 4, 1991.
E. Dantsin and A. Voronkov, A Nondeterministic Polynomial-Time Unification Algorithm for Bags, Sets and Trees. Proc. Int. Conf. Foundations of Software Science and Computation Structures, 180–196, 1999.
G. Dowek, Higher-order unification and matching, A. Robinson and A. Voronkov (eds.), Handbook of Automated Reasoning, pp. 1009–106, Elsevier, 2001.
A. Dovier, E. G. Omodeo, E. Pontelli and G. F. Rossi,: A Logic Programming Language with Finite Sets, Proc. Int. Conf. on Logic Programming, 111–124, 1991.
F. Fages, Associative-Commutative Unification, 8th Int. Conf. on Automated Deduction, pp. 416–430, 1986.
M.R. Garey and D.S. Johnson, Computers and Intractability-A Guide to the Theory of NP-Completeness, Freeman, San Francisco, 1979.
S. Greco, Optimal Unification of Bounded Set Terms, Int. Conf. on Information and Knowledge Management, pp. 326–336, 1996.
G. Greco, S. Greco and E. Zumpano, A logical Framework for the Integration of Databases. Proc. Int. Symp. on Methodologies for Intelligent Sistems, 2002.
N. Immerman, S. Patnaik and D. Stemple, The Expressiveness of a Family of Finite Set Languages, Proc. PODS Conf., 37–52, 1991.
B. Jayaraman, Implementation of Subset-Equational Programs, Journal of Logic Programming, Vol. 12, 299–324, 1992.
D. Kapur and P. Narendran, NP-completeness of the Set Unification and Matching problems, Proc. Int. Conf. on Automated Deduction, 489–495, 1986.
D. Kapur and P. Narendran, Double-Exponential Complexity of Computing a Complete Set of AC-Unifiers, Proc. LICS Conf., 11–21, 1992.
K. Knight, Unification: A Multidisciplinary Survey, ACM Comp. Surveys, Vol. 21(1), pp. 93–124, 1989.
G. M. Kuper, Logic Programming with Sets, Journal of Computer and System Science, No. 41(1), pp. 44–64, 1990.
W. Ledermann and S. Vajda, Handbook of Applicable Mathematics, Vol. 5(B), 1985.
C. Lincoln and J. Christian, Adventures in Associative-Commutative Unification, Proc. 9th International Conference on Automated Deduction, pp. 358–367, 1988.
M. Livesey and J.H. Siekmann, Unification of A+C-Terms (Bags) and A+C+ITerms (Sets), Tech. Report, 5/67, Facultat fur Informatik, Univ. Karlruhe, 1976.
C. Mateis, Unification of Simple Set Terms, Master Thesis (in Italian), 1996.
M. S. Paterson, Linear Unification, Journal of Computer and System Science, No. 16, pp. 158–167, 1978.
O. Shmueli, S. Tsur and C. Zaniolo, Compilation of Set Terms in the Logic Data Language (LDL), J. of Logic Programming, Vol. 12(1) & 2, 89–119, 1992.
J. Siekmann, Unification Theory, J. of Symbolic Computation, No. 7, 207–274, 1989.
F. Stolzenburg, An Algorithm for General Set Unification and Its Complexity, Journal of Automated Reasoning, 22(1), pp. 45–63, 1999.
J.K. Ullman, Principles of Database and Knowledge-Base Systems, Vol. 1, Computer Science Press, Rockville, Md., 1988.
R. M. Verma and I. V. Ramakrishnan, Tight Complexity Bounds for Term Matching Problems, Information and Computation, No. 101(1), 33–69, 1992.
C. Zaniolo, N. Arni, K. Ong, Negation and Aggregates in Recursive Rules: the LDL++ Approach. DOOD Conf., pp. 204–221, 1993.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Greco, G., Zumpano, E. (2002). Complexity and Algorithms for the Matching of Bag and Set Terms. In: Flesca, S., Greco, S., Ianni, G., Leone, N. (eds) Logics in Artificial Intelligence. JELIA 2002. Lecture Notes in Computer Science(), vol 2424. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45757-7_12
Download citation
DOI: https://doi.org/10.1007/3-540-45757-7_12
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44190-8
Online ISBN: 978-3-540-45757-2
eBook Packages: Springer Book Archive