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

Fetching fragments is slow(er) because prefix extraction #1410

Open
rorlic opened this issue Nov 7, 2024 · 0 comments
Open

Fetching fragments is slow(er) because prefix extraction #1410

rorlic opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rorlic
Copy link
Contributor

rorlic commented Nov 7, 2024

Using pyroscope I see that about 15% of the time is used for determining and extracting prefixes using regex on predicates and object URIs while prefixes are only applicable when returning Turtle format.

Even more, this results in ugly and strange prefixes, while it suffices to use well-known prefixes. However, it would be useful to also add a few additional prefixes as most objects in the LDES are prefixed with the LDES server URL and optionally allow to configure a set of prefixes (system wide).

Suggestion, for Turtle format do not determine/extract prefixes but simply always add:

  1. a set of well-known prefixes (rdfs:, dct:, xml:, etc.)
  2. a set of LDES specific prefixes, e.g. {ldes-name}:, {view-name}:, etc.
  3. a set of (system-wide) configured prefixes
@rorlic rorlic added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant