Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2023 Changes in this version + type BlankNode struct + Attribute string + func (b *BlankNode) Equal(other Node) bool + func (b *BlankNode) GetValue() string + type DataType string + const XSD + const XSDAnyType + const XSDBoolean + const XSDDecimal + const XSDDouble + const XSDInteger + const XSDNS + const XSDNSString + const XSDString + func (d DataType) NativeType(value string) (any, bool, error) + func (d DataType) Validate(v any, acceptString bool) bool + type Graph struct + func NewGraph(ts ...*Triple) *Graph + func (g *Graph) Add(s, p, o Node) + func (g *Graph) Find(s, p, o Node) *Triple + func (g *Graph) FindAll(s, p, o Node) []*Triple + func (g *Graph) Remove(t *Triple) + type IRIReference struct + Value string + func (r *IRIReference) Equal(other Node) bool + func (r *IRIReference) GetValue() string + type Literal struct + Datatype DataType + Language string + Value string + func (l *Literal) Equal(other Node) bool + func (l *Literal) GetValue() string + type Node interface + Equal func(other Node) bool + GetValue func() string + type Triple struct + Object Node + Predicate Node + Subject Node + func NewTriple(s, p, o Node) *Triple + func (t *Triple) Equal(other *Triple) bool