rdfs

package
v0.0.0-...-4564de9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	Context jsonld.Context `json:"@context"`
	Graph   Graph          `json:"@graph"`
}

func NewDocument

func NewDocument() *Document

func (*Document) UnmarshalJSON

func (doc *Document) UnmarshalJSON(bytes []byte) error

type DocumentError

type DocumentError struct {
	Context string
	// contains filtered or unexported fields
}

func (DocumentError) Error

func (e DocumentError) Error() string

type Graph

type Graph []Node

func (*Graph) UnmarshalJSON

func (graph *Graph) UnmarshalJSON(bytes []byte) error

type GraphError

type GraphError struct {
	Context string
	// contains filtered or unexported fields
}

func (GraphError) Error

func (e GraphError) Error() string

type Node

type Node struct {
	jsonld.Node

	Label         jsonld.Literal        `json:"rdfs:label"`
	Comment       jsonld.Literal        `json:"rdfs:comment"`
	SubPropertyOf jsonld.NodeReferences `json:"rdfs:subPropertyOf"`
	SubClassOf    jsonld.NodeReferences `json:"subClassOf"`
}

func (*Node) UnmarshalJSON

func (node *Node) UnmarshalJSON(bytes []byte) error

func (*Node) UnmarshalValue

func (node *Node) UnmarshalValue(key string, bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL