Skip to content

Jelly-SPARQL: add support for punctuated streams - #348

Merged
Ostrzyciel merged 1 commit into
mainfrom
piotr/sparql-punctuated
Oct 8, 2026
Merged

Ostrzyciel merged 1 commit into
mainfrom
piotr/sparql-punctuated

Conversation

@Ostrzyciel

Copy link
Copy Markdown
Member
  • sparql to-jelly can take multiple files as input
  • sparql from-jelly will just concat the result set files on stdout (RDF Messages-style)
  • Conversion to Jelly-RDF will put each result set in one frame and set an appropriate logical stream type.
  • sparql validate can take multiple input comparison files OR can compare against another punctuated stream.
  • sparql inspect can handle multiple result sets

- `sparql to-jelly` can take multiple files as input
- `sparql from-jelly` will just concat the result set files on stdout (RDF Messages-style)
- Conversion to Jelly-RDF will put each result set in one frame and set an appropriate logical stream type.
- `sparql validate` can take multiple input comparison files OR can compare against another punctuated stream.
- `sparql inspect` can handle multiple result sets
@Ostrzyciel
Ostrzyciel requested a review from nk2IsHere October 8, 2026 08:22

/** Reads the result sets of a Jelly-SPARQL stream one by one.
*
* Unlike Jena's reader, this one pulls frames from the stream only when it needs them, so it can

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment out of context

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disagree, the Jena reader really does behave differently and this is the only reason this class exists

@Ostrzyciel
Ostrzyciel merged commit 242fa6d into main Oct 8, 2026
7 checks passed
@Ostrzyciel
Ostrzyciel deleted the piotr/sparql-punctuated branch October 8, 2026 10:20
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.

2 participants