Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
129 tokens/sec
GPT-4o
28 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Localized RETE for Incremental Graph Queries (2405.01145v2)

Published 2 May 2024 in cs.SE

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

We haven't generated a summary for this paper yet.

X Twitter Logo Streamline Icon: https://streamlinehq.com