Timebased Retention Policy

https://w3id.org/ldes#DurationAgoPolicy

Timebased Retention Policy will filter out members based on their ldes:timestampPath. This retention policy works with a sliding window and not with a hard-set value.

The sliding window can be defined with a ISO 8601 Temporal Duration. Any members’ ldes:timestampPath that falls outside of this range will be removed.

Example

  @prefix ldes: <https://w3id.org/ldes#> .
  @prefix tree: <https://w3id.org/tree#>.

  <view1> a tree:Node ;
    tree:viewDescription [
      a tree:ViewDescription ;
      ldes:retentionPolicy [
        a ldes:DurationAgoPolicy ;
        tree:value "PT10M"^^<http://www.w3.org/2001/XMLSchema#duration> ;
      ] ;
    ] .