Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Method and Description |
---|---|
OInstance |
Ontology.addOInstance(OURI theInstanceURI,
OClass theClass)
Creates a new OInstance and returns it.
|
OInstance |
Ontology.getOInstance(OURI theInstanceURI)
Gets the instance with the given URI.
|
Modifier and Type | Method and Description |
---|---|
Set<OInstance> |
OInstance.getDifferentInstances()
Returns a set of
OInstance objects which are explicitly
specified as being different from the current instance. |
List<OInstance> |
OInstance.getObjectPropertyValues(ObjectProperty aProperty)
Gets a list of values for the given Property (Object, Symmetric and
Transitive).
|
Set<OInstance> |
Ontology.getOInstances()
Gets all instances in the ontology.
|
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() |
ClosableIterator<OInstance> |
Ontology.getOInstancesIterator(OClass theClass,
OConstants.Closure closure) |
Set<OInstance> |
OInstance.getSameInstance()
Returns a set of
OInstance objects which are explicitly
specified as being same as the current instance. |
Modifier and Type | Method and Description |
---|---|
void |
OInstance.addObjectPropertyValue(ObjectProperty aProperty,
OInstance value)
Adds the value for the given property (Object, Symmetric and
Transitive).
|
boolean |
Ontology.containsOInstance(OInstance theInstance)
Checks whether the provided Instance exists in the ontology.
|
boolean |
OInstance.hasObjectPropertyWithValue(ObjectProperty aProperty,
OInstance aValue)
Checks if the resource has the provided object property set on it with the specified value.
|
boolean |
OInstance.isDifferentFrom(OInstance theInstance)
Checks whether the instance is different from the given instance
|
boolean |
OInstance.isSameInstanceAs(OInstance theInstance)
Checks whether the instance is same as the given instance
|
boolean |
ObjectProperty.isValidDomain(OInstance anInstance)
Checks whether the provided instance is compatible with the domain
restrictions on the property.
|
boolean |
DatatypeProperty.isValidDomain(OInstance anInstance)
Checks whether the provided instance is compatible with the domain
restrictions on the property.
|
boolean |
ObjectProperty.isValidRange(OInstance anInstance)
Checks whether the provided instance is compatible with the range
restrictions on the property.
|
void |
OInstance.removeObjectPropertyValue(ObjectProperty aProperty,
OInstance value)
Remove the provided value for the given property (Object, Symmetric
and Transitive).
|
void |
Ontology.removeOInstance(OInstance theInstance)
Removes the instance from the ontology.
|
void |
OInstance.setDifferentFrom(OInstance theInstance)
Sets the instance being different from the provided instance.
|
void |
OInstance.setSameInstanceAs(OInstance theIndividual)
Sets the instance being same as the provided instance.
|
Copyright © 2024 GATE. All rights reserved.