|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SWRLRuleEngine
This inferface defines the methods that must be provided by a SWRL rule engine.
Method Summary | |
---|---|
void |
exportOWLKnowledge()
Send knowledge (excluding SWRL rules) stored in bridge to a rule engine. |
void |
exportSWRLRulesAndOWLKnowledge()
Send rules and knowledge stored in bridge to a rule engine. |
Result |
getQueryResult(String ruleName)
Get the results from a rule containing query built-ins. |
void |
importSWRLRulesAndOWLKnowledge()
Load rules and knowledge from OWL into bridge. |
void |
importSWRLRulesAndOWLKnowledge(Set<String> ruleGroupNames)
Load rules from all the named rule groups and associated knowledge from OWL into bridge. |
void |
importSWRLRulesAndOWLKnowledge(String ruleGroupName)
Load rules from a particular rule group and associated knowledge from OWL into bridge. |
void |
infer()
Load rules and knowledge from OWL into bridge, send them to a rule engine, run the rule engine, and write any inferred knowledge back to OWL. |
void |
resetRuleEngine()
Clear all knowledge from rule engine, deleted asserted knowledge from the bridge, and leave imported bridge knowledge intact. |
void |
run()
Run the rule engine. |
void |
writeAssertedIndividualsAndProperties2OWL()
Write knowledge inferred by rule engine back to OWL. |
Method Detail |
---|
void infer() throws SWRLRuleEngineException
SWRLRuleEngineException
void importSWRLRulesAndOWLKnowledge() throws SWRLRuleEngineException
SWRLRuleEngineException
void importSWRLRulesAndOWLKnowledge(String ruleGroupName) throws SWRLRuleEngineException
SWRLRuleEngineException
void importSWRLRulesAndOWLKnowledge(Set<String> ruleGroupNames) throws SWRLRuleEngineException
SWRLRuleEngineException
void run() throws SWRLRuleEngineException
SWRLRuleEngineException
void exportSWRLRulesAndOWLKnowledge() throws SWRLRuleEngineException
SWRLRuleEngineException
void exportOWLKnowledge() throws SWRLRuleEngineException
SWRLRuleEngineException
void writeAssertedIndividualsAndProperties2OWL() throws SWRLRuleEngineException
SWRLRuleEngineException
void resetRuleEngine() throws SWRLRuleEngineException
SWRLRuleEngineException
Result getQueryResult(String ruleName) throws ResultException
ResultException
|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |