ACM Home Page
Please provide us with feedback. Feedback
Type systems for querying class hierarchies with non-strict inheritance
Full text PdfPdf (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
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGMOD: ACM Special Interest Group on Management of Data
SIGART: ACM Special Interest Group on Artificial Intelligence
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 13,   Citation Count: 6
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/73721.73759
What is a DOI?

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