package
0.0.0-20221202073634-56ddec7162f2
Repository: https://github.com/gleanerio/nabu.git
Documentation: pkg.go.dev
# Functions
IILTriple builds a IRI, IRI, Literal triple.
JLDProc builds the JSON-LD processor and sets the options object for use in framing, processing and all JSON-LD actions.
JSONLDToNQ takes JSON-LD and convets to nqquads (or ntriples if no graph?).
NQToJSONLD takes nquads and converts to JSON-LD.
NQtoNTCtx converts nquads to ntriples plus a context (graph) string.
NQtoNTGraph converts nquads to nquads with a new context graph.
Skolemization replaces blank nodes with URIs The mapping approach is needed since this function can be used on a whole data graph, not just a single triple.
# Structs
ContextMapping holds the JSON-LD mappings for cached context.