Skip to main content

Towards a Pattern-Based Query Language for Document Databases

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2015)

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

Included in the following conference series:

  • 1112 Accesses

Abstract

Document databases are becoming popular, but how to present complex document query to obtain useful information from the document remains an important topic to study. In this paper, we describe the design issues of a pattern-based document database query language named JPQ, which uses various expressive patterns to extract and construct document fragments following a JSON-like document data model. It adopts tree-like extraction patterns with a coherent pattern composition mechanism to extract data elements from hierarchically structured documents and maintain the logical relationships among the elements. Based on these relationships, JPQ deploys a deductive mechanism to declaratively specify the data transformation requests and considers also data filtering on hierarchical data structure.

This research is supported by the NSF of China under contract No.61272110, No.61272275 and No.71420107026, the Open Fund. of Shanghai Key Lab. of Intelligent Info. Processing under contract No.IIPL-2011-002, the State Key Lab. of Software Engineering (SKLSE) under contract No.SKLSE20120907, and the China Postdoctoral Science Foundation under contract No. 2014M562070.

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 EPUB and 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

References

  1. Crockford, D.: The application/json Media Type for JavaScript Object Notation (JSON), RFC 4627 (2006). http://www.ietf.org/rfc

  2. Chodorow, K., Michael, D.: MongoDB: The Definitive Guide. O’Reilly Media, Sebastopol (2010)

    Google Scholar 

  3. Anderson, J.C., Jan, L., Slater, N.: CouchDB: The Definitive Guide: Time to Relax. O’Reilly Media, Sebastopol (2010)

    Google Scholar 

  4. Orientdb. http://www.orientdb.org/

  5. RavenDB. http://ravendb.net/

  6. Beyer, K., Ercegovac, V., Gemulla, R., Balmin, A., et al.: Jaql: a scripting language for large scale semistructured data analysis. Proc. VLDB Endow. 4(12), 1272–1283 (2011)

    Google Scholar 

  7. Jonathan, R., Brantner, M., Florescu, D., et al.: XQuery for JSON, JSON for XQuery. XML Prague 63 2012 (2012)

    Google Scholar 

  8. Prestegarden, D.O.: UnQL: a query language for NoSQL databases. Ph.D. Dissertation., Norwegian University of Science and Technology (2012)

    Google Scholar 

  9. Li, X., Liu, M., Zhang, Y.: Towards a “more declarative” XML query language. In: Bringas, P.G., Hameurlain, A., Quirchmayr, G. (eds.) DEXA 2010, Part II. LNCS, vol. 6262, pp. 375–390. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  10. Li, X., Liu, M., Zhu, S., Ghafoor, A.: XTQ: A Declarative Functional XML Query Language. CoRR abs/1406.1224 (2014)

    Google Scholar 

  11. Li, X., Liu, M., et al.: Design Issues of JPQ: a Pattern-based Query Language for Document Databases. Technical Report (2014). http://www.sklse.org:8080/jpq

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xuhui Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Li, X., Liu, Z., Liu, M., Wu, X., Zhu, S. (2015). Towards a Pattern-Based Query Language for Document Databases. In: Liu, A., Ishikawa, Y., Qian, T., Nutanong, S., Cheema, M. (eds) Database Systems for Advanced Applications. DASFAA 2015. Lecture Notes in Computer Science(), vol 9052. Springer, Cham. https://doi.org/10.1007/978-3-319-22324-7_34

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-22324-7_34

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-22323-0

  • Online ISBN: 978-3-319-22324-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics