|
|||||||||
| Home >> All >> com >> hp >> hpl >> jena >> reasoner >> rulesys >> impl >> [ oldCode overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.hp.hpl.jena.reasoner.rulesys.impl.oldCode
Class OWLRuleReasoner

java.lang.Objectcom.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleReasoner
com.hp.hpl.jena.reasoner.rulesys.impl.oldCode.OWLRuleReasoner
- All Implemented Interfaces:
- com.hp.hpl.jena.reasoner.Reasoner
Deprecated. Obsoleted post jena2.0, replaced by com.hp.hpl.jena.reasoner.rulesys.OWLFBRuleReasoner. An pure forward chaining implementation of the experimental OWL closure rules based upon the basic forward rule interpreter. This is not a serious or usable OWL implementation, it is a tool for developing the rules.
TODO: Replace intersection-translation step by rule based alternative (or failing that figure out what should be done at the bindSchema stage).
- public class OWLRuleReasoner
- extends com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleReasoner
- Version:
- $Revision: 1.6 $ on $Date: 2005/04/08 16:37:52 $
| Field Summary | |
protected static org.apache.commons.logging.Log |
logger
Deprecated. |
protected static long |
nRulesFired
Deprecated. Performance statistics - the total number of rule firings used during data bind operations so far. |
protected static java.lang.String |
RULE_FILE
Deprecated. The location of the OWL rule definitions on the class path |
protected static java.util.List |
ruleSet
Deprecated. The parsed rules |
protected static long |
timeCost
Deprecated. Performance statistics - the total elapsed time spent during data bind operations so far, in ms. |
| Fields inherited from class com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleReasoner |
capabilities, factory, recordDerivations, rules, schemaGraph, traceOn |
| Constructor Summary | |
|
OWLRuleReasoner()
Deprecated. Constructor |
private |
OWLRuleReasoner(java.util.List rules,
com.hp.hpl.jena.reasoner.InfGraph schemaGraph)
Deprecated. Internal constructor, used to generated a partial binding of a schema to a rule reasoner instance. |
| Method Summary | |
com.hp.hpl.jena.reasoner.InfGraph |
bind(com.hp.hpl.jena.graph.Graph data)
Deprecated. Attach the reasoner to a set of RDF data to process. |
com.hp.hpl.jena.reasoner.Reasoner |
bindSchema(com.hp.hpl.jena.graph.Graph tbox)
Deprecated. Precompute the implications of a schema graph. |
static java.util.List |
loadRules()
Deprecated. Return the RDFS rule set, loading it in if necessary |
static void |
printStats()
Deprecated. Print (to the default logging channel at Info level) a summary of the total number of rules fired and the time taken by the reasoner instances created thus far. |
private void |
translateIntersectionList(com.hp.hpl.jena.graph.Node node,
com.hp.hpl.jena.graph.Graph data,
java.util.List elements)
Deprecated. Translation code to translate a list of intersection elements into a Java list of corresponding class names or restriction functors. |
private void |
translateIntersectionOf(com.hp.hpl.jena.graph.Triple decl,
java.util.List rules,
com.hp.hpl.jena.graph.Graph data)
Deprecated. Translation code to compile intersectionOf declarations. |
| Methods inherited from class com.hp.hpl.jena.reasoner.rulesys.BasicForwardRuleReasoner |
addDescription, bindSchema, getGraphCapabilities, getReasonerCapabilities, getRules, setDerivationLogging, setParameter, setTraceOn, supportsProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
RULE_FILE
protected static final java.lang.String RULE_FILE
- Deprecated.
- The location of the OWL rule definitions on the class path
- See Also:
- Constant Field Values
- The location of the OWL rule definitions on the class path
ruleSet
protected static java.util.List ruleSet
- Deprecated.
- The parsed rules
- The parsed rules
logger
protected static org.apache.commons.logging.Log logger
- Deprecated.
nRulesFired
protected static long nRulesFired
- Deprecated.
- Performance statistics - the total number of rule firings used during data bind operations so far.
- Performance statistics - the total number of rule firings used during data bind operations so far.
timeCost
protected static long timeCost
- Deprecated.
- Performance statistics - the total elapsed time spent during data bind operations so far, in ms.
- Performance statistics - the total elapsed time spent during data bind operations so far, in ms.
| Constructor Detail |
OWLRuleReasoner
public OWLRuleReasoner()
- Deprecated.
- Constructor
- Constructor
OWLRuleReasoner
private OWLRuleReasoner(java.util.List rules, com.hp.hpl.jena.reasoner.InfGraph schemaGraph)
- Deprecated.
- Internal constructor, used to generated a partial binding of a schema to a rule reasoner instance.
- Internal constructor, used to generated a partial binding of a schema to a rule reasoner instance.
| Method Detail |
loadRules
public static java.util.List loadRules()
- Deprecated.
- Return the RDFS rule set, loading it in if necessary
- Return the RDFS rule set, loading it in if necessary
bindSchema
public com.hp.hpl.jena.reasoner.Reasoner bindSchema(com.hp.hpl.jena.graph.Graph tbox) throws com.hp.hpl.jena.reasoner.ReasonerException
- Deprecated.
- Precompute the implications of a schema graph. The practical benefit of this has not yet been fully checked out.
- Precompute the implications of a schema graph. The practical benefit of this has not yet been fully checked out.
bind
public com.hp.hpl.jena.reasoner.InfGraph bind(com.hp.hpl.jena.graph.Graph data) throws com.hp.hpl.jena.reasoner.ReasonerException
- Deprecated.
- Attach the reasoner to a set of RDF data to process. The reasoner may already have been bound to specific rules or ontology axioms (encoded in RDF) through earlier bindRuleset calls.
- Attach the reasoner to a set of RDF data to process. The reasoner may already have been bound to specific rules or ontology axioms (encoded in RDF) through earlier bindRuleset calls.
printStats
public static void printStats()
- Deprecated.
- Print (to the default logging channel at Info level) a summary of the total number of rules fired and the time taken by the reasoner instances created thus far.
- Print (to the default logging channel at Info level) a summary of the total number of rules fired and the time taken by the reasoner instances created thus far.
translateIntersectionOf
private void translateIntersectionOf(com.hp.hpl.jena.graph.Triple decl, java.util.List rules, com.hp.hpl.jena.graph.Graph data)
- Deprecated.
- Translation code to compile intersectionOf declarations. In the future this will be replaced by a rule-baesd translator which will cope with dynamic expressions.
- Translation code to compile intersectionOf declarations. In the future this will be replaced by a rule-baesd translator which will cope with dynamic expressions.
translateIntersectionList
private void translateIntersectionList(com.hp.hpl.jena.graph.Node node, com.hp.hpl.jena.graph.Graph data, java.util.List elements)
- Deprecated.
- Translation code to translate a list of intersection elements into a Java list of corresponding class names or restriction functors.
- Translation code to translate a list of intersection elements into a Java list of corresponding class names or restriction functors.
|
|||||||||
| Home >> All >> com >> hp >> hpl >> jena >> reasoner >> rulesys >> impl >> [ oldCode overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC