circlemind-ai / fast-graphrag

RAG that intelligently adapts to your use case, data, and queries
MIT License
2.12k stars 88 forks source link

Feature Request: Time-Based Sequencing for Event Memory in Knowledge Graphs #14

Open YashJain14 opened 1 week ago

YashJain14 commented 1 week ago

Is your feature request related to a problem? Please describe.

I'm frustrated by the lack of support for time-based sequencing in knowledge graphs. When working with data like movies, lifelogs, or event logs, it’s crucial to track events as they occur in sequence, building a "memory" of what happened and when. Without a built-in way to query events by order or specific time ranges, I can’t fully leverage knowledge graphs for analyzing the flow of events over time.

Describe the solution you'd like

I’d like knowledge graphs to support a time-based dimension that allows me to:

  1. Query events or nodes by specific timestamps or time ranges.
  2. Retrieve events in the order they happened, enabling queries like "What happened before/after this event?" or "Which events took place in this timeframe?"

Describe alternatives you’ve considered

One alternative would be to use a separate time-series database to manage timestamps, but this would add complexity and make it harder to analyze event relationships within the graph structure. Another option would be manually sorting events by timestamp in post-processing, but this quickly becomes inefficient as data scales.

Additional context

This feature would be invaluable for applications such as: