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

Executing construct queries in streaming and sorted ways #49

Open
2 tasks
Aklakan opened this issue Dec 5, 2023 · 0 comments
Open
2 tasks

Executing construct queries in streaming and sorted ways #49

Aklakan opened this issue Dec 5, 2023 · 0 comments

Comments

@Aklakan
Copy link
Member

Aklakan commented Dec 5, 2023

In the code there are transformations for 'client-side' construct query execution as well as construct-to-lateral transformers.
The lateral transformation effectively pushes the construct template into the WHERE part which effectively allows for expressing sort conditions of the produced triples in SPARQL.

RPT/integrate needs to expose the features in the CLI:

  • Add option for streaming construct (construct-to-lateral with optional distinct/reduced operation). E.g. --construct-streaming[=n] where the value is the window size for reducing duplicated triples; with absent=distinct, 0=no duplicate removal.
  • Add convenience option to implicitly sort all construct queries (construct-to-lateral with ORDER BY ?s ?p ?o ?g for nquads)
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