Skip to main content

Bottom-Up Evaluation of DataHiLog

  • Conference paper
Rules in Database Systems

Part of the book series: Workshops in Computing ((WORKSHOPS COMP.))

  • 53 Accesses

Abstract

Many queries which may be useful in applications such as “data mining” and knowledge acquisition in databases cannot be expressed in traditional query languages such as SQL or Datalog because they lack the ability to query information regarding the schema of the database. We study the language DataHiLog introduced by Ross as a restriction of the language HiLog developed by Chen, Kifer and Warren. DataHiLog is still able to mix schema-level and instance-level queries, while avoiding the problem of infinite answers which can arise in HiLog. We show how the standard techniques for Datalog can be extended to provide a bottom-up evaluation mechanism for DataHiLog, and consider whether Datalog optimization techniques can also be extended to DataHiLog.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. F. Bancilhon, D. Maier, Y. Sagiv, and J. Ullman. Magic sets and other strange ways to implement logic programs. In Proc. Fifth ACM SIGACT-SIGMOD Symp. on Principles of Databases Systems, pages 1–15, 1986.

    Google Scholar 

  2. C. Beeri and R. Ramakrishnan. On the power of magic. In Proc, Sixth ACM SIGACT-SIGMOD-SIGART Symp. on Principles of Databases Systems, pages 269–283, 1987.

    Google Scholar 

  3. W. Chen, M. Kifer, and D. S. Warren. HiLog: A first-order semantics of higher-order logic programming constructs. In Proc. North American Conf on Logic Programming, pages 1090–1114, 1989.

    Google Scholar 

  4. W. Chen, M. Kifer, and D.S. Warren. HiLog as a platform for database languages. In R. Hull, R. Morrison, and D. Stemple, editors, Proc. 2nd Int. Workshop on Database Programming Languages, pages 315–329. Morgan Kaufmann, 1989.

    Google Scholar 

  5. W. Chen and D. S. Warren. C-Logic for complex objects. In Proc. Eighth ACM SIGACT-SIGMOD-SIGART Symp. on Principles of Databases Systems, pages 369–378, 1989.

    Google Scholar 

  6. D. B. Kemp, D. Srivastava, and P. J. Stuckey. Magic sets and bottom-up evaluation of well-founded models. In V. Saraswat and K. Ueda, editors, Logic Programming, Proceedings of the 1991 International Symposium, pages 337–354, San Diego, USA, 1991. The MIT Press.

    Google Scholar 

  7. M. Kifer and G. Lausen. F-Logic: A higher order language for reasoning about objects, inheritance and scheme. In Proc. of the ACM SIGMOD Conf. on Management of Data, pages 134–146, 1989.

    Google Scholar 

  8. M. Kifer and J. Wu. A logic for object-oriented logic programming (Maier’s O-Logic revisited). In Proc. Eighth ACM SIGACT-SIGMOD-SIGART Symp. on Principles of Databases Systems, pages 379–393, 1989.

    Google Scholar 

  9. J. F. Naughton, R. Ramakrishnan, Y. Sagiv, and J. D. Ullman. Argument reduction by factoring. In Proc. 15th Int. Conf. on Very Large Data Bases, pages 173–182, 1989.

    Google Scholar 

  10. J. F. Naughton, R. Ramakrishnan, Y. Sagiv, and J. D. Ullman. Efficient evaluation of right-, left-, and combined-linear rules. In Proc. ACM SIGMOD Conf. on Management of Data, pages 235–242, 1989.

    Google Scholar 

  11. J. F. Naughton and Y. Sagiv. A decidable class of bounded recursions. In Proc. Sixth ACM SIGACT-SIGMOD-SIGART Symp. on Principles of Databases Systems, pages 227–236, 1987.

    Google Scholar 

  12. R. Ramakrishnan, D. Srivastava, and S. Sudarshan. Rule ordering in bottom-up fixpoint evaluation of logic programs. In Proc. 16th Int. Conf. on Very Large Data Bases, pages 359–371, 1990.

    Google Scholar 

  13. K. A. Ross. On negation in HiLog. In Proc. Tenth ACM SIGACT-SIGMOD-SIGART Symp. on Principles of Databases Systems, pages 206–215, 1991.

    Google Scholar 

  14. K. A. Ross. Relations with relation names as arguments: Algebra and calculus. In Proc. Eleventh ACM SIGACT-SIGMOD-SIGART Symp. on Principles of Databases Systems, pages 346–353, 1992.

    Google Scholar 

  15. J. M. Smith and D. C. Smith. Database abstractions: Aggregation and generalization. ACM Trans. Database Syst., 2(2):105–133, June 1977.

    Article  Google Scholar 

  16. J. D. Ullman. Principles of Database and Knowledge-Base Systems, volume 1. Computer Science Press, Rockville, Maryland, 1988.

    Google Scholar 

  17. J. D. Ullman. Principles of Database and Knowledge-Base Systems, volume 2. Computer Science Press, Rockville, Maryland, 1989.

    Google Scholar 

  18. P. T. Wood. Factoring augmented regular chain programs. In Proc. 16th Int. Conf. on Very Large Data Bases, pages 255–263, 1990.

    Google Scholar 

  19. P. T. Wood. Syntactic characterizations of 1-bounded datalog programs. In Proc. 2nd Int. Conf on Deductive and Object-Oriented Databases, pages 208–225, 1991.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1994 British Computer Society

About this paper

Cite this paper

Wood, P.T. (1994). Bottom-Up Evaluation of DataHiLog. In: Paton, N.W., Williams, M.H. (eds) Rules in Database Systems. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3225-7_24

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3225-7_24

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-19846-8

  • Online ISBN: 978-1-4471-3225-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics