Papers
Topics
Authors
Recent
Search
2000 character limit reached

Localized RETE for Incremental Graph Queries

Published 2 May 2024 in cs.SE | (2405.01145v2)

Abstract: Context: The growing size of graph-based modeling artifacts in model-driven engineering calls for techniques that enable efficient execution of graph queries. Incremental approaches based on the RETE algorithm provide an adequate solution in many scenarios, but are generally designed to search for query results over the entire graph. However, in certain situations, a user may only be interested in query results for a subgraph, for instance when a developer is working on a large model of which only a part is loaded into their workspace. In this case, the global execution semantics can result in significant computational overhead. Contribution: To mitigate the outlined shortcoming, in this paper we propose an extension of the RETE approach that enables local, yet fully incremental execution of graph queries, while still guaranteeing completeness of results with respect to the relevant subgraph. Results: We empirically evaluate the presented approach via experiments inspired by a scenario from software development and an independent social network benchmark. The experimental results indicate that the proposed technique can significantly improve performance regarding memory consumption and execution time in favorable cases, but may incur a noticeable linear overhead in unfavorable cases.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (6)
  1. Eclipse CDO Model Repository. https://projects.eclipse.org/projects/modeling.emf.cdo, last accessed 5 January 2024
  2. EMF: Eclipse Modeling Framework. https://www.eclipse.org/modeling/emf/, last accessed 27 January 2024
  3. Localized RETE for Incremental Graph Queries Evaluation Artifacts. https://github.com/hpi-sam/Localized-RETE-for-Incremental-Graph-Queries, last accessed 5 February 2024
  4. Angles, R.: A comparison of current graph database models. In: 2012 IEEE 28th International Conference on Data Engineering Workshops. pp. 171–177. IEEE (2012)
  5. Egyed, A.: Instant Consistency Checking for the UML. In: Proceedings of the 28th international conference on Software engineering. pp. 381–390 (2006)
  6. Kent, S.: Model driven engineering. In: International conference on integrated formal methods. pp. 286–298. Springer (2002)

Summary

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.