Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyURI ¶
type AnyURI Symbol
The data type represents Internationalized Resource Identifier. Used to uniquely identify concept, objects, etc.
type Base64Binary ¶
type Base64Binary = []byte
type DataType ¶
type DataType interface { ~string | ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~float32 | ~float64 | ~bool | ~[]byte }
DataType is a type constrain used by the library. See https://www.w3.org/TR/xmlschema-2/#datatype
Knowledge statements contain scalar objects -- literals. Literals are either language-tagged string `rdf:langString` or type-safe values containing a reference to data-type (e.g. `xsd:string`).
This interface defines data-types supported by the library. It maps well-known semantic types to Golang native types and relation to existed schema(s) and ontologies.
type Float ¶
type Float = float32
The floating point data-type in knowledge statement. The library uses various uint precisions.
type String ¶
type String string
The string data-type represents character strings in knowledge statements. The language strings are annotated with corresponding language tag.