Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] console refactoring

On 10/4/18 10:11, Jacek Grzebyta wrote:


On 9 April 2018 at 19:40, Bart Hanssens (BOSA) <bart.hanssens@xxxxxxxxxxxx> wrote:

Hi all,

 

For the last few days, I’ve been busy refactoring the Console tool, IMHO the code is now more readable and easier to extend

(which  I’m planning to do, e.g. adding a Convert command to convert from one serialization to another,


That might be challenging a bit in case of larger documents (~10M+ triples). I had problem with Turtle-based (Turtle + TriG) parser in my project.
I suggest not to use naked memory-store for that. Or distinguish somehow using the store type.

You should be able to do this streaming, without the need for an intermediate repository. Barring buffering issues that should ensure it can deal with arbitrary sizes. Just link a Rio parser directly with a Rio writer.

Cheers,

Jeen

Back to the top