Converts an RDF graph to an Apache Jena in-memory model.
Converts an RDF graph to an Apache Jena in-memory model.
the RDF graph
the in-memory Apache Jena model containing the triples
For large graphs this can be too expensive and lead to a OOM exception
Write the graph to disk in N-Triple format.
Write the graph to disk in N-Triple format.
the RDF graph
the output directory
whether to put all data into a single file
whether to sort the triples by subject, predicate, object
Writes an RDF graph to disk.