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 triples represented by the DataFrame to disk in N-Triples format.
Write the triples represented by the DataFrame to disk in N-Triples format.
the DataFrame containing the triples
the output directory
whether to put all data into a single file
whether to sort the triples by subject, predicate, object
Write the graph to disk in N-Triples format.
Write the graph to disk in N-Triples 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
Write the triples to disk in N-Triples format.
Write the triples to disk in N-Triples format.
the triples
the output directory
whether to put all data into a single file
whether to sort the triples by subject, predicate, object
A class that provides methods to write an RDF graph to disk.