Skip to main content

Polymorphism in Datalog and Inheritance in a Metamodel

  • Conference paper
Book cover Foundations of Information and Knowledge Systems (FoIKS 2010)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 5956))

Abstract

We discuss the restructuring of a metamodel designed for representing several data models in a uniform way. This metamodel is currently used within MIDST, our Model Management proposal for performing translations of schemas and databases from a model to another. Such a restructuring is carried out by introducing hierarchies and, consequently, extending Datalog by providing it with inheritance and polymorphism in order to take advantage of them. In comparable scenarios, where predicates of the metamodel share structural elements and rules are syntactically and semantically similar, the use of hierarchies and a particular form of polymorphism provide significant advantages. These advantages range from simplifying the specification of elementary and complete translations (i.e. Datalog rules and programs, respectively) to ensuring a higher level of reuse for them, thus further improving the development of such rule-based systems.

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. Abiteboul, S., Lausen, G., Uphoff, H., Waller, E.: Methods and rules. SIGMOD Rec. 22(2), 32–41 (1993)

    Article  Google Scholar 

  2. Afrati, F.N., Karali, I., Mitakos, T.: On inheritance in object oriented datalog. In: IADT, pp. 280–289 (1998)

    Google Scholar 

  3. Atzeni, P., Cappellari, P., Bernstein, P.A.: Model-independent schema and data translation. In: Ioannidis, Y., Scholl, M.H., Schmidt, J.W., Matthes, F., Hatzopoulos, M., Böhm, K., Kemper, A., Grust, T., Böhm, C. (eds.) EDBT 2006. LNCS, vol. 3896, pp. 368–385. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  4. Atzeni, P., Cappellari, P., Torlone, R., Bernstein, P.A., Gianforme, G.: Model-independent schema translation. VLDB J. 17(6), 1347–1370 (2008)

    Article  Google Scholar 

  5. Atzeni, P., Gianforme, G.: Inheritance and polymorphism in datalog: an experience in model management. In: Information and Knowledge Bases XX, pp. 354–358 (2009)

    Google Scholar 

  6. Atzeni, P., Gianforme, G., Cappellari, P.: Reasoning on data models in schema translation. In: Hartmann, S., Kern-Isberner, G. (eds.) FoIKS 2008. LNCS, vol. 4932, pp. 158–177. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  7. Bernstein, P.A.: Applying model management to classical meta data problems. In: CIDR, pp. 209–220 (2003)

    Google Scholar 

  8. Bernstein, P.A., Melnik, S.: Model management 2.0: manipulating richer mappings. In: SIGMOD Conference, pp. 1–12. ACM, New York (2007)

    Google Scholar 

  9. Bernstein, P.A., Melnik, S., Mork, P.: Interactive schema translation with instance-level mappings. In: VLDB, pp. 1283–1286 (2005)

    Google Scholar 

  10. Bonner, A.J., Imielinski, T.: Reusing and modifying rulebases by predicate substitution. J. Comput. Syst. Sci. 54(1), 136–166 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  11. Dobbie, G., Topor, R.W.: A model for sets and multiple inheritance in deductive object-oriented systems. In: Ceri, S., Tsur, S., Tanaka, K. (eds.) DOOD 1993. LNCS, vol. 760, pp. 473–488. Springer, Heidelberg (1993)

    Chapter  Google Scholar 

  12. Dobbie, G., Topor, R.W.: Representing inheritance and overriding in datalog. Computers and Artificial Intelligence 13, 133–158 (1994)

    MATH  Google Scholar 

  13. Gottlob, G., Koch, C., Baumgartner, R., Herzog, M., Flesca, S.: The lixto data extraction project - back and forth between theory and practice. In: PODS, pp. 1–12 (2004)

    Google Scholar 

  14. Jamil, H.M.: Implementing abstract objects with inheritance in datalogneg. In: VLDB, pp. 56–65 (1997)

    Google Scholar 

  15. Kensche, D., Quix, C., Chatti, M.A., Jarke, M.: Gerome: A generic role based metamodel for model management. J. Data Semantics 8, 82–117 (2007)

    Google Scholar 

  16. Kifer, M., Lausen, G., Wu, J.: Logical foundations of object-oriented and frame-based languages. J. ACM 42(4), 741–843 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  17. Liu, M., Dobbie, G., Ling, T.W.: A logical foundation for deductive object-oriented databases. ACM Trans. Database Syst. 27(1), 117–151 (2002)

    Article  Google Scholar 

  18. Mork, P., Bernstein, P.A., Melnik, S.: Teaching a schema translator to produce O/R views. In: Parent, C., Schewe, K.-D., Storey, V.C., Thalheim, B. (eds.) ER 2007. LNCS, vol. 4801, pp. 102–119. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  19. Mycroft, A., O’Keefe, R.A.: A polymorphic type system for PROLOG. Artif. Intell. 23(3), 295–307 (1984)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Atzeni, P., Gianforme, G., Toti, D. (2010). Polymorphism in Datalog and Inheritance in a Metamodel. In: Link, S., Prade, H. (eds) Foundations of Information and Knowledge Systems. FoIKS 2010. Lecture Notes in Computer Science, vol 5956. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-11829-6_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-11829-6_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-11828-9

  • Online ISBN: 978-3-642-11829-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics