Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { URI URI // URI of this entity Path []URI // the path of this entity Triples []Triple // the triples that define this entity itself Fields map[string][]FieldValue // values for specific fields Children map[string][]Entity // child paths for specific entities }
Entity represents an Entity inside a WissKI Bundle
func (Entity) AllTriples ¶
AllTriples returns all triples that are related to this entity. Concretetly this means:
- Any Triple defining the entity itself. - Any Triple defining any field of the entity. - Any Triple defining any child entity.
Triples are returned in globally consistent order. Triples are guaranteed not to be repeated. This means that any two calls to AllTriples() use the same order.
type FieldValue ¶
FieldValue represents the value of a field inside an entity
Click to show internal directories.
Click to hide internal directories.