com.hp.hpl.jena.reasoner.rulesys
Class RDFSForwardRuleReasoner
java.lang.Object
com.hp.hpl.jena.reasoner.rulesys.FBRuleReasoner
com.hp.hpl.jena.reasoner.rulesys.GenericRuleReasoner
com.hp.hpl.jena.reasoner.rulesys.RDFSForwardRuleReasoner
- All Implemented Interfaces:
- Reasoner, RuleReasoner
public class RDFSForwardRuleReasoner
- extends GenericRuleReasoner
A pure forward chaining implementation of the RDFS closure rules
based upon the basic forward rule interpreter. The normal mixed
forward/backward implementation is generally preferred but this has
two possible uses. First, it is a test and demonstration of the forward
chainer. Second, if you want all the RDFS entailments for an entire
dataset the forward chainer will be more efficient.
- Version:
- $Revision: 1.1 $ on $Date: 2009/06/29 08:55:38 $
- Author:
- Dave Reynolds
Field Summary |
static java.lang.String |
RULE_FILE
The location of the OWL rule definitions on the class path |
Method Summary |
Capabilities |
getGraphCapabilities()
Return the Jena Graph Capabilties that the inference graphs generated
by this reasoner are expected to conform to. |
static java.util.List<Rule> |
loadRules()
Return the RDFS rule set, loading it in if necessary |
Methods inherited from class com.hp.hpl.jena.reasoner.rulesys.FBRuleReasoner |
addDescription, addRules, bindSchema, getBoundSchema, getReasonerCapabilities, getRules, isTraceOn, loadRules, setDerivationLogging, setParameter, setTraceOn, supportsProperty, tablePredicate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULE_FILE
public static final java.lang.String RULE_FILE
- The location of the OWL rule definitions on the class path
- See Also:
- Constant Field Values
RDFSForwardRuleReasoner
public RDFSForwardRuleReasoner(ReasonerFactory parent)
- Constructor
loadRules
public static java.util.List<Rule> loadRules()
- Return the RDFS rule set, loading it in if necessary
getGraphCapabilities
public Capabilities getGraphCapabilities()
- Return the Jena Graph Capabilties that the inference graphs generated
by this reasoner are expected to conform to.
- Specified by:
getGraphCapabilities
in interface Reasoner
- Overrides:
getGraphCapabilities
in class FBRuleReasoner
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP