Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationProperty
An Annotation property.
|
interface |
DatatypeProperty
Interface for datatype properties.
|
interface |
ObjectProperty
ObjectProperty is a sub type of the RDFProperty.
|
interface |
SymmetricProperty
Every SymmetricProperty is ObjectProperty.
|
interface |
TransitiveProperty
Interface for transitive properties.
|
Modifier and Type | Method and Description |
---|---|
RDFProperty |
Ontology.addRDFProperty(OURI aPropertyURI,
Set<OResource> domain,
Set<OResource> range)
Deprecated.
|
RDFProperty |
Restriction.getOnPropertyValue()
Return the property on which the restriction is specified
|
RDFProperty |
Ontology.getProperty(OURI thePropertyURI)
Returns the property for a given URI or null if there is no property
with that URI.
|
Modifier and Type | Method and Description |
---|---|
Set<RDFProperty> |
OResource.getAllSetProperties()
This method returns all the set properties set on this resource.
|
Set<RDFProperty> |
RDFProperty.getEquivalentPropertyAs()
Returns a set of all RDFProperty instances that are in
EquivalentPropertyAs relation with this property.
|
Set<RDFProperty> |
OResource.getPropertiesWithResourceAsDomain()
This method returns a set of all properties where the current
resource has been specified as one of the domain resources.
|
Set<RDFProperty> |
OResource.getPropertiesWithResourceAsRange()
This method returns a set of all properties where the current
resource has been specified as one of the range resources.
|
Set<RDFProperty> |
Ontology.getPropertyDefinitions()
Gets the set of RDF, Object, Datatype, Symmetric and Transitive
property definitions in this ontology.
|
Set<RDFProperty> |
Ontology.getRDFProperties()
Gets the set of RDF Properties in the ontology where for a property
there exists a statement @lt;theProperty, RDF:Type, RDF:Property>.
|
Set<RDFProperty> |
OInstance.getSetRDFProperties()
This method returns the RDF properties set on this resource.
|
Set<RDFProperty> |
RDFProperty.getSubProperties(byte closure)
Deprecated.
|
Set<RDFProperty> |
RDFProperty.getSubProperties(OConstants.Closure closure)
Gets the set of sub-properties for this property.
|
Set<RDFProperty> |
RDFProperty.getSuperProperties(byte closure)
Deprecated.
|
Set<RDFProperty> |
RDFProperty.getSuperProperties(OConstants.Closure closure)
Gets the set of super-properties for this property.
|
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. |
CardinalityRestriction |
Ontology.addCardinalityRestriction(RDFProperty onProperty,
String cardinalityValue)
Adds a new Cardinality Restriction to the ontology.
|
HasValueRestriction |
Ontology.addHasValueRestriction(RDFProperty onProperty,
OResource hasValue)
Adds a new HasValue Restriction to the ontology.
|
MaxCardinalityRestriction |
Ontology.addMaxCardinalityRestriction(RDFProperty onProperty,
String maxCardinalityValue)
Adds a new MaxCardinality Restriction to the ontology.
|
MinCardinalityRestriction |
Ontology.addMinCardinalityRestriction(RDFProperty onProperty,
String minCardinalityValue)
Adds a new MinCardinality Restriction to the ontology.
|
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 |
RDFProperty.addSubProperty(RDFProperty property)
Add a SuperPropertyOf relation between the given property and this.
|
void |
Ontology.fireResourcePropertyValueChanged(OResource resource,
RDFProperty property,
Object value,
int eventType)
A method to invoke when a resource's property value is changed
|
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.
|
List<OValue> |
OInstance.getRDFPropertyOValues(RDFProperty aProperty) |
List<OResource> |
OInstance.getRDFPropertyValues(RDFProperty aProperty)
Deprecated.
|
boolean |
OInstance.hasRDFPropertyWithValue(RDFProperty aProperty,
OResource aResource)
Deprecated.
|
boolean |
RDFProperty.isEquivalentPropertyAs(RDFProperty theProperty)
Checks whether the property is Equivalent as the one provide.
|
boolean |
RDFProperty.isSubPropertyOf(RDFProperty theProperty,
byte closure)
Deprecated.
|
boolean |
RDFProperty.isSubPropertyOf(RDFProperty theProperty,
OConstants.Closure closure) |
boolean |
RDFProperty.isSuperPropertyOf(RDFProperty theProperty,
byte closure)
Deprecated.
|
boolean |
RDFProperty.isSuperPropertyOf(RDFProperty theProperty,
OConstants.Closure closure) |
void |
Ontology.removeProperty(RDFProperty theProperty)
A method to remove the existing propertyDefinition (exclusive of
Annotation Property).
|
void |
OInstance.removeRDFPropertyValue(RDFProperty aProperty,
OResource value)
Deprecated.
|
void |
OInstance.removeRDFPropertyValues(RDFProperty aProperty)
Deprecated.
|
void |
RDFProperty.removeSubProperty(RDFProperty property)
Removes a SuperPropertyOf relation between the given property and
this.
|
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 |
RDFProperty.setEquivalentPropertyAs(RDFProperty theProperty)
Add an equivalentPropertyAs relation between the two properties.
|
void |
Restriction.setOnPropertyValue(RDFProperty property)
Sets the property on which the restriction is specified
|
Copyright © 2024 GATE. All rights reserved.