Declarative Graph Querying in Practice and Theory Tutorial Abstract

Declarative Graph Querying in Practice and Theory Tutorial Abstract

Tutorial Declarative Graph Querying in Practice and Theory Tutorial Abstract George H. L. Fletcher Hannes Voigt Nikolay Yakovets Technische Universiteit Technische Universität Technische Universiteit Eindhoven Dresden Eindhoven [email protected] [email protected] [email protected] ABSTRACT The second driver is agility with respect to the management With the recent resurgence of interest in graph data man- of data. New application domains (e.g. [16, 39]) as well as agement, there has been a flurry of research on the design novel development methods [7] increased the demand for and engineering of graph query languages. On the design data models that are less rigid and schema-oriented but side, there is a large body of theoretical results that have more ad-hoc and data-oriented. Graph data models typically been obtained regarding graph languages. On the engineer- excel in this regard as new nodes and edges can be added ing side, many sophisticated scalable solutions for graph anytime, regardless of their properties. This propelled the proliferation of the Property Graph model and corresponding query processing have been developed and put into practice. 1 2 While both areas are focusing on the study of graph query DBMSs, such as Neo4j and Apache TinkerPop Blueprints languages, there has been relatively little work bridging the implementations. By now also major DBMS vendors such as results on both sides. This tutorial will survey the state of the IBM and Oracle have put their weight behind the Property art in this landscape with a particular focus on uncovering Graph model and are developing Property Graph-based data and highlighting indicative research issues that are ripe for management solutions. collaboration and cross-fertilization between the engineering The third driver is a shift in interest of analytics from and theoretical studies of graph database systems. merely reporting towards data-intensive science and discov- ery [17]. One major method in this discipline is network analysis, which puts the focal point of interest on the connec- tivity of entities. The toolbox of network analysis offers a rich 1. MOTIVATION set of algorithms and measures. These tools give incentives The mathematical concept of a graph is somewhat a re- to consider the graph structure of data collections in a wide discovered old friend in the database community. Predating range of application fields, further increasing the demand for relational database systems, the CODASYL network data scalable graph data management solutions. model resembles essentially graph data. In the 1980s and Today, graph data management has become a major topic early 1990s, with the rise of object-oriented programming and in the database community, in research as well as industry. advent of object-oriented database systems, research consid- There are several new challenges of graph data management ered graph-based data models and graph query languages [2]. which fundamentally distinguish it from tabular or nested With the continued dominance of relational DBMSs, none of (XML, JSON) data. An exemplification of how much trac- these efforts got any sustainable traction in industry. In the tion graph data management has gained is the Linked Data last decade, however, the graph concept has a considerable Benchmark Council (LDBC).3 In LDBC, research and indus- revival with three major trends driving it. try are jointly developing standardized benchmarks for graph The first driver is the Semantic Web movement [8]. The data management workloads to accelerate the maturing of idea of the semantic web gave rise to the RDF [38] data model, graph management systems by increasing competition. which structures data as a labeled graph. This propelled A rather new LDBC initiative is the Graph Query Lan- the publication and maintenance of thousands of open RDF guage Standardization Task Force. The query language is one datasets on the internet, most famously DBpedia [3]. It also of the most crucial elements of a DBMS. It defines the func- sparked research in every corner of the database community { tionality of a DBMS and how it is exposed to the user. At the ranging from works investigating the fundamental properties same time, it sets the tone for the DBMS implementation by of query languages for labeled graphs to the design of storage requiring certain functionality. Establishing a standardized structures and query engines for RDF data. graph query language, such as SQL for relational systems, is the next step towards more competition and progress. The task force brings together a group of researchers from engi- neering and theory as well as developers and representatives from industry. One early lesson learned in the task force is that there exist two disparate bodies of work surrounding graph query lan- c 2017, Copyright is with the authors. Published in Proc. 20th Inter- national Conference on Extending Database Technology (EDBT), March 1http://neo4j.com/ 21-24, 2017 - Venice, Italy: ISBN 978-3-89318-073-8, on OpenProceed- 2http://tinkerpop.apache.org/ ings.org. Distribution of this paper is permitted under the terms of the Cre- 3 ative Commons license CC-by-nc-nd 4.0 http://ldbcouncil.org/ Series ISSN: 2367-2005 598 10.5441/002/edbt.2017.79 guages. One body of work focuses on the foundational issues tutorial. Furthermore, there have been excellent tutorials on arising in the design of graph query languages, their function- these topics recently (e.g., [19, 20, 21, 42]). ality, semantics, and formal properties such as decidability, query complexity, and containment. The other body of work 3. TUTORIAL OUTLINE focuses primarily on the engineering of systems, considering After a short illustrative introduction to the distinctive the design of storage and indexing solutions and scalable properties of graph data and graph queries, the tutorial query processing engines for graph data. Due to this divide will cover two core research areas in graph query languages: in research, it is clear that we will not get the best systems language design and query processing including data repre- possible with the knowledge available. With both sides rather sentation and query optimization aspects. Within each area, oblivious to more recent advances of the other, particularly we will present the current state of the art in both theory challenges at their intersection often remain untouched. and engineering and discuss important bridges between the This tutorial aims at uncovering and highlighting indica- bodies of work in these areas. tive research issues that are ripe for collaboration and cross- fertilization. In the core fields of design of declarative query 3.1 Graph query languages languages and query processing, we will give an overview of recent advances. We will also point out their rich connec- tions and new research challenges which arise from bringing Advances in theory. As indicated already, there is a long theory and engineering together. Overall, we aim to moti- history of the study of graph query languages. The theoretical vate and stimulate such bridges, towards a broader coherent study of graph query languages (expressive power, evaluation understanding and further improvements in the design and complexity) has advanced ahead of the engineering of graph engineering of graph database systems. databases, e.g., the study of regular path queries since the 1980s. We will give a systematic presentation of the current design space of graph query languages in the theory commu- 2. SCOPE OF THE TUTORIAL nity, including a historical perspective on this development. Major languages here include subgraph matching queries, path algebras, regular path queries, and reachability [4, 6, Audience. The tutorial is relevant for EDBT as well as 10, 12, 13, 24, 34, 35, 40, 43]. ICDT attendees. The intended audience of the tutorial includes: Advances in engineering. With the recent proliferation of • Researchers interested in novel open challenges in graph 4 data management or who are particularly interested graph database system such as Neo4j, Virtuoso , and many in collaboration and cross-fertilization between theory others in industry and open source communities, there is a zoo and practice and want to have a kick start. of graph query languages available today. All of them offer • Professionals that work in graph database system en- some flavor of subgraph matching and reachability querying functionalities. We will give a structured overview of the gineering and graph query language design and are 5 interested in foundational background and broadening major players in the field such as SPARQL 1.1, openCypher , their scope of interesting query features. declarative pattern matching in Gremlin, and PGQL [37] Apart from basic knowledge about graph and database con- and point out their main functional and distinctive features. cepts there are no special requirements for this tutorial. A look at the LDBC benchmark [11] queries will complement this to a summary of the functional features available and required from a practical, use case-driven standpoint. Coverage. The attendees of this tutorial will take home: (i) an overview of the landscape of declarative graph query languages covering the most important features with Challenges. By contrasting the theoretical design space their different functionality and properties from a prac- with practical query languages and use cases, we point out tical as well as theoretical standpoint; certain matches and mismatches, that give opportunities for (ii) a survey of the foundations and recent advances ac- knowledge transfer or give rise to new research challenges. complished by engineering and theory in graph query Recently, for instance, practical query languages such as processing and optimization; and, SPARQL 1.1 and openCypher have introduced support for (iii) insights into open challenges for both foundational and regular path queries, which are very well studied in theory, engineering work and in particular for research topics while there is much room for aligning practical languages at the intersection of both. with this literature.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us