Skip to content

TemporalRetriever is event-only, blocks ontology-wide temporal filtering #2429

@dev0xx1

Description

@dev0xx1

I found a limitation in temporal retrieval that blocks a real use case.

Current behavior:
Temporal retrieval only returns/filters Event objects.

Why this is a problem:

  • Temporal filtering can’t be applied to other ontology objects.
  • If a query asks for time-bounded entities/relations that are not Events, the retriever path cannot express that.
  • This makes temporal awareness much narrower than the ontology model.

Suggested direction:
Use query-time extraction logic similar to:
time_from, time_to = await self.extract_time_from_query(query)
and apply that temporal window at object level (not just Event type), so filtering can work across ontology entities.

Expected behavior:
Temporal constraints from user query should be reusable for any retrievable ontology object, not only Events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions