public class RDFSRuleReasoner extends GenericRuleReasoner
GenericRuleReasoner.RuleMode| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RULES
Constant: used to indicate default RDFS processing level
|
static String |
FULL_RULES
Constant: used to indicate full RDFS processing level
|
static String |
SIMPLE_RULES
Constant: used to indicate minimal RDFS processing level
|
BACKWARD, filterFunctors, FORWARD, FORWARD_RETE, HYBRID| Constructor and Description |
|---|
RDFSRuleReasoner(ReasonerFactory parent)
Constructor
|
RDFSRuleReasoner(ReasonerFactory factory,
Resource configuration)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
InfGraph |
bind(Graph data)
Attach the reasoner to a set of RDF data to process.
|
Reasoner |
bindSchema(Graph tbox)
Precompute the implications of a schema graph.
|
Capabilities |
getGraphCapabilities()
Return the Jena Graph Capabilties that the inference graphs generated
by this reasoner are expected to conform to.
|
static List<Rule> |
loadRulesLevel(String level)
Return the RDFS rule set, loading it in if necessary.
|
addPreprocessingHook, removePreprocessingHook, setFunctorFiltering, setMode, setOWLTranslation, setRules, setTransitiveClosureCachingaddDescription, addRules, bindSchema, getBoundSchema, getReasonerCapabilities, getRules, isTraceOn, loadRules, setDerivationLogging, setParameter, setTraceOn, supportsProperty, tablePredicatepublic static final String DEFAULT_RULES
public static final String FULL_RULES
public static final String SIMPLE_RULES
public RDFSRuleReasoner(ReasonerFactory parent)
public RDFSRuleReasoner(ReasonerFactory factory, Resource configuration)
factory - the parent reasoner factory which is consulted to answer capability questionsconfiguration - RDF information to configure the rule set and mode, can be nullpublic InfGraph bind(Graph data) throws ReasonerException
bind in interface Reasonerbind in class GenericRuleReasonerdata - the RDF data to be processed, some reasoners may restrict
the range of RDF which is legal here (e.g. syntactic restrictions in OWL).ReasonerException - if the data is ill-formed according to the
constraints imposed by this reasoner.public Reasoner bindSchema(Graph tbox) throws ReasonerException
bindSchema in interface ReasonerbindSchema in class GenericRuleReasonertbox - the ontology axioms or rule set encoded in RDFReasonerException - if the reasoner cannot be
bound to a rule set in this way, for example if the underlying engine
can only accept a single rule set in this way and one rule set has
already been bound in of if the ruleset is illformed.public static List<Rule> loadRulesLevel(String level)
level - a string defining the processing level requiredpublic Capabilities getGraphCapabilities()
getGraphCapabilities in interface ReasonergetGraphCapabilities in class FBRuleReasonerLicenced under the Apache License, Version 2.0