Documentation ¶
Index ¶
- type OWLOntology
- func (o *OWLOntology) GetByName(name string) (rdf.RDFNode, error)
- func (o *OWLOntology) Load() ([]rdf.RDFNode, error)
- func (o *OWLOntology) LoadAsAlias(s string) ([]rdf.RDFNode, error)
- func (o *OWLOntology) LoadElement(name string, payload map[string]interface{}) ([]rdf.RDFNode, error)
- func (o *OWLOntology) LoadSpecificAsAlias(alias, name string) ([]rdf.RDFNode, error)
- func (o *OWLOntology) SpecURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OWLOntology ¶
type OWLOntology struct {
// contains filtered or unexported fields
}
OWLOntology is an Ontology for OWL2.
func (*OWLOntology) GetByName ¶
func (o *OWLOntology) GetByName(name string) (rdf.RDFNode, error)
GetByName returns a bare node.
func (*OWLOntology) Load ¶
func (o *OWLOntology) Load() ([]rdf.RDFNode, error)
Load this ontology without an alias.
func (*OWLOntology) LoadAsAlias ¶
func (o *OWLOntology) LoadAsAlias(s string) ([]rdf.RDFNode, error)
LoadAsAlias loads the ontology with the alias.
func (*OWLOntology) LoadElement ¶
func (o *OWLOntology) LoadElement(name string, payload map[string]interface{}) ([]rdf.RDFNode, error)
LoadElement allows loading nodes to enable contexts containing a container with an index.
func (*OWLOntology) LoadSpecificAsAlias ¶
func (o *OWLOntology) LoadSpecificAsAlias(alias, name string) ([]rdf.RDFNode, error)
LoadSpecificAsAlias loads a specific ontology definition as an alias.
func (*OWLOntology) SpecURI ¶
func (o *OWLOntology) SpecURI() string
SpecURI returns the URI of the OWL specification.
Click to show internal directories.
Click to hide internal directories.