Package com.hp.hpl.jena.ontology

Provides a set of abstractions and convenience classes for accessing and manipluating ontologies represented in RDF.

See:
          Description

Interface Summary
AllDifferent Interface defining an individual in which all members of a collection are declared pair-wise disjoint.
AllValuesFromRestriction A property restriction that requires the named property to have have any range instances to be members of a given class.
AnnotationProperty Interface that represents the category of annotation properties in an ontology language.
BooleanClassDescription Encapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).
CardinalityQRestriction Interface representing the ontology abstraction for a qualified cardinality restriction.
CardinalityRestriction 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.
ComplementClass Class description that is formed from the complement of another class description
DataRange Represents an ontology DataRange: a class-like construct that contains only concrete data literals.
DatatypeProperty Interface that encapsulates the class of properties whose range values are datatype values (as distinct from ObjectProperty whose values are individuals).
EnumeratedClass Encapsulates a class description representing a closed enumeration of individuals.
FunctionalProperty 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.
HasValueRestriction A property restriction that requires the named property to have a given individual as its value.
Individual Interface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion, or a member of the a-box.
IntersectionClass Encapsulates a class description that is the intersection of a list of class expressions.
InverseFunctionalProperty 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).
MaxCardinalityQRestriction Interface representing the ontology abstraction for a qualified maximum cardinality restriction.
MaxCardinalityRestriction 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.
MinCardinalityQRestriction Interface representing the ontology abstraction for a qualified minimum cardinality restriction.
MinCardinalityRestriction 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.
ObjectProperty Interface encapsulating properties whose range values are restricted to individuals (as distinct from datatype valued properties).
OntClass Interface that represents an ontology node characterising a class description.
OntDocumentManager.ReadFailureHandler 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.
OntDocumentManager.ReadHook Interface denoting a handler class that can intervene in the process of reading a source document into a model.
OntModel An enhanced view of a Jena model that is known to contain ontology data, under a given ontology vocabulary (such as OWL).
Ontology 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).
OntProperty Interface encapsulating a property in an ontology.
OntResource Provides a common super-type for all of the abstractions in this ontology representation package.
Profile Interface that encapsulates the elements of a general vocabulary corresponding to a particular ontology language.
QualifiedRestriction Represents a qualified restriction, in which all values of the restricted property are required to be members of a given class.
Restriction Interface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.
SomeValuesFromRestriction A property restriction that requires the named property to have at least one range instance belonging to the given class.
SymmetricProperty Interface that encapsulates a property that is symmetric, i.e. one in which if p(x, y) holds, thenp(y, x) must also hold.
TransitiveProperty 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.
UnionClass Class description that is formed from the union of a list of a class descriptions.
 

Class Summary
OntDocumentManager Provides services for managing ontology documents, including loading imported documents, and locally caching documents from resolvable URL's to improve load performance.
OntDocumentManager.DefaultReadHook The default implementation of OntDocumentManager.ReadHook makes no changes.
OntModelSpec Encapsulates a description of the components of an ontology model, including the storage scheme, reasoner and language profile.
OntTools Some general utilities and algorithms to support developers working with the general classes in the Jena ontology API.
OntTools.DisjointSet A simple representation of disjoint sets
OntTools.LCAIndex Simple data structure mapping RDF nodes to disjoint sets, and pairs of resources to their LCA.
OntTools.Path 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:
OntTools.PredicatesFilter A filter which accepts statements whose predicate matches one of a collection of predicates held by the filter object.
ProfileRegistry Provides a means to map between the URI's that represent ontology languages and their language profiles.
 

Exception Summary
ConversionException Exception that is thrown when an ontology resource is converted to another facet, using as(), and the requested conversion is not possible.
LanguageConsistencyException 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.
OntologyException Exception for generic errors that arise while processing ontologies
ProfileException Exception that is raised when an ontology operation is attempted that is not present in the language profile for the current ontology model.
 

Package com.hp.hpl.jena.ontology Description

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.



Licenced under the Apache License, Version 2.0