A Bottom-Up Algorithm for Answering Context-Free Path Queries in Graph Databases

被引:5
|
作者
Santos, Fred C. [1 ]
Costa, Umberto S. [1 ]
Musicante, Martin A. [1 ]
机构
[1] Univ Fed Rio Grande do Norte, Comp Sci Dept DIMAp, Natal, RN, Brazil
来源
WEB ENGINEERING, ICWE 2018 | 2018年 / 10845卷
关键词
Graph databases; Query answering; Context-free path queries;
D O I
10.1007/978-3-319-91662-0_17
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Many computing applications require processing of data that are directly collected from the Internet. In this context, the use of the Resource Description Framework (RDF) has became a common feature. The query and analysis of RDF data is paramount to explore the full potential of the data available on the Web. Query languages for RDF graph databases rely on the use of regular expressions to identify paths over the data. Some interesting queries, such as same-generation queries, cannot be expressed by regular expressions. We are interested in extending the expressiveness of queries over graph databases by using paths defined by context-free grammars. We introduce a new query algorithm to process context-free path queries over graph databases. Our approach is inspired by the LR(1) parsing techniques. A prototype was implemented and experiments were conducted to validate and compare the results of our algorithm with those obtained by similar approaches.
引用
收藏
页码:225 / 233
页数:9
相关论文
共 50 条
  • [1] Efficient Evaluation of Context-Free Path Queries for Graph Databases
    Medeiros, Ciro M.
    Musicante, Martin A.
    Costa, Umberto S.
    [J]. 33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 1230 - 1237
  • [2] On The Inference of Context-Free Grammars Based On Bottom-Up Parsing and Search
    Prajapati, Gend Lal
    Jain, Aditya
    Khandelwal, Mayank
    Nema, Pooja
    Shukla, Priyanka
    [J]. 2009 SECOND INTERNATIONAL CONFERENCE ON EMERGING TRENDS IN ENGINEERING AND TECHNOLOGY (ICETET 2009), 2009, : 486 - 491
  • [3] Context-Free Path Queries on RDF Graphs
    Zhang, Xiaowang
    Feng, Zhiyong
    Wang, Xin
    Rao, Guozheng
    Wu, Wenrui
    [J]. SEMANTIC WEB - ISWC 2016, PT I, 2016, 9981 : 632 - 648
  • [4] EFFICIENT BOTTOM-UP COMPUTATION OF QUERIES ON STRATIFIED DATABASES
    BALBIN, I
    PORT, GS
    RAMAMOHANARAO, K
    MEENAKSHI, K
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1991, 11 (3-4): : 295 - 344
  • [5] Parsing method for context-free languages using bottom-up lookahead computation
    Yamanashi Univ, Kovu, Japan
    [J]. Syst Comput Jpn, 10 (14-22):
  • [6] A bottom-up algorithm for XML twig queries
    Zhi-xian, Tang
    Jun, Feng
    Li-ming, Xu
    Ya-qing, Shi
    [J]. International Journal of Database Theory and Application, 2015, 8 (04): : 49 - 58
  • [7] A parsing method for context-free languages using bottom-up lookahead computation
    Watanabe, Y
    Tokuda, T
    [J]. SYSTEMS AND COMPUTERS IN JAPAN, 1996, 27 (10) : 14 - 22
  • [8] RECURSIVE QUERIES AND CONTEXT-FREE GRAPH-GRAMMARS
    COURCELLE, B
    [J]. THEORETICAL COMPUTER SCIENCE, 1991, 78 (01) : 217 - 244
  • [9] Querying graph databases using context-free grammars
    Medeiros, Ciro M.
    Musicante, Martin A.
    Costa, Umberto S.
    [J]. JOURNAL OF COMPUTER LANGUAGES, 2022, 68
  • [10] A Bottom-Up Algorithm for Solving Query-Answering Problems
    Akama, Kiyoshi
    Nantajeewarawat, Ekawit
    [J]. INFORMATICS ENGINEERING AND INFORMATION SCIENCE, PT II, 2011, 252 : 299 - +