ingraph – project proposal
The aim of the ingraph project is to evaluate openCypher graph queries incrementally. Our long-term goal is to provide a horizontally scalable graph query engine, which is able to perform complex graph queries on graphs with 100M+ elements.
Understanding the big data landscape is a challenging task. Even for processing graphs, there are dozens of available technologies. For ingraph, we try to clarify the technical goals of the project, listing both the strengths and limitations of the project.
Typed graphs are also used in other disciplines, usually for analysis with the tools of network theory. Related terms include multidimensional networks (social network analysis), multiplex networks (physics), multi[-]layer[ed] networks (social network analysis and physics) and heterogeneous networks.
ingraph is suited for the following technical challenges:
- Standing queries on a continuously changing graph
- Evaluating queries over a runtime (live) model
- Global analytical graph patterns
Not suited for
ingraph is not efficient/expressive enough for the following technical challenges:
- Queries that are evaluated only evaluated once or infrequently (i.e. batch processing, daily analysis) [our main goal for the summer of 2017 is to resolve this issue, so stay tuned]
- Graph analytics involving PageRank, community detection, etc.
Currently, the ingraph project is not mature enough for production use. Instead, it should be used in prototypes and performance experiments.
Candidates for primary use cases of incremental openCypher queries are:
- Model validation (IncQuery-D paper, Train Benchmark paper)
- Static analysis of source code repositories (thesis work #1, #2)
- Fraud detection (Neo4j white paper)
- Model simulation and analysis of runtime models
Incremental openCypher queries can also be beneficial for:
- Grapflow also aims to provide “continuous subgraph queries”, based their extension of the openCypher query language, openCypher++.
- J. Marton, G. Szárnyas, D. Varró: Formalising openCypher Graph Queries in Relational Algebra (ADBIS 2017)
- G. Szárnyas, B. Izsó, I. Ráth, D. Varró: The Train Benchmark: Cross-Technology Performance Evaluation of Continuous Model Validation (Software and Systems Modeling Journal, 2017)
- G. Szárnyas, B. Izsó, I. Ráth, D. Harmath, G. Bergmann, D. Varró: IncQuery-D: A Distributed Incremental Model Query Framework in the Cloud (MODELS 2014)
- G. Szárnyas, J. Maginecz, D. Varró: Evaluation of Optimization Strategies for Incremental Graph Queries (Periodica Polytechnica 2017)
- J. Maginecz, G. Szárnyas, Sharded Joins for Scalable Incremental Graph Queries (PhD Minisymposium 2016)
- ingraph: Live Queries on Graphs (slides), GraphConnect 2017 lightning talk
- The ingraph project and incremental evaluation of Cypher queries, 2nd openCypher Implementers Meeting
- Incremental Graph Queries for Cypher, 1st openCypher Implementers Meeting
- Incremental Graph Queries with openCypher, FOSDEM 2017, Graph devroom
- The Train Benchmark: Cross-Technology Performance Evaluation of Continuous Model Queries, Linked Data Benchmark Council, 9th TUC meeting