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 条