Documentation ¶
Overview ¶
Package quad defines quad and triple handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalid = errors.New("invalid N-Quad") ErrIncomplete = errors.New("incomplete N-Quad") )
Functions ¶
This section is empty.
Types ¶
type Direction ¶
type Direction byte
Direction specifies an edge's type.
List of the valid directions of a triple.
type Quad ¶
type Quad struct { Subject string `json:"subject"` Predicate string `json:"predicate"` Object string `json:"object"` Label string `json:"label,omitempty"` }
Our triple struct, used throughout.
type Unmarshaler ¶
Directories ¶
Path | Synopsis |
---|---|
Package cquads implements parsing N-Quads like line-based syntax for RDF datasets.
|
Package cquads implements parsing N-Quads like line-based syntax for RDF datasets. |
Package nquads implements parsing the RDF 1.1 N-Quads line-based syntax for RDF datasets.
|
Package nquads implements parsing the RDF 1.1 N-Quads line-based syntax for RDF datasets. |
Click to show internal directories.
Click to hide internal directories.