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

Only output used prefixes #19

Open
1 of 2 tasks
Aklakan opened this issue Jan 23, 2021 · 2 comments
Open
1 of 2 tasks

Only output used prefixes #19

Aklakan opened this issue Jan 23, 2021 · 2 comments

Comments

@Aklakan
Copy link
Member

Aklakan commented Jan 23, 2021

Output of all formats that support prefixes cause all of prefix.cc prefixes to be written out. This makes output so ugly its not funny.

  • By default, output should be deferred until a certain amount of data has been seen on which basis the set of used prefixes is determined. This is likely to work for 80-99% of the use cases. The amount of data to consider should be configurable.
  • To capture the remaining corner cases, there should be an option to provide the output prefixes directly

completed deferred output support on:

  • sparql integrate
  • named graph streams (ngs)
  • [n/a] sparql binding streams (sbs)
@Aklakan
Copy link
Member Author

Aklakan commented Feb 13, 2021

Deferred output with used prefix analysis is now implemented.
Need to add the defer-output flag to all commands.

@Aklakan
Copy link
Member Author

Aklakan commented Feb 19, 2023

There should be a --out-prefixes option where a file with prefix declarations can be specified.

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

No branches or pull requests

1 participant