Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
gate.util |
Modifier and Type | Interface and Description |
---|---|
interface |
AllValuesFromRestriction
An AllValuesFromRestriction.
|
interface |
AnonymousClass
This class represents the AnonymousClass.
|
interface |
CardinalityRestriction
A CardinalityRestriction
|
interface |
HasValueRestriction
A HasValueRestriction.
|
interface |
MaxCardinalityRestriction
A MaxCardinalityRestriction.
|
interface |
MinCardinalityRestriction
A MinCardinalityRestriction.
|
interface |
Restriction
This interface defines a restriction in the ontology.
|
interface |
SomeValuesFromRestriction
A SomeValuesFromRestriction.
|
Modifier and Type | Method and Description |
---|---|
OClass |
Ontology.addOClass(OURI aURI)
Creates a new OWL Class and adds it the ontology.
|
OClass |
Ontology.addOClass(OURI aURI,
byte classType)
Deprecated.
- use one of the dedicated methods to add a named class
or a restriction instead
|
OClass |
Ontology.getOClass(ONodeID theClassID)
Retrieves a both named classes and anonymous classes and retrictions that
match either the URI or the blank node identifier represented by ONodeID
|
Modifier and Type | Method and Description |
---|---|
Set<OClass> |
OClass.getEquivalentClasses()
Returns a set of all classes that are equivalent as this one.
|
Set<OClass> |
Ontology.getOClasses(boolean top)
Retrieves all ontology classes in a set.
|
Set<OClass> |
OInstance.getOClasses(byte closure)
Deprecated.
|
Set<OClass> |
OInstance.getOClasses(OConstants.Closure closure) |
ClosableIterator<OClass> |
Ontology.getOClassesIterator(boolean top)
Return an iterator to retrieve all ontology classes in the ontology.
|
Set<OClass> |
OClass.getSubClasses(byte closure)
Deprecated.
|
Set<OClass> |
OClass.getSubClasses(OConstants.Closure closure) |
ClosableIterator<OClass> |
OClass.getSubClassesIterator(OConstants.Closure closure) |
ArrayList<Set<OClass>> |
OClass.getSubClassesVsDistance()
Gets the sub classes, and returns them in an array list where on
each index there is a collection of the sub classes at distance -
the index.
|
Set<OClass> |
OClass.getSuperClasses(byte closure)
Deprecated.
|
Set<OClass> |
OClass.getSuperClasses(OConstants.Closure closure) |
ArrayList<Set<OClass>> |
OClass.getSuperClassesVSDistance()
Gets the super classes, and returns them in an array list where on
each index there is a collection of the super classes at distance -
the index.
|
Modifier and Type | Method and Description |
---|---|
AllValuesFromRestriction |
Ontology.addAllValuesFromRestriction(ObjectProperty onProperty,
OClass theClass) |
void |
OInstance.addOClass(OClass theClass)
Make this individual an instance of another class.
|
OInstance |
Ontology.addOInstance(OURI theInstanceURI,
OClass theClass)
Creates a new OInstance and returns it.
|
void |
OClass.addSubClass(OClass subClass)
Adds a sub class to this class.
|
boolean |
Ontology.containsOClass(OClass theClass)
Checks whether the ontology contains this class.
|
int |
Ontology.getDistance(OClass class1,
OClass class2)
Gets the taxonomic distance between 2 classes.
|
Set<OInstance> |
Ontology.getOInstances(OClass theClass,
byte closure)
Deprecated.
|
Set<OInstance> |
Ontology.getOInstances(OClass theClass,
OConstants.Closure closure)
Gets instances in the ontology, which belong to this class.
|
ClosableIterator<OInstance> |
Ontology.getOInstancesIterator(OClass theClass,
OConstants.Closure closure) |
boolean |
OClass.isEquivalentClassAs(OClass aClass)
Checks whether the class is equivalent as the given class.
|
boolean |
OInstance.isInstanceOf(OClass aClass,
byte closure)
Deprecated.
|
boolean |
OInstance.isInstanceOf(OClass aClass,
OConstants.Closure closure) |
boolean |
OClass.isSubClassOf(OClass aClass,
byte closure)
Deprecated.
|
boolean |
OClass.isSubClassOf(OClass aClass,
OConstants.Closure closure) |
boolean |
OClass.isSuperClassOf(OClass aClass,
byte closure)
Checks whether the class is a super class of the given class.
|
boolean |
OClass.isSuperClassOf(OClass aClass,
OConstants.Closure closure) |
void |
Ontology.removeOClass(OClass theClass)
Removes a class from this ontology.
|
void |
OClass.removeSubClass(OClass subClass)
Removes a sub class.
|
void |
OClass.setEquivalentClassAs(OClass theClass)
Indicates that these classes are the equivalent
|
void |
AllValuesFromRestriction.setHasValue(OClass resource)
Sets the value of the the restiction to the specified OClass.
|
Modifier and Type | Method and Description |
---|---|
DatatypeProperty |
Ontology.addDatatypeProperty(OURI aPropertyURI,
Set<OClass> domain,
DataType aDatatype)
Create a DatatypeProperty with the given domain and range.
|
ObjectProperty |
Ontology.addObjectProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new object property (a property that takes instances as
values).
|
ObjectProperty |
Ontology.addObjectProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new object property (a property that takes instances as
values).
|
SymmetricProperty |
Ontology.addSymmetricProperty(OURI aPropertyURI,
Set<OClass> domainAndRange)
Creates a new symmetric property (an object property that is
symmetric).
|
TransitiveProperty |
Ontology.addTransitiveProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new transitive property (an object property that is
transitive).
|
TransitiveProperty |
Ontology.addTransitiveProperty(OURI aPropertyURI,
Set<OClass> domain,
Set<OClass> range)
Creates a new transitive property (an object property that is
transitive).
|
Modifier and Type | Method and Description |
---|---|
protected OClass |
SimpleFeatureMapImpl.getClassForURIOrName(Ontology ontologyLR,
String name)
Look up the given name in the given ontology.
|
Copyright © 2024 GATE. All rights reserved.