Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Method and Description |
---|---|
AnnotationProperty |
Ontology.addAnnotationProperty(OURI aPropertyURI)
Creates a new AnnotationProperty.
|
AnnotationProperty |
Ontology.getAnnotationProperty(OURI theURI)
Returns the annotation property for the given URI or null if there is
no annotation property with that URI.
|
Modifier and Type | Method and Description |
---|---|
Set<AnnotationProperty> |
Ontology.getAnnotationProperties()
Gets the set of Annotation Properties in the ontology where for a
property there exists a statement <theProperty, RDF:Type,
OWL:AnnotationProperty>.
|
Set<AnnotationProperty> |
OResource.getSetAnnotationProperties()
This method returns the annotation properties set on this resource.
|
Modifier and Type | Method and Description |
---|---|
void |
OResource.addAnnotationPropertyValue(AnnotationProperty theAnnotationProperty,
Literal literal)
Adds a new annotation property value and specifies the language.
|
List<Literal> |
OResource.getAnnotationPropertyValues(AnnotationProperty theAnnotationProperty)
Gets the list of values for a given property name.
|
List<Literal> |
Ontology.getOntologyAnnotationValues(AnnotationProperty ann)
Get the values of an ontology annotation property.
|
boolean |
OResource.hasAnnotationPropertyWithValue(AnnotationProperty aProperty,
Literal aValue)
Checks if the resource has the provided annotation property set on
it with the specified value.
|
void |
OResource.removeAnnotationPropertyValue(AnnotationProperty theAnnotationProperty,
Literal literal)
For the current resource, the method removes the given literal for
the given property.
|
void |
OResource.removeAnnotationPropertyValues(AnnotationProperty theProperty)
Removes all values for a named property.
|
void |
Ontology.setOntologyAnnotation(AnnotationProperty ann,
Literal value)
Set an annotation property for the ontology to the specified literal
value.
|
Copyright © 2024 GATE. All rights reserved.