Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlankNode ¶
type BlankNode struct {
Attribute string
}
BlankNode identifiers are local identifiers.
type DataType ¶
type DataType string
const ( XSD = "http://www.w3.org/2001/XMLSchema#" XSDAnyType DataType = XSD + "anyType" XSDBoolean DataType = XSD + "boolean" XSDInteger DataType = XSD + "integer" XSDDecimal DataType = XSD + "decimal" XSDDouble DataType = XSD + "double" XSDString DataType = XSD + "string" XSDNS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" XSDNSString = XSDNS + "langString" )
INFO on datatypes: https://www.w3.org/TR/xmlschema11-2/type-hierarchy-201104.longdesc.html
func (DataType) NativeType ¶
NativeType returns the native type of the given value. Returns true if the value was converted, otherwise false.
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
type IRIReference ¶
type IRIReference struct {
Value string
}
func (*IRIReference) Equal ¶
func (r *IRIReference) Equal(other Node) bool
func (*IRIReference) GetValue ¶
func (r *IRIReference) GetValue() string
type Literal ¶
type Literal struct { // Value is a Unicode string. Value string // Datatype is an IRI identifying a datatype that determines how the lexical form maps to a literal value. Datatype DataType // Language can only be present if Datatype is XSDNSString. Language string }
Literal is used to represent values such as strings, numbers, and dates.
Click to show internal directories.
Click to hide internal directories.