Uses of Interface
org.apache.jena.ontology.OntClass
Packages that use 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
Subinterfaces of OntClass in org.apache.jena.ontologyModifier and TypeInterfaceDescriptioninterfaceA property restriction that requires the named property to have have any range instances to be members of a given class.interfaceEncapsulates a class description formed from a boolean combination of other class descriptions (ie union, intersection or complement).interfaceInterface representing the ontology abstraction for a qualified cardinality restriction.interfaceA 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.interfaceClass description that is formed from the complement of another class descriptioninterfaceEncapsulates a class description representing a closed enumeration of individuals.interfaceA property restriction that requires the named property to have a given individual as its value.interfaceEncapsulates a class description that is the intersection of a list of class expressions.interfaceInterface representing the ontology abstraction for a qualified maximum cardinality restriction.interfaceA 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.interfaceInterface representing the ontology abstraction for a qualified minimum cardinality restriction.interfaceA 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.interfaceRepresents a qualified restriction, in which all values of the restricted property are required to be members of a given class.interfaceInterface that encapsulates a class description formed by restricting one or more properties to have constrained values and/or cardinalities.interfaceA property restriction that requires the named property to have at least one range instance belonging to the given class.interfaceClass description that is formed from the union of a list of a class descriptions.Methods in org.apache.jena.ontology with type parameters of type OntClassModifier and TypeMethodDescription<T extends OntClass>
ExtendedIterator<T>Individual.listOntClasses(boolean direct) Answer an iterator over the ontology classes to which this individual belongs.Methods in org.apache.jena.ontology that return OntClassModifier and TypeMethodDescriptionOntResource.asClass()Answer a view of this resource as a classOntModel.createClass()Deprecated, for removal: This API element is subject to removal in a future version.Answer a resource that represents an anonymous class description in this model.OntModel.createClass(String uri) Deprecated, for removal: This API element is subject to removal in a future version.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 OntClassAnswer the lowest common ancestor of two classes in a given ontology.static OntClassAnswer 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) Deprecated, for removal: This API element is subject to removal in a future version.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.Methods in org.apache.jena.ontology that return types with arguments of type OntClassModifier and TypeMethodDescriptionOntModel.listClasses()Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Answer an iterator over the classes in this ontology model that represent the uppermost nodes of the class hierarchy.OntModel.listNamedClasses()Deprecated, for removal: This API element is subject to removal in a future version.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.Methods in org.apache.jena.ontology with parameters of type OntClassModifier and TypeMethodDescriptionOntModel.createCardinalityQRestriction(String uri, Property prop, int cardinality, OntClass cls) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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 OntClassAnswer the lowest common ancestor of two classes in a given ontology.static OntClassAnswer the lowest common ancestor of two classes, assuming that the given class is the root concept to start searching from.booleanQualifiedRestriction.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.voidQualifiedRestriction.removeHasClassQ(OntClass cls) Remove the statement that this restriction has the given class as the class to which all values must belong.voidQualifiedRestriction.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
Classes in org.apache.jena.ontology.impl that implement OntClassModifier and TypeClassDescriptionclassImplementation of the allValuesFrom restriction abstraction.classShared implementation for implementations of Boolean clas expressions.classImplementation of the exact qualified cardinality restrictionclassImplementation of the cardinality restriction abstraction.classImplementation of a node representing a complement class description.classImplementation of a node representing an enumerated class description.classImplementation of the hasValue restriction abstraction.classImplementation of a node representing an intersection class description.classImplementation of the max qualified cardinality restrictionclassImplementation of the max cardinality restriction abstraction.classImplementation of the min qualified cardinality restrictionclassImplementation of the min cardinality restriction abstraction.classImplementation of the ontology abstraction representing ontology classes.classImplementation of qualied restrictions.classImplementation of the ontology abstraction representing restrictions.classImplementation of the someValuesFrom restriction abstraction.classImplementation of a node representing a union class description.Methods in org.apache.jena.ontology.impl with type parameters of type OntClassModifier and TypeMethodDescription<T extends OntClass>
ExtendedIterator<T>IndividualImpl.listOntClasses(boolean direct) Answer an iterator over the ontology classes to which this individual belongs.Methods in org.apache.jena.ontology.impl that return OntClassModifier 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.Methods in org.apache.jena.ontology.impl that return types with arguments of type OntClassModifier 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.Methods in org.apache.jena.ontology.impl with parameters of type OntClassModifier 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.booleanQualifiedRestrictionImpl.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.voidQualifiedRestrictionImpl.removeHasClassQ(OntClass cls) Remove the statement that this restriction has the given class as the class to which all values must belong.voidQualifiedRestrictionImpl.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
Fields in org.apache.jena.vocabulary declared as OntClass