Foundations of Modern Query Languages for Graph Databases

被引:207
作者
Angles, Renzo [1 ,2 ]
Arenas, Marcelo [2 ,3 ]
Barcelo, Pablo [2 ,4 ,5 ]
Hogan, Aidan [2 ,4 ,5 ]
Reutter, Juan [2 ,3 ]
Vrgoc, Domagoj [2 ,3 ]
机构
[1] Univ Talca, Camino Niches Km 1, Curico, Chile
[2] Ctr Semant Web Res, Santiago, Chile
[3] Pontificia Univ Catolica Chile, Dept Comp Sci, Sch Engn, Vicuna Mackenna 4860,Edificio San Agustin, Santiago 7820436, Chile
[4] Univ Chile, DCC, Santiago, Chile
[5] Univ Chile, Dept Comp Sci, Ave Blanco Encalada 2120, Santiago, Chile
关键词
Property graphs; graph databases; query languages; graph patterns; navigation; aggregation; REGULAR PATH QUERIES; ALGORITHM; RDF;
D O I
10.1145/3104031
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We survey foundational features underlying modern graph query languages. We first discuss two popular graph data models: edge-labelled graphs, where nodes are connected by directed, labelled edges, and property graphs, where nodes and edges can further have attributes. Next we discuss the two most fundamental graph querying functionalities: graph patterns and navigational expressions. We start with graph patterns, in which a graph-structured query is matched against the data. Thereafter, we discuss navigational expressions, in which patterns can be matched recursively against the graph to navigate paths of arbitrary length; we give an overview of what kinds of expressions have been proposed and how they can be combined with graph patterns. We also discuss several semantics under which queries using the previous features can be evaluated, what effects the selection of features and semantics has on complexity, and offer examples of such features in three modern languages that are used to query graphs: SPARQL, Cypher, and Gremlin. We conclude by discussing the importance of formalisation for graph query languages; a summary of what is known about SPARQL, Cypher, and Gremlin in terms of expressivity and complexity; and an outline of possible future directions for the area.
引用
收藏
页数:40
相关论文
共 82 条
[1]  
Abiteboul S, 1995, FDN DATABASES
[2]  
Aggarwal CC, 2010, ADV DATABASE SYST, V40, P1, DOI 10.1007/978-1-4419-6045-0
[3]   Extending SPARQL with regular expression patterns (for querying RDF) [J].
Alkhateeb, Faisal ;
Baget, Jean-Francois ;
Euzenat, Jerome .
JOURNAL OF WEB SEMANTICS, 2009, 7 (02) :57-73
[4]  
ANGLES R, 2008, P C SEM WEB ISWC08, V5318, P114
[5]   Survey of graph database models [J].
Angles, Renzo ;
Gutierrez, Claudio .
ACM COMPUTING SURVEYS, 2008, 40 (01)
[6]   The Multiset Semantics of SPARQL Patterns [J].
Angles, Renzo ;
Gutierrez, Claudio .
SEMANTIC WEB - ISWC 2016, PT I, 2016, 9981 :20-36
[7]  
Angles Renzo, 2012, P ICDE WORKSH GRAPH
[8]  
[Anonymous], 2008, W3C RECOMMENDATION
[9]  
[Anonymous], 2013, P 1 INT WORKSH GRAPH
[10]  
[Anonymous], 2014, W3C RECOMMENDATION