ACM Home Page
Please provide us with feedback. Feedback
Safety and correct translation of relational calculus formulas
Full text PdfPdf (1.53 MB)
Source Symposium on Principles of Database Systems archive
Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems table of contents
San Diego, California, United States
Pages: 313 - 327  
Year of Publication: 1987
ISBN:0-89791-223-3
Authors
A. Van Gelder  Stanford University
R. Topor  University of Melbourne
Sponsors
SIGMOD: ACM Special Interest Group on Management of Data
SIGOPS: ACM Special Interest Group on Operating Systems
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 18,   Citation Count: 12
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/28659.28693
What is a DOI?

ABSTRACT

Not all queries in relational calculus can be answered “sensibly” once disjunction, negation, and universal quantification are allowed. The class of relational calculus queries, or formulas, that have “sensible” answers is called the domain independent class, which is known to be undecidable. Subsequent research has focused on identifying large decidable subclasses of domain independent formulas In this paper we investigate the properties of two such classes the evaluable formulas and the allowed formulas. Although both classes have been defined before, we give simplified definitions, present short proofs of their man properties, and describe a method to incorporate equality. Although evaluable queries have sensible answers, it is not straightforward to compute them efficiently or correctly. We introduce relational algebra normal form for formulas from which form the correct translation into relational algebra is trivial. We give algorithms to transform an evaluable formula into an equivalent allowed formula, and from there into relational algebra normal form. Our algorithms avoid use of the so-called Dom relation, consisting of all constants appearing in the database or the query. Finally, we describe a restriction under which every domain independent formula is evaluable, and argue that evaluable formulas may be the largest decidable subclass of the domain independent formulas that can be efficiently recognized.


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.

 
Ack68
W Ackermann. Solvable Cases of the Decision Problem. North-Holland, Amsterdam, 1968
 
Dec86
H Decker. lntegrity enforcement in deductive databases. In 1st lnt'l Conference on Expert Dalabase Systems, pages 271-285, 1986
 
Dem82
R Demolombe. Syntactscal Characteriation of a Subset of Domain Independent Formulas. Techmcal Report, ONERA- CERT, 1982
DiP69
Fag80
 
Kuh67
J L Kuhns. Answering Questions by Computer A Logtcal Study. Technlcal Report RM-5428-PR, Rand Corp, 1967
 
LT84
J W Lloyd and R W Topor. Making Prolog more expressive. Journal of Logic Programming, 1(3) 225-240, 1984
 
Mak81
 
Man74
 
MUVG86
 
ND82
J -M Nicolas and R Demolombe. On the Stability of Relational Queries. Technical Report, ONERA-CERT, 1982
 
Nic82
J-M Nicolas. Logic for improving integrity checking in relational databases. Acta Informatica, 18(3) 227-253, 1982
 
Top86
R Topor. Domain Independent Formulas and Databases. Technical Report 86/11, Unniv of Melbourne, 1986 (To appear in Theoretical Computer Science)
 
Ull80

CITED BY  12