|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntologyBooleanQuery
This represents a boolean query of the triple store for the ontology.
To create a boolean query object you must use the ontology's factory
method Ontology.createBooleanQuery(String, gate.creole.ontology.OConstants.QueryLanguage)
.
NOTE: querying the ontology triple store directly should be avoided and only done in exceptional cases. Using the methods to query and access ontology entities should be preferred whenever possible!
Method Summary | |
---|---|
boolean |
evaluate()
Evaluate the boolean query and return whether it evaluates to true or false; |
void |
setBinding(String varName,
LiteralOrONodeID value)
Re-assign a query variable to a new value. |
Method Detail |
---|
void setBinding(String varName, LiteralOrONodeID value)
varName
- - the name of the variable to be reassignedvalue
- - a LiteralOrONodeID object representing either a literal or
either an URI or a blank node identifier.boolean evaluate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |