Package | Description |
---|---|
com.hp.hpl.jena.ontology |
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
|
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 |
---|---|
com.hp.hpl.jena.util.iterator.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.
|
com.hp.hpl.jena.util.iterator.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). |
Licenced under the Apache License, Version 2.0