Minimal Sample Databases for Global Cardinality Constraints

  • Authors:
  • Konrad Engel;Sven Hartmann

  • Affiliations:
  • -;-

  • Venue:
  • FoIKS '02 Proceedings of the Second International Symposium on Foundations of Information and Knowledge Systems
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Cardinality constraints are a popular way of imposing restrictions to the structure of a database. In this paper, we consider global cardinality constraints which specify lower and upper bounds on the total number of relationships an entity of a fixed type may be involved in. It is natural to ask for the smallest database with non-empty domains that satisfies a given set of these constraints. For global cardinality constraints this problem is proved to be NP-complete. However, the problem can be tackled via branch & bound. In many cases, the relaxed optimization problem can be solved with the help of min-cost flow methods in a suitable network depending on the given database schema.