| Type systems for querying class hierarchies with non-strict inheritance |
| Full text |
Pdf
(807 KB)
|
| Source
|
Symposium on Principles of Database Systems
archive
Proceedings of the eighth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems
table of contents
Philadelphia, Pennsylvania, United States
Pages: 394 - 400
Year of Publication: 1989
ISBN:0-89791-308-6
|
|
Author
|
|
A. Borgida
|
Department of Computer Science, Rutgers University, New Brunswkk, NJ
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 13, Citation Count: 6
|
|
|
ABSTRACT
Type checking at query compilation time is important for both detecting programmer errors and reducing the running time of queries. We have argued elsewhere [2] that entity-based data management systems which support class hierarchies, such as semantic data models and object-oriented dbms, should not be confined to have “strict inheritance” — i.e., they should permit contradictions between class specifications, albeit in an explicit and controlled way. In this paper we present a type system for queries manipulating objects in such classes. We provide sound and complete axiomatizations of the predications “&sgr; is a subtype of &tgr;” and “expression e has type &tgr;”. The absence of strict inheritance has normally been felt to preclude effective type checking. We show that the problem is co-NP-hard when disjoint types are admitted in the schema, but present a low-order polynomial-time algorithm that determines the absence of type errors in a query when the database has only entities.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
 |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
Dowling, W. and Gallier, J. Linear-time algorithms for testing the satisfiability of propositional Horn formulae. J. Logic Programming 3:267-284, 1984.
|
| |
6
|
Etherington,D. and Reiter, R.. On inheritance hierarchies with exceptions. In Proceedings of AAAI-83. 1983.
|
 |
7
|
|
 |
8
|
|
| |
9
|
Pxatt, V. ~onear-optimal method for reasoning about action. umal of Computer Systems Science 20(1 ):231-254, 1980.
|
 |
10
|
|
| |
11
|
M. Wand. Complete Type Inference for Simple Objects. In Proc. Conf. on Logic in Computer Science. 1987.
|
 |
12
|
|
CITED BY 6
|
|
|
|
|
Serge Abiteboul , Paris C. Kanellakis , Emmanuel Waller, Method schemas, Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.16-27, April 02-04, 1990, Nashville, Tennessee, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|