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
相关论文
共 10 条
[1]  
Abiteboul S, 1995, FDN DATABASES
[2]  
Ancona D., 2008, AUTOMATIC GENERATION
[3]  
[Anonymous], 2007, COMPILERS PRINCIPLES
[4]   Context-Free Path Querying with Structural Representation of Result [J].
Grigorev, Semyon ;
Ragozina, Anastasiya .
CEE-SECR'17: PROCEEDINGS OF THE 13TH CENTRAL & EASTERN EUROPEAN SOFTWARE ENGINEERING CONFERENCE IN RUSSIA, 2017,
[5]  
Hellings Jelle, 2014, P 17 INT C DAT THEOR, P119
[6]   Efficient Evaluation of Context-Free Path Queries for Graph Databases [J].
Medeiros, Ciro M. ;
Musicante, Martin A. ;
Costa, Umberto S. .
33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, :1230-1237
[7]  
Scott E., 2000, TOMITA STYLE GEN LR
[8]  
Tomita M., 1987, Computational Linguistics, V13, P31
[9]   Internet of Things [J].
Xia, Feng ;
Yang, Laurence T. ;
Wang, Lizhe ;
Vinel, Alexey .
INTERNATIONAL JOURNAL OF COMMUNICATION SYSTEMS, 2012, 25 (09) :1101-1102
[10]   Context-Free Path Queries on RDF Graphs [J].
Zhang, Xiaowang ;
Feng, Zhiyong ;
Wang, Xin ;
Rao, Guozheng ;
Wu, Wenrui .
SEMANTIC WEB - ISWC 2016, PT I, 2016, 9981 :632-648