C# Class RDFSharp.Model.RDFTurtle

RDFTurtle is responsible for managing serialization to Turtle data format.
Mostra file Open project: mdesalvo/RDFSharp Class Usage Examples

Private Methods

Method Description
AbbreviateNamespace ( String token ) : String

Finds if the given token contains a recognizable namespace and, if so, abbreviates it with its prefix. It also prepares the result in a format useful for serialization.

Serialize ( RDFGraph graph, Stream outputStream ) : void

Serializes the given graph to the given stream using Turtle data format.

Serialize ( RDFGraph graph, String filepath ) : void

Serializes the given graph to the given filepath using Turtle data format.