owl

package
v1.7.0-gts Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL