Thank you for the help. But i have tried the both  RDFDataMgr and RDFWriter but 
the result is not better.

Sofiane.


Le Mercredi 13 août 2014 11h28, Damian Steer <[email protected]> a écrit :
 


On 13/08/14 09:14, Zahir Kali wrote:

> Hello, I am working about reasoning in Jena. I take RDF model and i
> enrich it.So the RDF obtained is voluminous and to save it in a file
> i must wait many hours (3 or 4 hours). I thought to use TDB but i am
> not sure that is the best way to resolve the problem.

How big is the model, and what format are you writing the file in?

Some formats -- for example RDF/XML-ABBREV and TURTLE -- try to write
'prettily' which requires some work to achieve the most human-readable
output.

If you consult the documentation [1] you'll find a list of 'pretty'
formats to avoid, and faster alternatives. (N-Triples is always fast)

Note that for many of these you need to move from model#write(...) to
RDFDataMgr#write(...).

Damian

[1] <https://jena.apache.org/documentation/io/rdf-output.html
>

Reply via email to