|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SWRLRuleEngine
This interface defines the methods that must be provided by a SWRL rule engine.
Method Summary | |
---|---|
Set<OWLAxiom> |
getInferredAxioms()
|
Set<OWLIndividual> |
getInferredIndividuals()
|
int |
getNumberOfInferredAxioms()
|
int |
getNumberOfInferredIndividuals()
|
SWRLRule |
getRule(String ruleName)
|
void |
importSWRLRulesAndOWLKnowledge()
Load rules and knowledge from OWL into bridge. |
void |
importSWRLRulesAndOWLKnowledge(Set<String> ruleGroupNames)
|
void |
importSWRLRulesAndOWLKnowledge(String ruleGroupName)
|
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 |
infer(Set<String> ruleGroupNames)
|
void |
infer(String ruleGroupName)
|
void |
reset()
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 |
writeInferredKnowledge2OWL()
Write knowledge inferred by rule engine back to OWL. |
Method Detail |
---|
void infer() throws SWRLRuleEngineException
SWRLRuleEngineException
void infer(String ruleGroupName) throws SWRLRuleEngineException
SWRLRuleEngineException
void infer(Set<String> ruleGroupNames) 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 writeInferredKnowledge2OWL() throws SWRLRuleEngineException
SWRLRuleEngineException
void reset() throws SWRLRuleEngineException
SWRLRuleEngineException
SWRLRule getRule(String ruleName) throws InvalidRuleNameException
InvalidRuleNameException
int getNumberOfInferredIndividuals()
int getNumberOfInferredAxioms()
Set<OWLIndividual> getInferredIndividuals()
Set<OWLAxiom> getInferredAxioms()
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |