Click or drag to resize

NTriplesTokeniserNQuadsMode Property

Gets/Sets whether the output should be altered slightly to support NQuads parsing.

Namespace:  VDS.RDF.Parsing.Tokens
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public bool NQuadsMode { get; set; }

Property Value

Type: Boolean
Remarks

This is used internally to alter how DataTypes get tokenised, normally these are just returned as a UriToken since a Literal can only occur as the Object in NTriples and so if we see a Uri after a Literal it must be it's datatype and not part of another Triple.

In the case of NQuads a UriToken may follow a Literal as the Context of that Triple and not its datatype so it's important to distinguish by using a DataTypeToken instead.

See Also