Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OBNodeID
An object representing an ontology node ID.
|
interface |
OURI
Interface for objects representing an URI.
|
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 |
---|---|
ONodeID |
OResource.getONodeID() |
ONodeID |
LiteralOrONodeID.getONodeID()
Get the
ONodeID object if this object represents a node ID. |
ONodeID |
Triple.getSubject() |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
ONodeID.compareTo(ONodeID other) |
int |
URI.compareTo(ONodeID other)
Deprecated.
|
boolean |
Ontology.containsOClass(ONodeID theURI)
Checks whether a class with the specified URI or blank node ID
exists in the ontology.
|
OClass |
Ontology.getOClass(ONodeID theClassID)
Retrieves a both named classes and anonymous classes and retrictions that
match either the URI or the blank node identifier represented by ONodeID
|
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.
|
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 |
OntologyBooleanQuery.setBinding(String varName,
ONodeID value)
Re-assign a query variable to a new value.
|
void |
OntologyTupleQuery.setBinding(String varName,
ONodeID value)
Set the binding of a query variable to a new value.
|
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) |
Copyright © 2024 GATE. All rights reserved.