# Functions
AsValue converts native type into closest Value representation.
Copy will copy all quads from src to dst.
CopyBatch will copy all quads from src to dst in a batches of batchSize.
FormatByExt returns a registered format by its file extension.
FormatByMime returns a registered format by its MIME type.
FormatByName returns a registered format by its name.
Formats returns a list of all supported quad formats.
HashOf calculates a hash of value v.
HashTo calculates a hash of value v, storing it in a slice p.
IRIWriter is a writer implementation that converts all IRI values in quads according to the IRIOptions.
Make creates a quad with provided values.
MakeIRI creates a quad with provided IRI values.
MakeRaw creates a quad with provided raw values (nquads-escaped).
NativeOf safely call v.Native, returning nil in case of nil Value.
NewReader creates a quad reader from a quad slice.
RandomBlankNode returns a randomly generated Blank Node.
Raw is a Turtle/NQuads-encoded value.
ReadAll reads all quads from r until EOF.
RegisterFormat registers a new quad-file format.
RegisterStringConversion will register an automatic conversion of TypedString values with provided type to a native equivalent such as Int, Time, etc.
StringOf safely call v.String, returning empty string in case of nil Value.
StringToValue is a function to convert strings to typed quad values.
ToString casts a values to String or falls back to StringOf.
ValuesWriter is a writer implementation that converts all quad values using the callback function.
# Constants
List of the valid directions of a quad.
HashSize is a size of the slice, returned by HashOf.
IRIDefault preserves current IRI formatting.
IRIFull changes IRI to use full form (ex: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>).
IRIShort changes IRI to use a short namespace prefix (ex: <rdf:type>).
List of the valid directions of a quad.
List of the valid directions of a quad.
List of the valid directions of a quad.
List of the valid directions of a quad.
# Type aliases
BatchReader is an interface for reading quads in batches.
BatchWriter is an interface for writing quads in batches.
BNode is an RDF Blank Node (ex: _:name).
Bool is a native wrapper for bool type.
Direction specifies an edge's type.
Equaler interface is implemented by values, that needs a special equality check.
Float is a native wrapper for float64 type.
Format is a description for quad-file formats.
Int is a native wrapper for int64 type.
IRI is an RDF Internationalized Resource Identifier (ex: <name>).
IRIFormat is a format of IRI.
IRIOptions is a set of option
Deprecated: use github.com/cayleygraph/quad package instead.
LangString is an RDF string with language (ex: "name"@lang).
Our quad struct, used throughout.
Reader is a minimal interface for quad readers.
Sequence is an object to generate a sequence of Blank Nodes.
Skipper is an interface for quad reader that can skip quads efficiently without decoding them.
String is an RDF string value (ex: "name").
StringConversion is a function to convert string values with a specific IRI type to their native equivalents.
Time is a native wrapper for time.Time type.
TypedString is an RDF value with type (ex: "name"^^<type>).
Value is a type used by all quad directions.
Writer is a minimal interface for quad writers.