Nothing Special   »   [go: up one dir, main page]

Skip to main content

A Logic Programming Approach to Supporting the Entries of XML Documents in an Object Database

  • Conference paper
  • First Online:
Practical Aspects of Declarative Languages (PADL 2000)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1753))

Included in the following conference series:

Abstract

In this paper we employ the parsing and generation capabilities of DCG in Prolog to convert XML documents into object definitions to be stored in an object database. The system mainly consists of a DTD parser, a schema generator and a DI parser generator. The DTD parser is used to analyze the structure of DTD. The two generators take the parsing results of the DTD parser, and then produce database schema definitions and the DI parser. The database schema for a DTD is built by executing the generated schema definitions. The DI parser analyzes the document instance and produces the corresponding object definitions. The elements in the document are then stored in the object database by executing the object definition.

This research was partially supported by the Taiwan National Science Council under Contract No. 88-2213-E-036-004.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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.

Similar content being viewed by others

References

  1. Abiteboul, S., Cluet, S., Christophides, V., Milo, T., Moerkotte, G., Simeon, J.: Querying documents in object databases. International Journal on Digital Libraries. (1997) 5–19.

    Google Scholar 

  2. Appel, A. W.: Modern Compiler Implementation in Java: Basic Techniques. Cambridge university Press. (1997)

    Google Scholar 

  3. Bohm, K., Aberer, K., Neuhold E. J., Yang, X.: Structured document storage and refined declarative and navigational access mechanisms in HyperStorM. VLDB Journal (1997).

    Google Scholar 

  4. Bratko, I.: Prolog Programming for Artificial intelligence, 2nd ed. Addison-Wesley. (1990)

    Google Scholar 

  5. Catell, R. G. G. (ed.): The Object Database Standard: ODMG-93. (1996) Morgan Kaufmann

    Google Scholar 

  6. Computer Associates: http://www.cai.com/products/jasmine.htm

  7. El-Medani, S.: Support for Document Entry in a Multimedia Database. (1996) Technical Report TR 96-23, Department of Computing Science, University of Alberta.

    Google Scholar 

  8. Goldfarb, C.: The SGML Handbook. Oxford University Press. (1990)

    Google Scholar 

  9. Goldfarb, C., Prescod, P.: The XML Handbook. Prentice Hall. (1998)

    Google Scholar 

  10. Logic Programming Associates: http://www.lpa.co.uk/

  11. Maler, E., Andaloussi, J. E.: Developing SGML DTDs: From Text to Model to Markup. Prentice Hall. (1996)

    Google Scholar 

  12. Ozsu, M.T., Szafron, D., El-Medani, G., Vittal, C.: An object-oriented multimedia database system for a news-on-demand application. Multimedia Systems. Vol. 3. (1995) 182–203

    Article  Google Scholar 

  13. POET Software: XML: the foundation for the future. Available at http://www.poet.com. (1997)

  14. Vittal, C.: An Object-Oriented Multimedia Database System for News-on-Demand Application. Technical Report TR 95-06. Department of Computer Science, University of Alberta. Canada. (1995)

    Google Scholar 

  15. W3C. Extensible Markup Language (XML) 1.0. W3C Recommendation 10-February-1998. Available at http://www.w3.org/TR/REC-xml. (1998)

  16. W3C. Document Object Model (DOM) Level 1 Specification Version 1.0. W3C Recommendation 1 October, 1998. Available at http://www.w3.org/TR/RECDOM-Level-1/. (1998)

  17. Yeh, C. L., Chen, H.C.: An extensible template-based query interface to accessing XML object databases. Accepted for presentation in 1999 International Symposium on Multimedia Information Processing, Taipei, Taiwan.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Yeh, CL. (1999). A Logic Programming Approach to Supporting the Entries of XML Documents in an Object Database. In: Pontelli, E., Santos Costa, V. (eds) Practical Aspects of Declarative Languages. PADL 2000. Lecture Notes in Computer Science, vol 1753. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46584-7_19

Download citation

  • DOI: https://doi.org/10.1007/3-540-46584-7_19

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66992-0

  • Online ISBN: 978-3-540-46584-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics