Documentation ¶
Overview ¶
Package parser provides parser to work with several RDF formats (N-Triples, Turtles, JSON-LD, ...)
Package parser provides utilities to work with RDF based languages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NTParser ¶
type NTParser struct {
// contains filtered or unexported fields
}
NTParser is a parser for reading & loading triples in N-Triples format.
N-Triples reference : https://www.w3.org/2011/rdf-wg/wiki/N-Triples-Format
type Parser ¶
Parser represent a generic interface for parsing every RDF format.
Package parser provides several implementations for this interface.
type TurtleParser ¶
type TurtleParser struct {
// contains filtered or unexported fields
}
TurtleParser is a parser for reading & loading triples in Turtle format.
Turtle reference : https://www.w3.org/TR/turtle/
func NewTurtleParser ¶
func NewTurtleParser() *TurtleParser
NewTurtleParser creates a new TurtleParser
func (TurtleParser) Prefixes ¶
func (p TurtleParser) Prefixes() map[string]string
Prefixes returns the prefixes read by the parser during the last parsing.