Documentation ¶
Index ¶
Constants ¶
View Source
const ( SameAs impl.Label = "http://www.w3.org/2002/07/owl#sameAs" // the default "SameAs" Predicate InverseOf impl.Label = "http://www.w3.org/2002/07/owl#inverseOf" // the default "InverseOf" Predicate Type impl.Label = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" // the "Type" Predicate )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { Fields map[string][]FieldValue // values for specific fields Children map[string][]Entity // child paths for child bundles URI impl.Label Path []impl.Label Triples []igraph.Triple }
Entity represents an Entity inside a WissKI Bundle
func (Entity) AllTriples ¶
AllTriples returns all triples that are related to this entity. Concretely 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.
Click to show internal directories.
Click to hide internal directories.