Package | Description |
---|---|
org.apache.jena.ontology |
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
|
org.apache.jena.ontology.impl |
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology package. |
Modifier and Type | Interface and Description |
---|---|
interface |
AllValuesFromRestriction
A property restriction that requires the named property to have have any range
instances to be members of a given class.
|
interface |
CardinalityQRestriction
Interface representing the ontology abstraction for a qualified cardinality
restriction.
|
interface |
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.
|
interface |
HasValueRestriction
A property restriction that requires the named property to have a given individual as
its value.
|
interface |
MaxCardinalityQRestriction
Interface representing the ontology abstraction for a qualified maximum cardinality
restriction.
|
interface |
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.
|
interface |
MinCardinalityQRestriction
Interface representing the ontology abstraction for a qualified minimum cardinality
restriction.
|
interface |
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.
|
interface |
QualifiedRestriction
Represents a qualified restriction, in which all values of the restricted property
are required to be members of a given class.
|
interface |
SomeValuesFromRestriction
A property restriction that requires the named property to have at least one
range instance belonging to the given class.
|
Modifier and Type | Method and Description |
---|---|
Restriction |
OntClass.asRestriction()
Answer a view of this class as a restriction class expression
|
Restriction |
OntClass.convertToRestriction(Property prop)
Answer a view of this class as an restriction on the given property.
|
Restriction |
OntModel.createRestriction(Property p)
Answer a resource that represents an anonymous property restriction in this model.
|
Restriction |
OntModel.createRestriction(String uri,
Property p)
Answer a resource that represents a property restriction in this model.
|
Restriction |
OntModel.getRestriction(String uri)
Answer a resource that represents a property restriction in this model.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Restriction> |
OntProperty.listReferringRestrictions()
Answer an iterator over any restrictions that mention this property as
the property that the restriction is adding some constraint to.
|
ExtendedIterator<Restriction> |
OntModel.listRestrictions()
Answer an iterator that ranges over the property restriction class-descriptions
in this model, i.e. resources with
rdf:type
Restriction (or equivalent). |
Modifier and Type | Class and Description |
---|---|
class |
AllValuesFromRestrictionImpl
Implementation of the allValuesFrom restriction abstraction.
|
class |
CardinalityQRestrictionImpl
Implementation of the exact qualified cardinality restriction
|
class |
CardinalityRestrictionImpl
Implementation of the cardinality restriction abstraction.
|
class |
HasValueRestrictionImpl
Implementation of the hasValue restriction abstraction.
|
class |
MaxCardinalityQRestrictionImpl
Implementation of the max qualified cardinality restriction
|
class |
MaxCardinalityRestrictionImpl
Implementation of the max cardinality restriction abstraction.
|
class |
MinCardinalityQRestrictionImpl
Implementation of the min qualified cardinality restriction
|
class |
MinCardinalityRestrictionImpl
Implementation of the min cardinality restriction abstraction.
|
class |
QualifiedRestrictionImpl
Implementation of qualied restrictions.
|
class |
RestrictionImpl
Implementation of the ontology abstraction representing restrictions.
|
class |
SomeValuesFromRestrictionImpl
Implementation of the someValuesFrom restriction abstraction.
|
Modifier and Type | Method and Description |
---|---|
Restriction |
OntClassImpl.asRestriction()
Answer a view of this class as a restriction class expression
|
Restriction |
OntClassImpl.convertToRestriction(Property prop)
Answer a view of this class as an resriction on the given property.
|
Restriction |
OntModelImpl.createRestriction(Property p)
Answer a resource that represents an anonymous property restriction in this model.
|
Restriction |
OntModelImpl.createRestriction(String uri,
Property p)
Answer a resource that represents a property restriction in this model.
|
Restriction |
OntModelImpl.getRestriction(String uri)
Answer a resource that represents a property restriction in this model.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Restriction> |
OntPropertyImpl.listReferringRestrictions()
Answer an iterator over any restrictions that mention this property as
the property that the restriction is adding some constraint to.
|
ExtendedIterator<Restriction> |
OntModelImpl.listRestrictions()
Answer an iterator that ranges over the property restriction class-descriptions
in this model, i.e. resources with
rdf:type
Restriction (or equivalent). |
Licenced under the Apache License, Version 2.0