Skip to main content

Design of a Compiler for a Semantic Data Model

  • Chapter
Foundations of Knowledge Base Management

Abstract

The features of a compiler for a Taxis design language are described and discussed. Taxis offers an entity-based framework for designing interactive information systems and a data model which supports generalization, classification and aggregation as abstraction mechanisms. Its features include multiple inheritance of attributes, isA hierarchies of transactions, metaclasses, typed attributes, a procedural exception-handling mechanism, an iteration construct based on the abstraction mechanisms supported, semantic integrity constraints, including time-dependent ones, and communicating Petri net-like processes (called scripts). Designing and implementing a compiler for the language requires tackling the problem of efficiently representing and accessing a large collection of entities, performing (static) type checking and representing is A hierarchies of transactions. The compiler has also been designed to deal with semantic integrity constraints and scripts, although these features have not yet been implemented.

This chapter is an extension and revision of a paper [NCLB87b] published by the Association for Computing Machinery in the ACM SIGMOD ’87 Proceedings, May 27–29, 1987, San Francisco, CA, USA, and of a University of Toronto Technical Report [NCLB87a].

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Atkinson, M.P., and O. Peter Buneman, “Types and Persistence in Database Programming Languages”, Computing Surveys, Vol. 19, No. 2, June 1987, pp. 105–190.

    Article  Google Scholar 

  2. Atkinson, M.P., P.J. Bailey, K.J. Chisholm, W.P. Cockshott, and R. Morrisson, “An Approach to Persistent Programming”, Computer Journal, Vol. 26, No. 4, November 1983.

    Google Scholar 

  3. Astrahan, M.M., M.W. Blasgen, D.D. Chamberlin, K.P. Eswaran, J.N. Gray, P.P. Griffiths, W.F. King, R.A. Lone, P.R. McJones, J.W. Mehl, G.R. Putzolu, I.L. Traiger, B.W. Wade, and V. Watson, “System R: Relational Approach to Database Management”, ACM Transactions on Database Systems, Vol. 1, No. 2, June 1976, pp. 97–137.

    Article  Google Scholar 

  4. Abrial, J.R., “Data Semantics”, in J.W. Klimbie and K.L. Koffeman (eds.), Data Base Management, North-Holland, Amsterdam, 1974, pp. 1-59.

    Google Scholar 

  5. Albano, A., L. Cardelli, and R. Orsini, “Galileo: A Strongly Typed, Interactive Conceptual Language”, ACM Transactions on Database Systems, Vol. 10, No. 2, August 1985, pp. 230–260.

    Article  Google Scholar 

  6. Albano, A., G. Ghelli, and R. Orsini, “The Implementation of Galileo’s Values Persistence”, in Persistence and Data Types, Paper for the Appin Workshop, Persistent Programming Research Report 16, Dept. of Computational Science, Univ. of St. Andrew’s, August 1985, pp. 209-217.

    Google Scholar 

  7. Albano, A., “Conceptual Languages: A Comparison of ADAPLEX, Galileo and Taxis”, Proc. Workshop on Knowledge Base Management Systems, Crete, June 1985, pp. 343-356.

    Google Scholar 

  8. Barron, D.W. (ed.), Pascal—The Language and Its Implementation, John Wiley & Sons, Chichester, 1981.

    MATH  Google Scholar 

  9. Barron, J., “Dialogue and Process Design for Interactive Information Systems Using Taxis”, Proc. ACM SIGOA Conference on Office Information Systems, Philadelphia, PA, June 1982, SIGOA Newsletter, Vol. 3, Nos. 1 and 2, pp. 12-20.

    Google Scholar 

  10. Bernstein, P.A., B.T. Blaustein, and E.M. Clarke, “Fast Maintenance of Semantic Integrity Assertions Using Redundant Aggregate Data”, Proc. 6th International Conference on Very Large Databases, Montreal, October 1980, pp. 126-136.

    Google Scholar 

  11. Balzer, R., N. Goldman, and B. Neches, “Specification-Based Computing Environments for Information Management”, International Conference on Data Engineering, Los Angeles, CA, April 1984, IEEE Computer Society Press, pp. 454-458.

    Google Scholar 

  12. Blaustein, B.T., “Enforcing Database Applications: Techniques and Applications”, TR-21-81, Center for Research in Computing Technology, Aiken Computation Laboratory, Harvard Univ., Cambridge, MA, 1981.

    Google Scholar 

  13. Borgida, A.T., “Features of Languages for the Development of Information Systems at the Conceptual Level”, IEEE Software, Vol. 2, No. 1, January 1985, pp. 63–73.

    Article  Google Scholar 

  14. Chamberlin, D.D., M.M. Astrahan, M.W. Blasgen, J.N. Gray, W.F. King, B.G. Lindsay, R. Lorie, J.W. Mehl, T.G. Price, F. Putzolu, P.G. Selinger, M. Schkolnick, D.R. Slutz, I.L. Traiger, B.W. Wade, and R.A. Yost, “A History and Evaluation of System R.”, Communications of the ACM, Vol. 24, No. 10, October 1981, pp. 632–646.

    Article  Google Scholar 

  15. Chan, A., U. Dayal, S. Fox, N. Goodman, D. Ries, and D. Skeen, “Overview of an Ada Compatible Distributed Database Manager”, in D.J. DeWitt and G. Gardarin (eds.), Proc. 1983 ACM SIGMOD International Conference on Management of Data, San Jose, CA, May 1983, SIGMOD Record, Vol. 13, No. 4, pp. 228-237.

    Google Scholar 

  16. Chan, A., S. Danberg, S. Fox, W.T.K. Lin, A. Nori, and D. Ries, “Storage and Access Structures to Support a Semantic Data Model”, Proc. 8th International Conference on Very Large Databases, Mexico City, September 1982, pp. 122-130.

    Google Scholar 

  17. Chen, P.P.S., “The Entity-Relationship Model—Toward a Unified View of Data”, ACM Transactions on Database Systems, Vol. 1, No. 1, March 1976, pp. 9–36.

    Article  Google Scholar 

  18. Chung, K.L., “An Extended Taxis Compiler”, M.Sc. Thesis, Dept. of Computer Science, Univ. of Toronto, also CSRG Technical Note 37, January 1984.

    Google Scholar 

  19. Codd, E.F., “Extending the Database Relational Model to Capture More Meaning”, ACM Transactions on Database Systems, Vol. 4, No. 4, December 1979, pp. 397–434.

    Article  Google Scholar 

  20. Lawrence Chung, K., D. Rios-Zertuche, B.A. Nixon, and J. Mylopoulos, “Process Management and Assertion Enforcement for a Semantic Data Model”, in J.W. Schmidt, S. Ceri, and M. Missikof (eds.), Advances in Database Technology—EDBT ’88, International Conference on Extending Database Technology, Venice, Italy, March 1988, Proceedings. Lecture Notes in Computer Science, No. 303. Berlin: Springer-Verlag, 1988, pp. 469–487.

    Google Scholar 

  21. Dahl, O.J., and K. Nygaard, “SIMULA—an ALGOL-Based Simulation Language”, Communications of the ACM, Vol. 9, No. 9, September 1966, pp. 671–678.

    Article  MATH  Google Scholar 

  22. Eswaran, K.P., “Specifications, Implementations, and Interactions of a Trigger Subsystem in a Relational Database System”, IBM Research Report RJ1820, San Jose, CA, August 1976.

    Google Scholar 

  23. Forentin, J.J., “Consistency Auditing of Databases”, Computing Journal, Vol. 17, No. 1, 1974.

    Google Scholar 

  24. Goldberg, A., and D. Robson, SMALLTALK-80: The Language and Its Implementation, Addison-Wesley, Reading, MA, 1983.

    MATH  Google Scholar 

  25. Holt, R.C., J.R. Cordy, and D.B. Wortman, “An Introduction to S/ SL: Syntax/Semantic Language”, ACM Transactions on Programming Languages and Systems, Vol. 4, No. 2, April 1982, pp. 149–178.

    Article  MATH  Google Scholar 

  26. Hsu, A., and T. Imielinski, “Integrity Checking for Multiple Updates (Preliminary Version)”, Proc. 1985 ACM SIGMOD International Conference on Management of Data, Austin, TX, May 1985, pp. 152-168.

    Google Scholar 

  27. Hull, R., and R. King, Semantic Database Modelling: Survey, Applications, and Research Issues, Computing Surveys, Vol. 19, No. 3, Sept. 1987, pp. 201–260.

    Article  Google Scholar 

  28. Hammer, M.M., and D.J. McLeod, “Semantic Integrity in a Relational Data Base System”, Proc. International Conference on Very Large Databases, Framingham, MA, September 1975.

    Google Scholar 

  29. Hammer, M.M., and D.J. McLeod, “A Framework for Data Base Semantic Integrity”, Proc. 2nd International Conference on Software Engineering, San Francisco, CA, October 1976.

    Google Scholar 

  30. Hoare, C.A.R., “An Axiomatic Approach to Computer Programming”, Communications of the ACM, Vol. 12, 1969, pp. 576–581.

    Article  MATH  Google Scholar 

  31. Kent, W., Data and Reality, Elsevier North-Holland, New York, 1978.

    Google Scholar 

  32. Knuth, D.E., The Art of Computer Programming, Vol. 3, Sorting and Searching, Addison-Wesley, Reading, MA, 1973.

    Google Scholar 

  33. Lafue, G.M.E., “Management of Database Semantic Integrity: A Survey”, Draft, Rutgers Univ., October 1982.

    Google Scholar 

  34. Lochovsky, F. (ed.), “Special Issue on Object-Oriented Systems”, IEEE Database Engineering, Vol. 8, No. 4, December 1985.

    Google Scholar 

  35. Liskov, B.H., and A. Snyder, “Exception Handling in CLU”, IEEE Transactions on Software Engineering, Vol. SE-5, No. 6, November 1979, pp.546–558.

    Article  Google Scholar 

  36. Mylopoulos, J., A.T. Borgida, S. Greenspan, C. Meghini, and B. Nixon, “Knowledge Representation in the Software Development Process: A Case Study”, in H. Winter (ed.), Artificial Intelligence and Man-Machine Systems, Lecture Notes in Control and Information Sciences, Vol. 80, Springer-Verlag, Berlin, Heidelberg, 1986, pp. 23–44.

    Google Scholar 

  37. Mylopoulos, J., P.A. Bernstein, and H.K.T. Wong, “A Language Facility for Designing Interactive Database-Intensive Applications”, ACM Transactions on Database Systems, Vol. 5, No. 2, June 1980, pp. 185–207.

    Article  Google Scholar 

  38. Melo, R.N., “Monitoring Integrity Constraints in a Codasyl-like DBMS”, 5th International Conference on Very Large Databases, 1979.

    Google Scholar 

  39. Maier, D., J. Stein, A. Otis, and A. Purdy, “Development of an Object-Oriented DBMS”, in N. Meyrowitz (ed.), Proc. 1986 Conference on Object-Oriented Programming Systems, Languages and Applications, Portland, OR, September-October 1986, SIGPLAN Notices, Vol. 21, No. 11, November 1986, pp. 472-482.

    Google Scholar 

  40. Nixon, B., L. Chung, D. Lauzon, A.T. Borgida, J. Mylopoulos, and M. Stanley, “Implementing a Taxis Compiler”, Technical Report CSRI-194, Computer Systems Research Institute, Univ. of Toronto, January 1987.

    Google Scholar 

  41. Nixon, B., L. Chung, D. Lauzon, A.T. Borgida, J. Mylopoulos, and M. Stanley, “Implementation of a Compiler for a Semantic Data Model: Experiences with Taxis”, in U. Dayal and I. Traiger (eds.), Proc. 1987 ACM SIGMOD Proceedings of Association for Computing Machinery Special Interest Group on Management of Data, 1987 Annual Conference San Francisco, CA, May 1987,

    Google Scholar 

  42. Nixon, B.A., “A TAXIS Compiler”, M.Sc. Thesis, Dept. of Computer Science, Univ. of Toronto, April 1983, also CSRG Technical Note 33, May 1983.

    Google Scholar 

  43. Nixon, B., and J. Mylopoulos, “-Integration Issues in Implementing Semantic Data Models”, in P. Buneman and F. Bancilhon (eds.), Proceedings of the Workshop on Database Programming Languages, Roscoff, France, September 1987.

    Google Scholar 

  44. O’Brien, P.D., “Taxied: An Integrated Interactive Design Environment for Taxis”, M.Sc. Thesis, Dept. of Computer Science, Univ. of Toronto, 1982, also Technical Note N29.

    Google Scholar 

  45. O’Brien, P.D., “An Integrated Interactive Design Environment for Taxis”, Proc. SOFTFAIR Conference on Software Development Tools, Techniques, and Alternatives, Arlington, VA, July 1983, IEEE Computer Society Press, Silver Spring, MD, 1983, pp. 298-306.

    Google Scholar 

  46. Park, S.G., “Implementation of Extended Taxis Environment”, M.Sc. Thesis, Dept. of Computer Science, Univ. of Toronto, 1984.

    Google Scholar 

  47. Ribeiro, J.S., “A Database Interface to Wand for the Network Alerter Service”. M.Sc. Thesis, Dept. of Decision Sciences, The Wharton School, Univ. of Pennsylvania, PA, November 1978.

    Google Scholar 

  48. Rosselet, A., “PT: A Pascal Subset”, Technical Report CSRG-119, Computer Systems Research Group, Univ. of Toronto, September 1980.

    Google Scholar 

  49. Sarin, S.K., “Automatic Synthesis of Efficient Procedures for Database Integrity Checking”, M.Sc. Thesis, Dept. of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, September 1977.

    Google Scholar 

  50. Schmidt, J.W., “Some High-Level Language Constructs for Data of Type Relation”, ACM Transactions on Database Systems, Vol. 2, No. 3, September 1977, pp. 247–261.

    Article  Google Scholar 

  51. Schneider, P.F., “Organization of Knowledge in a Procedural Semantic Network Formalism”, Technical Report 115, Dept. of Computer Science, Univ. of Toronto, February 1978.

    Google Scholar 

  52. Smith, J.M., S. Fox, and T. Landers, Reference Manualfor ADAPLEX, Technical Report CCA-81-02, Computer Corporation of America, Cambridge, MA, January 1981.

    Google Scholar 

  53. Smith, J.M., S.A. Fox, and T. Landers, “ADAPLEX: Rationale and Reference Manual”, 2nd ed., Technical Report CCA-83-08, Computer Corporation of America, Cambridge, MA, May 1983.

    Google Scholar 

  54. Shipman, D.W., “The Functional Data Model and the Data Language DAPLEX”, ACM Transactions on Database Systems, Vol. 6, No. 1, March 1981, pp. 140–173.

    Article  Google Scholar 

  55. Stonebraker, M., and L.A. Rowe, “The Design of POSTGRES”, in C. Zaniolo (ed.), Proc. 1986 ACM SIGMOD International Conference on Management of Data, Washington, DC, May 1986, SIGMOD Record, Vol. 15, No. 2, June 1986, pp. 340-355.

    Google Scholar 

  56. Smith, J.M., and D.C.P. Smith, “Database Abstractions: Aggregation and Generalization”, ACM Transactions on Database Systems, Vol, 2, No. 2, June 1977, pp. 105–133.

    Article  Google Scholar 

  57. Stonebraker, M., “Implementation of Integrity Constraints and Views by Query Modification”, Proc. ACM SIGMOD International Conference on the Management of Data, San Jose, CA, May 1975.

    Google Scholar 

  58. Thomsen, C.S., Multiple Inheritance in Object Oriented Languages, Manuscript, Dept. of Computer Science, Aarhus Univ., Denmark, June 1984.

    Google Scholar 

  59. Tsur, S., and C. Zaniolo, “An Implementation of GEM—Supporting a Semantic Data Model on a Relational Back-end”, in B. Yormark (ed.), Proc. 1984 ACM SIGMOD Conference on Management of Data, Boston, MA, June 1984, SIGMOD Record, Vol. 14, No. 2, pp. 286-295.

    Google Scholar 

  60. Wasserman, A., “Procedure-Oriented Exeption Handling”, Technical Report 27, Medical Information Science, University of California, San Francisco, February 1977.

    Google Scholar 

  61. Weddell, G.E.C., “Physical Design and Query Compilation for a Semantic Data Model (Assuming Memory Residence)”, Ph.D. Thesis, Dept. of Computer Science, Univ. of Toronto, 1987.

    Google Scholar 

  62. Wirth, N., “The Programming Language PASCAL”, Acta Informatica, Vol. 1, No. 1, May 1971, pp. 35-63.

    Google Scholar 

  63. Wong, H.K.T., “Design and Verification of Interactive Information Systems Using TAXIS”, Technical Report CSRG-129, Computer Systems Research Group, Univ. of Toronto, April 1981, also Ph.D. Thesis, Dept. of Computer Science, 1983.

    Google Scholar 

  64. Zaniolo, C., “The Database Language GEM”, Proc. 1983 ACM SIGMOD International Conference on Management of Data, San Jose, CA, May 1983, SIGMOD Record, Vol. 13, No. 4, pp. 207-218.

    Google Scholar 

  65. Zisman, M.D., “Use of Production Systems for Modelling Concurrent Processes”, in D.A. Waterman and F. Hayes-Roth (eds.), Pattern-Directed Inference Systems, Academic Press, New York, 1978, pp. 53–68.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Nixon, B.A., Chung, K.L., Lauzon, D., Borgida, A., Mylopoulos, J., Stanley, M. (1989). Design of a Compiler for a Semantic Data Model. In: Schmidt, J.W., Thanos, C. (eds) Foundations of Knowledge Base Management. Topics in Information Systems. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-83397-7_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-83397-7_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-83399-1

  • Online ISBN: 978-3-642-83397-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics