arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.03770cs.DB
收藏

基于模式的文档数据库查询语言JPQ的设计问题

Design Issues of JPQ: a Pattern-based Query Language for Document Databases

Xuhui Li, Mengchi Liu, Xiaoying Wu, Shanfeng Zhu

摘要:

文档数据库的应用越来越广泛,但如何实现复杂的文档查询,从文档中获取有用的信息,仍然是一个重要的研究课题。本文描述了一种基于模式的文档数据库查询语言JPQ的设计问题。JPQ使用各种表达模式来提取和构造遵循类似JSON的文档数据模型的文档片段。该方法采用树状抽取模式和一致的模式组合机制,从层次结构的文档中抽取数据元素,并维护元素之间的逻辑关系。基于这些关系,JPQ部署了一种演绎机制来声明性地指定数据转换请求,并考虑了分层数据结构上的数据过滤。我们使用各种例子来展示语言的功能,并展示其表现力和声明性在提出复杂的文档查询。

英文摘要:

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. JPQ 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. We use various examples to show the features of the language and to demonstrate its expressiveness and declarativeness in presenting complex document queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑