Uses of Interface
org.apache.jena.ontology.OntClass
Package
Description
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology
package.A package containing constant classes with predefined constant objects
for classes and properties defined in well known vocabularies.
-
Uses of OntClass in org.apache.jena.ontology
Modifier and TypeInterfaceDescriptioninterface
A property restriction that requires the named property to have have any range instances to be members of a given class.interface
Encapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).interface
Interface representing the ontology abstraction for a qualified cardinality restriction.interface
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.interface
Class description that is formed from the complement of another class descriptioninterface
Encapsulates a class description representing a closed enumeration of individuals.interface
A property restriction that requires the named property to have a given individual as its value.interface
Encapsulates a class description that is the intersection of a list of class expressions.interface
Interface representing the ontology abstraction for a qualified maximum cardinality restriction.interface
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
Interface representing the ontology abstraction for a qualified minimum cardinality restriction.interface
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
Represents a qualified restriction, in which all values of the restricted property are required to be members of a given class.interface
Interface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.interface
A property restriction that requires the named property to have at least one range instance belonging to the given class.interface
Class description that is formed from the union of a list of a class descriptions.Modifier and TypeMethodDescription<T extends OntClass>
ExtendedIterator<T>Individual.listOntClasses
(boolean direct) Answer an iterator over the ontology classes to which this individual belongs.Modifier and TypeMethodDescriptionOntResource.asClass()
Answer a view of this resource as a classOntModel.createClass()
Answer a resource that represents an anonymous class description in this model.OntModel.createClass
(String uri) Answer a resource that represents a class description node in this model.OntClass.getDisjointWith()
Answer a class with which this class is disjoint.OntClass.getEquivalentClass()
Answer a class that is equivalent to this class.static OntClass
Answer the lowest common ancestor of two classes in a given ontology.static OntClass
Answer the lowest common ancestor of two classes, assuming that the given class is the root concept to start searching from.Individual.getOntClass()
Answer an ontology class to which this individual belongs.Individual.getOntClass
(boolean direct) Answer an ontology class to which this individual belongs.OntModel.getOntClass
(String uri) Answer a resource that represents a class description node in this model.ComplementClass.getOperand()
Answer the class that the class described by this class description is a complement of.OntClass.getSubClass()
Answer a class that is the sub-class of this class.OntClass.getSuperClass()
Answer a class that is the super-class of this class.Modifier and TypeMethodDescriptionOntModel.listClasses()
Answer an iterator that ranges over all of the various forms of class description resource in this model.ExtendedIterator<? extends OntClass>
OntProperty.listDeclaringClasses()
Answer an iterator of all of the classes in this ontology, such that each returned class has this property as one of its properties inlistDeclaredProperties()
.ExtendedIterator<? extends OntClass>
OntProperty.listDeclaringClasses
(boolean direct) Answer an iterator of all of the classes in this ontology, such that each returned class has this property as one of its properties inlistDeclaredProperties(boolean)
.OntClass.listDisjointWith()
Answer an iterator over all of the classes that this class is declared to be disjoint with.OntClass.listEquivalentClasses()
Answer an iterator over all of the classes that are known to be equivalent to this class.OntModel.listHierarchyRootClasses()
Answer an iterator over the classes in this ontology model that represent the uppermost nodes of the class hierarchy.OntModel.listNamedClasses()
Answer an iterator that ranges over the named class-descriptions in this model, i.e. resources withrdf:type Class
(or equivalent) and a node URI.ExtendedIterator<? extends OntClass>
BooleanClassDescription.listOperands()
Answer an iterator over all of the classes that are the operands of this Boolean class expression.OntClass.listSubClasses()
Answer an iterator over all of the classes that are declared to be sub-classes of this class.OntClass.listSubClasses
(boolean direct) Answer an iterator over the classes that are declared to be sub-classes of this class.OntClass.listSuperClasses()
Answer an iterator over all of the classes that are super-classes of this class.OntClass.listSuperClasses
(boolean direct) Answer an iterator over all of the classes that are super-classes of this class.OntTools.namedHierarchyRoots
(OntModel m) Answer a list of the named hierarchy roots of a givenOntModel
.Modifier and TypeMethodDescriptionOntModel.createCardinalityQRestriction
(String uri, Property prop, int cardinality, OntClass cls) Answer a class description defined as the class of those individuals that have exactly the given number of values for the given property, all values of which belong to the given class.OntModel.createMaxCardinalityQRestriction
(String uri, Property prop, int cardinality, OntClass cls) Answer a class description defined as the class of those individuals that have at most the given number of values for the given property, all values of which belong to the given class.OntModel.createMinCardinalityQRestriction
(String uri, Property prop, int cardinality, OntClass cls) Answer a class description defined as the class of those individuals that have at least the given number of values for the given property, all values of which belong to the given class.static OntClass
Answer the lowest common ancestor of two classes in a given ontology.static OntClass
Answer the lowest common ancestor of two classes, assuming that the given class is the root concept to start searching from.boolean
QualifiedRestriction.hasHasClassQ
(OntClass cls) Answer true if this qualified property restriction has the given class as the class to which all of the property values must belong.void
QualifiedRestriction.removeHasClassQ
(OntClass cls) Remove the statement that this restriction has the given class as the class to which all values must belong.void
QualifiedRestriction.setHasClassQ
(OntClass cls) Assert that this qualified restriction restricts the property to have a given cardinality and to have values belonging to the class denoted byhasClassQ
. -
Uses of OntClass in org.apache.jena.ontology.impl
Modifier and TypeClassDescriptionclass
Implementation of the allValuesFrom restriction abstraction.class
Shared implementation for implementations of Boolean clas expressions.class
Implementation of the exact qualified cardinality restrictionclass
Implementation of the cardinality restriction abstraction.class
Implementation of a node representing a complement class description.class
Implementation of a node representing an enumerated class description.class
Implementation of the hasValue restriction abstraction.class
Implementation of a node representing an intersection class description.class
Implementation of the max qualified cardinality restrictionclass
Implementation of the max cardinality restriction abstraction.class
Implementation of the min qualified cardinality restrictionclass
Implementation of the min cardinality restriction abstraction.class
Implementation of the ontology abstraction representing ontology classes.class
Implementation of qualied restrictions.class
Implementation of the ontology abstraction representing restrictions.class
Implementation of the someValuesFrom restriction abstraction.class
Implementation of a node representing a union class description.Modifier and TypeMethodDescription<T extends OntClass>
ExtendedIterator<T>IndividualImpl.listOntClasses
(boolean direct) Answer an iterator over the ontology classes to which this individual belongs.Modifier and TypeMethodDescriptionOntResourceImpl.asClass()
Answer a view of this resource as a classOntModelImpl.createClass()
Answer a resource that represents an anonymous class description in this model.OntModelImpl.createClass
(String uri) Answer a resource that represents a class description node in this model.OntClassImpl.getDisjointWith()
Answer a class with which this class is disjoint.OntClassImpl.getEquivalentClass()
Answer a class that is equivalent to this class.IndividualImpl.getOntClass()
Answer an ontology class to which this individual belongs.IndividualImpl.getOntClass
(boolean direct) Answer an ontology class to which this individual belongs.OntModelImpl.getOntClass
(String uri) Answer a resource that represents a class description node in this model.ComplementClassImpl.getOperand()
Answer the class that the class described by this class description is a complement of.OntClassImpl.getSubClass()
Answer a class that is the sub-class of this class.OntClassImpl.getSuperClass()
Answer a class that is the super-class of this class.Modifier and TypeMethodDescriptionOntModelImpl.listClasses()
Answer an iterator that ranges over all of the various forms of class description resource in this model.OntPropertyImpl.listDeclaringClasses()
Answer an iterator of all of the classes in this ontology, such that each returned class has this property as one of its properties inlistDeclaredProperties()
.OntPropertyImpl.listDeclaringClasses
(boolean direct) Answer an iterator of all of the classes in this ontology, such that each returned class has this property as one of its properties inlistDeclaredProperties(boolean)
.OntClassImpl.listDisjointWith()
Answer an iterator over all of the classes that this class is declared to be disjoint with.OntPropertyImpl.listDomain()
Answer an iterator over all of the declared domain classes of this property.OntClassImpl.listEquivalentClasses()
Answer an iterator over all of the classes that are declared to be equivalent classes to this class.OntModelImpl.listHierarchyRootClasses()
Answer an iterator over the classes in this ontology model that represent the uppermost nodes of the class hierarchy.OntModelImpl.listNamedClasses()
Answer an iterator that ranges over the named class-descriptions in this model, i.e. resources withrdf:type Class
(or equivalent) and a node URI.ExtendedIterator<? extends OntClass>
BooleanClassDescriptionImpl.listOperands()
Answer an iterator over all of the classes that are the operands of this Boolean class expression.ExtendedIterator<? extends OntClass>
ComplementClassImpl.listOperands()
Answer an iterator over all of the classes that are the operands of this Boolean class expression.OntPropertyImpl.listRange()
Answer an iterator over all of the declared range classes of this property.OntClassImpl.listSubClasses()
Answer an iterator over all of the classes that are declared to be sub-classes of this class.OntClassImpl.listSubClasses
(boolean direct) Answer an iterator over the classes that are declared to be sub-classes of this class.OntClassImpl.listSuperClasses()
Answer an iterator over all of the classes that are declared to be super-classes of this class.OntClassImpl.listSuperClasses
(boolean direct) Answer an iterator over all of the classes that are declared to be super-classes of this class.Modifier and TypeMethodDescriptionOntModelImpl.createCardinalityQRestriction
(String uri, Property prop, int cardinality, OntClass cls) Answer a class description defined as the class of those individuals that have exactly the given number of values for the given property, all values of which belong to the given class.OntModelImpl.createMaxCardinalityQRestriction
(String uri, Property prop, int cardinality, OntClass cls) Answer a class description defined as the class of those individuals that have at most the given number of values for the given property, all values of which belong to the given class.OntModelImpl.createMinCardinalityQRestriction
(String uri, Property prop, int cardinality, OntClass cls) Answer a class description defined as the class of those individuals that have at least the given number of values for the given property, all values of which belong to the given class.boolean
QualifiedRestrictionImpl.hasHasClassQ
(OntClass cls) Answer true if this qualified property restriction has the given class as the class to which all of the property values must belong.void
QualifiedRestrictionImpl.removeHasClassQ
(OntClass cls) Remove the statement that this restriction has the given class as the class to which all values must belong.void
QualifiedRestrictionImpl.setHasClassQ
(OntClass cls) Assert that this qualified restriction restricts the property to have a given cardinality and to have values belonging to the class denoted byhasClassQ
. -
Uses of OntClass in org.apache.jena.vocabulary