Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree:InBetweenRelation support #38

Merged
merged 3 commits into from
Sep 23, 2024
Merged

tree:InBetweenRelation support #38

merged 3 commits into from
Sep 23, 2024

Conversation

smessie
Copy link
Member

@smessie smessie commented Sep 18, 2024

  • Adds support for the tree:InBetweenRelation relation with partial dateTimes.
  • Adds a config parameter defaultTimezone to be used with this relation, in case the LDES being consumed does not specify the timezones for the relation's tree:value.
    • Options: AoE for Anywhere on Earth (will consider ≥ with value -12h & < with value + 12h), Z for UTC, ±HH:mm for any other timezone.
    • Default: AoE as this will never let you miss relevant members because of different timezones being used.
    • Allowing to set this timezone allows a client with pre knowledge about the timezone being used in the InBetweenRelations, to achieve a performance gain, as less/no irrelevant fragments will be retrieved.
  • Regexes used in the code are based on the ones provided in https://www.w3.org/TR/xmlschema/#dateTime

@smessie smessie requested a review from ajuvercr September 18, 2024 13:44
@pietercolpaert
Copy link
Member

Nice work @smessie !

@ajuvercr
Copy link
Member

Are you planning on adding some tests/do you think tests would be useful?

* Add support for --before, --after, --materialize-version and --last-version-only

* Properly handle LDES ID and View ID

* Expose new options in RDF-Connect processor

* Do proper integration tests with actual (local) LDESes

* Update dependencies

* Fix tests

* Fix identation

* Do not commit coverage
@ajuvercr
Copy link
Member

Tests arrived

@ajuvercr ajuvercr merged commit e72c925 into filter Sep 23, 2024
1 check passed
@smessie smessie deleted the filter-InBetweenRelation branch October 4, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants