Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AllValuesFromRestriction
An AllValuesFromRestriction.
|
interface |
AnnotationProperty
An Annotation property.
|
interface |
AnonymousClass
This class represents the AnonymousClass.
|
interface |
CardinalityRestriction
A CardinalityRestriction
|
interface |
DatatypeProperty
Interface for datatype properties.
|
interface |
HasValueRestriction
A HasValueRestriction.
|
interface |
MaxCardinalityRestriction
A MaxCardinalityRestriction.
|
interface |
MinCardinalityRestriction
A MinCardinalityRestriction.
|
interface |
ObjectProperty
ObjectProperty is a sub type of the RDFProperty.
|
interface |
OClass
Each OClass (Ontology Class) represents a concept/class in ontology.
|
interface |
OInstance
OInstance (Ontology Instance) represents an instance in the
ontology/knowledge base.
|
interface |
RDFProperty
RDFProperty is the top level property.
|
interface |
Restriction
This interface defines a restriction in the ontology.
|
interface |
SomeValuesFromRestriction
A SomeValuesFromRestriction.
|
interface |
SymmetricProperty
Every SymmetricProperty is ObjectProperty.
|
interface |
TransitiveProperty
Interface for transitive properties.
|
Modifier and Type | Method and Description |
---|---|
OResource |
AllValuesFromRestriction.getHasValue()
Returns the resource which is set as a restricted value.
|
OResource |
SomeValuesFromRestriction.getHasValue()
Returns the resource which is set as a value
|
OResource |
OValue.getOResource()
Get the
OResource object if this object represents a resource. |
OResource |
Ontology.getOResourceByName(String resourceName)
Deprecated.
|
OResource |
Ontology.getOResourceFromMap(String uri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<OResource> |
Ontology.getAllResources()
Deprecated.
|
Set<OResource> |
ObjectProperty.getDomain()
Returns the set of domain restrictions for this property.
|
Set<OResource> |
RDFProperty.getDomain()
Deprecated.
|
Set<OResource> |
DatatypeProperty.getDomain()
Returns the set of domain restrictions for this property.
|
List<OResource> |
Ontology.getOResourcesByName(String resourceName)
This method checks in its cache to find out the OResources for the
given resource name.
|
List<OResource> |
Ontology.getOResourcesWith(RDFProperty aProperty,
Literal aValue)
This method given a property (either an annotation or datatype),
retrieves a list of resources which have the provided literal set
as a value.
|
List<OResource> |
Ontology.getOResourcesWith(RDFProperty aProperty,
OResource aValue)
This method given a property (either object, transitive, symmetric
or rdf), retrieves a list of resources which have the provided
resource set as a value.
|
Set<OResource> |
ObjectProperty.getRange()
Gets the set of range restrictions for this property.
|
Set<OResource> |
RDFProperty.getRange()
Deprecated.
|
List<OResource> |
OInstance.getRDFPropertyValues(RDFProperty aProperty)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AllValuesFromRestriction |
Ontology.addAllValuesFromRestriction(RDFProperty onProperty,
OResource hasValue)
Deprecated.
- this method is deprecated and kept for backwards compatibility
as long as the OntologyOWLIM2 plugin is kept. Use the method
Ontology.addAllValuesFromRestriction(ObjectProperty, OClass) instead. |
HasValueRestriction |
Ontology.addHasValueRestriction(RDFProperty onProperty,
OResource hasValue)
Adds a new HasValue Restriction to the ontology.
|
void |
Ontology.addOResourceToMap(String uri,
OResource resource)
Deprecated.
|
void |
OInstance.addRDFPropertyValue(RDFProperty aProperty,
OResource value)
Deprecated.
this throws an exception in the new implementation
|
SomeValuesFromRestriction |
Ontology.addSomeValuesFromRestriction(RDFProperty onProperty,
OResource hasValue)
Adds a new AllValuesFrom Restriction to the ontology.
|
void |
Ontology.fireOntologyResourceAdded(OResource resource)
A Method to invoke an event for newly added ontology resource
|
void |
Ontology.fireResourcePropertyValueChanged(OResource resource,
RDFProperty property,
Object value,
int eventType)
A method to invoke when a resource's property value is changed
|
void |
Ontology.fireResourceRelationChanged(OResource resource1,
OResource resource2,
int eventType)
A method to invoke when a resource's property value is changed
|
List<OResource> |
Ontology.getOResourcesWith(RDFProperty aProperty,
OResource aValue)
This method given a property (either object, transitive, symmetric
or rdf), retrieves a list of resources which have the provided
resource set as a value.
|
boolean |
OInstance.hasRDFPropertyWithValue(RDFProperty aProperty,
OResource aResource)
Deprecated.
|
boolean |
RDFProperty.isValidDomain(OResource aResource)
Deprecated.
|
boolean |
RDFProperty.isValidRange(OResource aResource)
Deprecated.
|
void |
OInstance.removeRDFPropertyValue(RDFProperty aProperty,
OResource value)
Deprecated.
|
void |
OntologyModificationListener.resourceAdded(Ontology ontology,
OResource resource)
This method is invoked whenever a resource
(class/property/instance) is added to the ontology.
|
void |
OntologyModificationListener.resourcePropertyValueChanged(Ontology ontology,
OResource resource,
RDFProperty property,
Object value,
int eventType)
This method should be invoked when a property value is added or removed (specified by the event type).
|
void |
OntologyModificationListener.resourceRelationChanged(Ontology ontology,
OResource resource1,
OResource resource2,
int eventType)
This method is invoked whenever a relation between two objects of the same class (e.g.
|
void |
AllValuesFromRestriction.setHasValue(OResource resource)
Deprecated.
- use
AllValuesFromRestriction.setHasValue(OClass) instead |
void |
HasValueRestriction.setHasValue(OResource resource)
Sets the resource as a restricted value.
|
void |
SomeValuesFromRestriction.setHasValue(OResource resource)
Sets the resource as a restricted value.
|
Modifier and Type | Method and Description |
---|---|
RDFProperty |
Ontology.addRDFProperty(OURI aPropertyURI,
Set<OResource> domain,
Set<OResource> range)
Deprecated.
|
RDFProperty |
Ontology.addRDFProperty(OURI aPropertyURI,
Set<OResource> domain,
Set<OResource> range)
Deprecated.
|
Copyright © 2024 GATE. All rights reserved.