NTriple

RDF N-Triple (data model).

Parameterized on element type Chars. Use NTriple!(char[]) to avoid GC-allocations when parsing files using File.byLine which returns a volatile reference to a temporary char[] buffer. If The NTriples are to be stored permanently in memory use NTriple!string.

@safe pure nothrow @nogc
struct NTriple {
Chars subject;
Chars predicate;
Chars object;
Chars objectLanguageCode;
Chars objectDataTypeIRI;
SubjectFormat subjectFormat;
ObjectFormat objectFormat;
}

Members

Functions

parse
void parse()

Parse subject, predicate and object.

See Also

Meta