Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Class and Description |
---|---|
class |
URI
Deprecated.
Use OURI objects and the
Ontology factory methods
for creating them instead. |
Modifier and Type | Method and Description |
---|---|
OURI |
Ontology.createOURI(String theURI)
Create an ORUI object from the given URI string.
|
OURI |
Ontology.createOURIForName(String resourceName)
Create an OURI from the given resource name, using the ontology base URI
(default name space).
|
OURI |
Ontology.generateOURI(String resourceNamePrefix)
Generate a new unique OURI for this ontology.
|
OURI |
Ontology.generateOURI(String resourceNamePrefix,
String baseURI)
Generate a new unique OURI for this ontology.
|
OURI |
Ontology.getOntologyURI()
Get the URI of this ontology.
|
OURI |
OInstance.getOURI() |
OURI |
RDFProperty.getOURI()
Get the URI of the property.
|
OURI |
Triple.getPredicate() |
OURI |
DataType.getXmlSchemaURI()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AnnotationProperty |
Ontology.addAnnotationProperty(OURI aPropertyURI)
Creates a new AnnotationProperty.
|
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).
|
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
|
OInstance |
Ontology.addOInstance(OURI theInstanceURI,
OClass theClass)
Creates a new OInstance and returns it.
|
RDFProperty |
Ontology.addRDFProperty(OURI aPropertyURI,
Set<OResource> domain,
Set<OResource> range)
Deprecated.
|
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).
|
void |
OntologyTripleStore.addTriple(ONodeID subject,
OURI predicate,
Literal object)
Add a triple with a literal triple object to the triple store.
|
void |
OntologyTripleStore.addTriple(ONodeID subject,
OURI predicate,
ONodeID object)
Add a triple with a non-literal triple object to the triple store.
|
boolean |
Ontology.containsOInstance(OURI theInstanceURI)
Checks whether the provided URI refers to an Instance that exists
in the ontology.
|
AnnotationProperty |
Ontology.getAnnotationProperty(OURI theURI)
Returns the annotation property for the given URI or null if there is
no annotation property with that URI.
|
DatatypeProperty |
Ontology.getDatatypeProperty(OURI theURI)
Returns the datatype property for the given URI or null if there is
no datatype property with that URI.
|
ObjectProperty |
Ontology.getObjectProperty(OURI theURI)
Returns the object property for the given URI or null if there is
no object property with that URI.
|
OInstance |
Ontology.getOInstance(OURI theInstanceURI)
Gets the instance with the given URI.
|
RDFProperty |
Ontology.getProperty(OURI thePropertyURI)
Returns the property for a given URI or null if there is no property
with that URI.
|
boolean |
OntologyTripleStore.hasTriple(ONodeID subject,
OURI predicate,
Literal object)
Check if a given triple with a literal object is part of the ontology.
|
boolean |
OntologyTripleStore.hasTriple(ONodeID subject,
OURI predicate,
ONodeID object)
Check if a given triple with an URI object is part of the ontology.
|
boolean |
Ontology.isAnnotationProperty(OURI thePropertyURI)
Checkes whether there exists a statement <thePropertyURI, RDF:Type,
OWL:AnnotationProperty> in the ontology or not.
|
boolean |
Ontology.isDatatypeProperty(OURI thePropertyURI)
Checkes whether the ontology contains a datatype property with the
given URI.
|
boolean |
Ontology.isObjectProperty(OURI thePropertyURI)
Checks if there exists an object property with the given URI
|
boolean |
Ontology.isRDFProperty(OURI thePropertyURI)
Checkes whether there exists a statement <thePropertyURI, RDF:Type,
RDF:Property> in the ontology or not.
|
boolean |
Ontology.isSymmetricProperty(OURI thePropertyURI)
Checkes whether there exists a statement <thePropertyURI, RDF:Type,
OWL:SymmetricProperty> in the ontology or not.
|
boolean |
Ontology.isTransitiveProperty(OURI thePropertyURI)
Checkes whether there exists a statement <thePropertyURI, RDF:Type,
OWL:TransitiveProperty> in the ontology or not.
|
void |
OntologyTripleStore.removeTriple(ONodeID subject,
OURI predicate,
Literal object)
Remove a statement(triple) with a literal triple object from the ontology triple
store.
|
void |
OntologyTripleStore.removeTriple(ONodeID subject,
OURI predicate,
ONodeID object)
Remove a statement(triple) with a non-literal triple object
from the ontology triple
store.
|
void |
Ontology.setOntologyURI(OURI theURI)
Set the ontology URI of the current ontology.
|
void |
OntologyTripleStoreListener.tripleAdded(ONodeID subject,
OURI predicate,
Literal object) |
void |
OntologyTripleStoreListener.tripleAdded(ONodeID subject,
OURI predicate,
ONodeID object) |
void |
OntologyTripleStoreListener.tripleRemoved(ONodeID subject,
OURI predicate,
Literal object) |
void |
OntologyTripleStoreListener.tripleRemoved(ONodeID subject,
OURI predicate,
ONodeID object) |
Constructor and Description |
---|
DataType(OURI xmlSchemaURI)
Constructor
|
Copyright © 2024 GATE. All rights reserved.