Package org.apache.jena.ontology


package org.apache.jena.ontology

Provides a set of abstractions and convenience classes for accessing and manipluating ontologies represented in RDF. The two prevalent ontology languages based on RDF are OWL. Since these two languages are similar, this package attempts to present a common set of abstractions, parameterised by vocabularies fot the different languages.

Note: this package primarily seeks to provide easy programmatic access to the terms in the ontologies. The ontology languages have well-defined semantics that provide entailment rules for triples not directly asserted by the ontology. By and large, an inference engine is needed to access these entailed triples, for which several options and an open architecture are provided elsewhere in Jena.

  • Class
    Description
    Interface defining an individual in which all members of a collection are declared pair-wise disjoint.
    A property restriction that requires the named property to have have any range instances to be members of a given class.
    Interface that represents the category of annotation properties in an ontology language.
    Encapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).
    Interface representing the ontology abstraction for a qualified cardinality restriction.
    A property restriction that requires the named property to have have exactly the given number of values for a given instance to be a member of the class defined by the restriction.
    Class description that is formed from the complement of another class description
    Exception that is thrown when an ontology resource is converted to another facet, using as(), and the requested conversion is not possible.
    Represents an ontology DataRange: a class-like construct that contains only concrete data literals.
    Interface that encapsulates the class of properties whose range values are datatype values (as distinct from ObjectProperty whose values are individuals).
    Encapsulates a class description representing a closed enumeration of individuals.
    Interface encapsulating the class of properties that are functional: that is, properties in which a given given domain value has a unique value in the range.
    A property restriction that requires the named property to have a given individual as its value.
    Interface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion, or a member of the a-box.
    Encapsulates a class description that is the intersection of a list of class expressions.
    Interface encapsulating the class of properties that are inverse functional: that is, properties in which a given given range value has a unique value in the domain (effectively, a key).
    An exception that denotes some inconsistency between the arguments to a method in the ontology API, and the language definition for a given ontology profile.
    Interface representing the ontology abstraction for a qualified maximum cardinality restriction.
    A property restriction that requires the named property to have have at most the given number of values for a given instance to be a member of the class defined by the restriction.
    Interface representing the ontology abstraction for a qualified minimum cardinality restriction.
    A property restriction that requires the named property to have have at least the given number of values for a given instance to be a member of the class defined by the restriction.
    Interface encapsulating properties whose range values are restricted to individuals (as distinct from datatype valued properties).
    Interface that represents an ontology node characterising a class description.
    Provides services for managing ontology documents, including loading imported documents, and locally caching documents from resolvable URL's to improve load performance.
    The default implementation of OntDocumentManager.ReadHook makes no changes.
    Interface defining a handler call-back in the case that the OntDocumentManager fails in an attempt to read the contents of a URL into a model.
    Interface denoting a handler class that can intervene in the process of reading a source document into a model.
    An enhanced view of a Jena model that is known to contain ontology data, under a given ontology vocabulary (such as OWL).
    Encapsulates a description of the components of an ontology model, including the storage scheme, reasoner and language profile.
    Interface encapsulating the distinguished instance in a given ontology document that presents meta-data and other processing data about the document (including which other documents are imported by a document).
    Exception for generic errors that arise while processing ontologies
    Interface encapsulating a property in an ontology.
    Provides a common super-type for all of the abstractions in this ontology representation package.
    Some general utilities and algorithms to support developers working with the general classes in the Jena ontology API.
    A simple representation of disjoint sets
    Simple data structure mapping RDF nodes to disjoint sets, and pairs of resources to their LCA.
    A path is an application of List containing only Statement objects, and in which for all adjacent elements Si-1 and Si, where i > 0, it is true that:
    A filter which accepts statements whose predicate matches one of a collection of predicates held by the filter object.
    Interface that encapsulates the elements of a general vocabulary corresponding to a particular ontology language.
    Exception that is raised when an ontology operation is attempted that is not present in the language profile for the current ontology model.
    Provides a means to map between the URI's that represent ontology languages and their language profiles.
    Represents a qualified restriction, in which all values of the restricted property are required to be members of a given class.
    Interface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.
    A property restriction that requires the named property to have at least one range instance belonging to the given class.
    Interface that encapsulates a property that is symmetric, i.e. one in which if p(x, y) holds, thenp(y, x) must also hold.
    Interface that denotes a property that is transitive i.e. one in which if x p y holds, and y p z holds, then x p z must also hold.
    Class description that is formed from the union of a list of a class descriptions.