Skip to content
Discussion options

You must be logged in to vote

Hi Maksim! Thank you for your interest in the project.

It is possible for pyjelly to write a Jelly file in a fully streaming fashion, an example of that is here, section "Serializing a stream of statements". But, I don't think that RDFLib's N-Triples parser can actually return a stream of triples, so yeah, that would be a blocker. One option is that you could try to modify the RDFLib N-Triples parser to make it return an iterator of triples... Unfortunately this is a limitation of RDFLib so we can't do much about it.

Alternatively, you could try working with pyjelly's RDFLib-less integration – there is an example of that here, section "Serializing a stream of statements". We have an unoff…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KMax
Comment options

Answer selected by KMax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants